6 references to ERR_ConstraintIsStaticClass
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Constraints.cs (1)
605
Error(diagnostics, ErrorCode.
ERR_ConstraintIsStaticClass
, syntax, type);
Errors\ErrorFacts.cs (1)
1065
or ErrorCode.
ERR_ConstraintIsStaticClass
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\GenericConstraintTests.cs (2)
2138
Diagnostic(ErrorCode.
ERR_ConstraintIsStaticClass
, "S").WithArguments("S").WithLocation(5, 30),
2141
Diagnostic(ErrorCode.
ERR_ConstraintIsStaticClass
, "S").WithArguments("S").WithLocation(6, 30),
Symbols\SymbolErrorTests.cs (2)
13446
Diagnostic(ErrorCode.
ERR_ConstraintIsStaticClass
, "A").WithArguments("A").WithLocation(4, 15),
13448
Diagnostic(ErrorCode.
ERR_ConstraintIsStaticClass
, "B.C").WithArguments("B.C").WithLocation(5, 15));