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
16
16
[ TestCase ( "GetType().GetMethod(nameof(this.ToString))" , "Foo" , null ) ]
17
17
[ TestCase ( "typeof(string).Assembly.GetType(\" System.Int32\" ).GetMethod(nameof(this.ToString))" , "Int32" , null ) ]
18
18
[ 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 )
20
20
{
21
21
var code = @"
22
22
namespace RoslynSandbox
@@ -56,7 +56,7 @@ public Foo(Foo foo)
56
56
[ TestCase ( "GetType()" , "Foo" , null ) ]
57
57
[ TestCase ( "typeof(string).Assembly.GetType(\" System.Int32\" )" , "Int32" , null ) ]
58
58
[ 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 )
60
60
{
61
61
var code = @"
62
62
namespace RoslynSandbox
You can’t perform that action at this time.
0 commit comments