13 references to ERR_ClassBoundNotFirst
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Constraints.cs (1)
514
Error(diagnostics, ErrorCode.
ERR_ClassBoundNotFirst
, syntax, type.Type);
Errors\ErrorFacts.cs (1)
865
or ErrorCode.
ERR_ClassBoundNotFirst
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Semantics\RecordTests.cs (4)
25949
Diagnostic(ErrorCode.
ERR_ClassBoundNotFirst
, "A").WithArguments("A").WithLocation(5, 18),
25951
Diagnostic(ErrorCode.
ERR_ClassBoundNotFirst
, "B").WithArguments("B").WithLocation(6, 18),
25953
Diagnostic(ErrorCode.
ERR_ClassBoundNotFirst
, "A").WithArguments("A").WithLocation(8, 30),
25955
Diagnostic(ErrorCode.
ERR_ClassBoundNotFirst
, "B").WithArguments("B").WithLocation(8, 33));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Symbols\GenericConstraintTests.cs (3)
2147
Diagnostic(ErrorCode.
ERR_ClassBoundNotFirst
, "A").WithArguments("A").WithLocation(8, 33),
2150
Diagnostic(ErrorCode.
ERR_ClassBoundNotFirst
, "A").WithArguments("A").WithLocation(9, 33),
2681
Diagnostic(ErrorCode.
ERR_ClassBoundNotFirst
, "A").WithArguments("A").WithLocation(13, 30));
Symbols\SymbolErrorTests.cs (4)
4798
Diagnostic(ErrorCode.
ERR_ClassBoundNotFirst
, "A").WithArguments("A").WithLocation(5, 18),
4800
Diagnostic(ErrorCode.
ERR_ClassBoundNotFirst
, "B").WithArguments("B").WithLocation(6, 18),
4802
Diagnostic(ErrorCode.
ERR_ClassBoundNotFirst
, "A").WithArguments("A").WithLocation(8, 30),
4804
Diagnostic(ErrorCode.
ERR_ClassBoundNotFirst
, "B").WithArguments("B").WithLocation(8, 33));