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