65 references to ERR_LookupInTypeVariable
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Expressions.cs (1)
7903
Error(diagnostics, ErrorCode.
ERR_LookupInTypeVariable
, boundLeft.Syntax, leftType);
Binder\Binder_Symbols.cs (1)
1337
var diagnosticInfo = new CSDiagnosticInfo(ErrorCode.
ERR_LookupInTypeVariable
, qualifierOpt);
Errors\ErrorFacts.cs (1)
1054
or ErrorCode.
ERR_LookupInTypeVariable
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
RefStructInterfacesTests.cs (1)
6160
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.C1").WithArguments("T").WithLocation(101, 17)
Semantics\ExtensionTests.cs (4)
12177
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(5, 9));
25397
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(5, 20));
33779
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(7, 13),
33782
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(8, 13));
Semantics\ExtensionTests2.cs (1)
2108
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(8, 42));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
Semantics\LocalFunctionTests.cs (5)
7624
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(13, 20),
7627
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(17, 16)
8474
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(2, 5)
8564
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(2, 12)
8644
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),
11758
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11761
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11764
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11767
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.C<object>").WithArguments("T"),
11770
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.C<object>").WithArguments("T"),
11776
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11779
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.C<A>").WithArguments("T"),
11782
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),
12824
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 13),
12827
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 13),
12830
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 13),
12915
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
12918
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
12921
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
13015
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
13018
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
13021
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
13089
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 20),
13092
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 20),
13095
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 20),
13791
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
13794
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
13797
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
13888
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
13891
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
13894
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
13959
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 20),
13962
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 20),
13965
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 20),
14390
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(6, 9),
14393
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(11, 23)
14602
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 28),
14605
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 28),
14608
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 28),
15020
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 31),
15023
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 31),
15026
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 31),
15289
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 31),
15292
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 31),
15295
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 31),