File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ReflectionAnalyzers.Tests/Helpers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class GetXTests
1616 [ TestCase ( "GetType().GetMethod(nameof(this.ToString))" , "Foo" , null ) ]
1717 [ TestCase ( "typeof(string).Assembly.GetType(\" System.Int32\" ).GetMethod(nameof(this.ToString))" , "Int32" , null ) ]
1818 [ TestCase ( "typeof(IEnumerable<int>).Assembly.GetType(\" System.Collections.Generic.IEnumerable`1\" ).GetMethod(nameof(this.ToString))" , "IEnumerable`1" , null ) ]
19- public void TryGetTargetTypeExpression ( string call , string expected , string expectedInstance )
19+ public void TryGetTypeFromExpression ( string call , string expected , string expectedInstance )
2020 {
2121 var code = @"
2222namespace RoslynSandbox
@@ -56,7 +56,7 @@ public Foo(Foo foo)
5656 [ TestCase ( "GetType()" , "Foo" , null ) ]
5757 [ TestCase ( "typeof(string).Assembly.GetType(\" System.Int32\" )" , "Int32" , null ) ]
5858 [ TestCase ( "typeof(IEnumerable<int>).Assembly.GetType(\" System.Collections.Generic.IEnumerable`1\" )" , "IEnumerable`1" , null ) ]
59- public void TryGetTargetTypeLocal ( string typeExpression , string expected , string expectedInstance )
59+ public void TryGetTypeFromLocal ( string typeExpression , string expected , string expectedInstance )
6060 {
6161 var code = @"
6262namespace RoslynSandbox
You can’t perform that action at this time.
0 commit comments