6 references to ERR_ConstraintIsStaticClass
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Constraints.cs (1)
563
Error(diagnostics, ErrorCode.
ERR_ConstraintIsStaticClass
, syntax, type);
Errors\ErrorFacts.cs (1)
1003
case ErrorCode.
ERR_ConstraintIsStaticClass
:
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\GenericConstraintTests.cs (2)
2136
Diagnostic(ErrorCode.
ERR_ConstraintIsStaticClass
, "S").WithArguments("S").WithLocation(5, 30),
2139
Diagnostic(ErrorCode.
ERR_ConstraintIsStaticClass
, "S").WithArguments("S").WithLocation(6, 30),
Symbols\SymbolErrorTests.cs (2)
13298
Diagnostic(ErrorCode.
ERR_ConstraintIsStaticClass
, "A").WithArguments("A").WithLocation(4, 15),
13300
Diagnostic(ErrorCode.
ERR_ConstraintIsStaticClass
, "B.C").WithArguments("B.C").WithLocation(5, 15));