59 references to ERR_LookupInTypeVariable
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Expressions.cs (1)
6782
Error(diagnostics, ErrorCode.
ERR_LookupInTypeVariable
, boundLeft.Syntax, leftType);
Binder\Binder_Symbols.cs (1)
1327
var diagnosticInfo = new CSDiagnosticInfo(ErrorCode.
ERR_LookupInTypeVariable
, qualifierOpt);
Errors\ErrorFacts.cs (1)
992
case ErrorCode.
ERR_LookupInTypeVariable
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
Semantics\LocalFunctionTests.cs (5)
7540
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(13, 20),
7543
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(17, 16)
8390
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(2, 5)
8480
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(2, 12)
8560
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "TParameter").WithArguments("TParameter").WithLocation(2, 5)
Semantics\SemanticErrorTests.cs (11)
2568
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "U").WithArguments("U").WithLocation(10, 9),
2571
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(10, 27),
2574
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(11, 9),
11754
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11757
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11760
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11763
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.C<object>").WithArguments("T"),
11766
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.C<object>").WithArguments("T"),
11772
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T"),
11775
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.C<A>").WithArguments("T"),
11778
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T.B").WithArguments("T")
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (40)
Symbols\IndexerTests.cs (2)
1960
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(18, 18),
1963
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(24, 18));
Symbols\StaticAbstractMembersInInterfacesTests.cs (38)
8274
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
8277
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
8280
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
8345
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 20),
8348
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 20),
8351
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 20),
12842
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 13),
12845
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 13),
12848
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 13),
12933
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
12936
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
12939
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
13033
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
13036
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
13039
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
13119
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 20),
13122
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 20),
13125
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 20),
13821
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
13824
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
13827
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
13918
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 9),
13921
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 9),
13924
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 9),
14001
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 20),
14004
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 20),
14007
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 20),
14432
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(6, 9),
14435
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(11, 23)
14644
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 28),
14647
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 28),
14650
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 28),
15062
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 31),
15065
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 31),
15068
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 31),
15331
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(35, 31),
15334
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(36, 31),
15337
Diagnostic(ErrorCode.
ERR_LookupInTypeVariable
, "T").WithArguments("T").WithLocation(37, 31),