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)
1054
or ErrorCode.
ERR_BadVisBound
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Symbols\SymbolErrorTests.cs (10)
13007
Diagnostic(ErrorCode.
ERR_BadVisBound
, "A<T>").WithArguments("C1.D<T>", "C1.A<T>").WithLocation(5, 43),
13010
Diagnostic(ErrorCode.
ERR_BadVisBound
, "I<T>").WithArguments("C1.D<T>", "C1.I<T>").WithLocation(5, 49),
13013
Diagnostic(ErrorCode.
ERR_BadVisBound
, "A<I<T>>").WithArguments("C2.M<T, U, V>()", "C1.A<C1.I<T>>").WithLocation(14, 19),
13016
Diagnostic(ErrorCode.
ERR_BadVisBound
, "I<I<U>>").WithArguments("C2.M<T, U, V>()", "C1.I<C1.I<U>>").WithLocation(15, 19),
13019
Diagnostic(ErrorCode.
ERR_BadVisBound
, "I<A<T>>").WithArguments("C2.S<T, U, V>", "C1.I<C1.A<T>>").WithLocation(10, 19),
13022
Diagnostic(ErrorCode.
ERR_BadVisBound
, "A<A<V>>").WithArguments("C2.S<T, U, V>", "C1.A<C1.A<V>>").WithLocation(12, 19));
13045
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IB<U, IA<T>>").WithArguments("A.B<T, U>", "IB<U, IA<T>>").WithLocation(6, 44),
13048
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IB<U, IA<T>>").WithArguments("A.B<T, U>", "IB<U, IA<T>>").WithLocation(7, 44),
13051
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IA<T>").WithArguments("C.M<T>()", "IA<T>").WithLocation(11, 42),
13054
Diagnostic(ErrorCode.
ERR_BadVisBound
, "IA<T>").WithArguments("C.M<T>()", "IA<T>").WithLocation(12, 42));