Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-293065: Operator - resolve error

$
0
0
Reporter Sergey Coox (coox) Sergey Coox (coox)
Created Apr 6, 2012 12:47:17 PM
Updated Apr 6, 2012 4:22:52 PM
Resolved Apr 6, 2012 4:22:07 PM
Priority Critical
Type Bug
Fix versions 7.0
State Fixed
Assignee Olga Lobacheva (olka)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
using System;

namespace ClassLibrary1
{
  public class Class2
  {
    protected void Date_Changed(object o, EventArgs e)
    {
      DateTime selectedDate = DateTime.Now;

      for (int index = 0; index < 7; index++)
      {
        int addedDays = (int)(index - selectedDate.DayOfWeek); // here
      }
    }	     
  }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>