66 references to ERR_LookupInTypeVariable
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Expressions.cs (1)
7999
Error(diagnostics, ErrorCode.
ERR_LookupInTypeVariable
, boundLeft.Syntax, leftType);
Binder\Binder_Symbols.cs (1)
1338
var diagnosticInfo = new CSDiagnosticInfo(ErrorCode.
ERR_LookupInTypeVariable
, qualifierOpt);
Errors\ErrorFacts.cs (1)
1056
or ErrorCode.
ERR_LookupInTypeVariable
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
RefStructInterfacesTests.cs (1)
6160
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.C1").WithArguments("T").WithLocation(101, 17)
Semantics\ExtensionTests.cs (5)
13211
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(5, 9));
29779
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(5, 20));
36623
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(9, 13));
38951
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(7, 13),
38954
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(8, 13));
Semantics\ExtensionTests2.cs (1)
2265
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(8, 42));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
Semantics\LocalFunctionTests.cs (5)
7927
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(13, 20),
7930
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(17, 16)
8777
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(2, 5)
8867
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(2, 12)
8947
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(2, 5)
Semantics\SemanticErrorTests.cs (11)
2566
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "U").WithArguments("U").WithLocation(10, 9),
2569
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(10, 27),
2572
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(11, 9),
11803
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11806
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11809
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11812
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.C<object>").WithArguments("T"),
11815
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.C<object>").WithArguments("T"),
11821
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11824
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.C<A>").WithArguments("T"),
11827
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T")
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (40)
Symbols\IndexerTests.cs (2)
1962
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(18, 18),
1965
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(24, 18));
Symbols\StaticAbstractMembersInInterfacesTests.cs (38)
8256
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
8259
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
8262
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
8327
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 20),
8330
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 20),
8333
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 20),
12746
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 13),
12749
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 13),
12752
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 13),
12837
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
12840
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
12843
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
12937
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
12940
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
12943
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
13011
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 20),
13014
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 20),
13017
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 20),
13713
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
13716
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
13719
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
13810
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
13813
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
13816
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
13881
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 20),
13884
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 20),
13887
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 20),
14312
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(6, 9),
14315
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(11, 23)
14524
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 28),
14527
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 28),
14530
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 28),
14942
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 31),
14945
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 31),
14948
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 31),
15211
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 31),
15214
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 31),
15217
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 31),