13 references to ERR_ClassBoundNotFirst
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Constraints.cs (1)
472Error(diagnostics, ErrorCode.ERR_ClassBoundNotFirst, syntax, type.Type);
Errors\ErrorFacts.cs (1)
803case ErrorCode.ERR_ClassBoundNotFirst:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\RecordTests.cs (4)
25855Diagnostic(ErrorCode.ERR_ClassBoundNotFirst, "A").WithArguments("A").WithLocation(5, 18), 25857Diagnostic(ErrorCode.ERR_ClassBoundNotFirst, "B").WithArguments("B").WithLocation(6, 18), 25859Diagnostic(ErrorCode.ERR_ClassBoundNotFirst, "A").WithArguments("A").WithLocation(8, 30), 25861Diagnostic(ErrorCode.ERR_ClassBoundNotFirst, "B").WithArguments("B").WithLocation(8, 33));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Symbols\GenericConstraintTests.cs (3)
2145Diagnostic(ErrorCode.ERR_ClassBoundNotFirst, "A").WithArguments("A").WithLocation(8, 33), 2148Diagnostic(ErrorCode.ERR_ClassBoundNotFirst, "A").WithArguments("A").WithLocation(9, 33), 2679Diagnostic(ErrorCode.ERR_ClassBoundNotFirst, "A").WithArguments("A").WithLocation(13, 30));
Symbols\SymbolErrorTests.cs (4)
4722Diagnostic(ErrorCode.ERR_ClassBoundNotFirst, "A").WithArguments("A").WithLocation(5, 18), 4724Diagnostic(ErrorCode.ERR_ClassBoundNotFirst, "B").WithArguments("B").WithLocation(6, 18), 4726Diagnostic(ErrorCode.ERR_ClassBoundNotFirst, "A").WithArguments("A").WithLocation(8, 30), 4728Diagnostic(ErrorCode.ERR_ClassBoundNotFirst, "B").WithArguments("B").WithLocation(8, 33));