This is a migrated thread and some comments may be shown as answers.

c# ref parameters

1 Answer 78 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
miksh
Top achievements
Rank 1
Iron
miksh asked on 21 Jan 2010, 06:05 PM
JustCode makes a warning that the parameter is not used for ref parameters, e.g.

public void MyFunction(ref DateTime today)
{
    today = DateTiem.Today;
}

I think that this is not correct. At least there should be an option to toggle this warning with off by default.

1 Answer, 1 is accepted

Sort by
0
Deyan Varchev
Telerik team
answered on 22 Jan 2010, 11:31 AM
Hello Michael,

 Thanks for reporting this issue. We have logged it for fixing and hopefully soon it will be fixed. As a reward for your efforts we have granted you some Telerik points.

If you have any other problems or questions please feel free to contact us again.

All the best,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Code Analysis
Asked by
miksh
Top achievements
Rank 1
Iron
Answers by
Deyan Varchev
Telerik team
Share this question
or