Reporter | Oleg Gerovich (oleg.gerovich) |
---|---|
Created | Jan 20, 2010 9:19:04 PM |
Updated | Jan 11, 2012 12:12:54 AM |
Priority | Critical |
Type | Bug |
Fix versions | Next Major |
State | Open |
Assignee | Victor Kropp (victor.kropp) |
Subsystem | Code Analysis |
Affected versions | 5.0, 6.0, 6.1 |
Fixed in build | No Fixed in build |
AllTests.cs
using NUnit.Framework; namespace AllTests { [TestFixture] public class MyTest { private static string[] _myTestData = { "hello", "" }; [Test, TestCaseSource("_myTestData")] public void MyTestFunction(string s) { Assert.IsNotEmpty(s); } } }
_myTestData is grayed out. ReSharper suggests to remove or comment unused variable, which should not be the case.