12 references to ERR_BadVisBound
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Constraints.cs (1)
414
diagnostics.Add(ErrorCode.
ERR_BadVisBound
, location, containingSymbol, constraintType.Type);
Errors\ErrorFacts.cs (1)
991
case ErrorCode.
ERR_BadVisBound
:
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Symbols\SymbolErrorTests.cs (10)
12848
Diagnostic(ErrorCode.
ERR_BadVisBound
, "A<T>").WithArguments("C1.D<T>", "C1.A<T>").WithLocation(5, 43),
12851
Diagnostic(ErrorCode.
ERR_BadVisBound
, "I<T>").WithArguments("C1.D<T>", "C1.I<T>").WithLocation(5, 49),
12854
Diagnostic(ErrorCode.
ERR_BadVisBound
, "A<I<T>>").WithArguments("C2.M<T, U, V>()", "C1.A<C1.I<T>>").WithLocation(14, 19),
12857
Diagnostic(ErrorCode.
ERR_BadVisBound
, "I<I<U>>").WithArguments("C2.M<T, U, V>()", "C1.I<C1.I<U>>").WithLocation(15, 19),
12860
Diagnostic(ErrorCode.
ERR_BadVisBound
, "I<A<T>>").WithArguments("C2.S<T, U, V>", "C1.I<C1.A<T>>").WithLocation(10, 19),
12863
Diagnostic(ErrorCode.
ERR_BadVisBound
, "A<A<V>>").WithArguments("C2.S<T, U, V>", "C1.A<C1.A<V>>").WithLocation(12, 19));
12886
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IB<U, IA<T>>").WithArguments("A.B<T, U>", "IB<U, IA<T>>").WithLocation(6, 44),
12889
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IB<U, IA<T>>").WithArguments("A.B<T, U>", "IB<U, IA<T>>").WithLocation(7, 44),
12892
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IA<T>").WithArguments("C.M<T>()", "IA<T>").WithLocation(11, 42),
12895
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IA<T>").WithArguments("C.M<T>()", "IA<T>").WithLocation(12, 42));