12 references to ERR_BadVisBound
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Constraints.cs (1)
456
diagnostics.Add(ErrorCode.
ERR_BadVisBound
, location, containingSymbol, constraintType.Type);
Errors\ErrorFacts.cs (1)
1053
or ErrorCode.
ERR_BadVisBound
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Symbols\SymbolErrorTests.cs (10)
12996
Diagnostic(ErrorCode.
ERR_BadVisBound
, "A<T>").WithArguments("C1.D<T>", "C1.A<T>").WithLocation(5, 43),
12999
Diagnostic(ErrorCode.
ERR_BadVisBound
, "I<T>").WithArguments("C1.D<T>", "C1.I<T>").WithLocation(5, 49),
13002
Diagnostic(ErrorCode.
ERR_BadVisBound
, "A<I<T>>").WithArguments("C2.M<T, U, V>()", "C1.A<C1.I<T>>").WithLocation(14, 19),
13005
Diagnostic(ErrorCode.
ERR_BadVisBound
, "I<I<U>>").WithArguments("C2.M<T, U, V>()", "C1.I<C1.I<U>>").WithLocation(15, 19),
13008
Diagnostic(ErrorCode.
ERR_BadVisBound
, "I<A<T>>").WithArguments("C2.S<T, U, V>", "C1.I<C1.A<T>>").WithLocation(10, 19),
13011
Diagnostic(ErrorCode.
ERR_BadVisBound
, "A<A<V>>").WithArguments("C2.S<T, U, V>", "C1.A<C1.A<V>>").WithLocation(12, 19));
13034
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IB<U, IA<T>>").WithArguments("A.B<T, U>", "IB<U, IA<T>>").WithLocation(6, 44),
13037
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IB<U, IA<T>>").WithArguments("A.B<T, U>", "IB<U, IA<T>>").WithLocation(7, 44),
13040
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IA<T>").WithArguments("C.M<T>()", "IA<T>").WithLocation(11, 42),
13043
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IA<T>").WithArguments("C.M<T>()", "IA<T>").WithLocation(12, 42));