15 references to ERR_OverrideRefConstraintNotSatisfied
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2004
or ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
663
report = ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\InheritanceBindingTests.cs (6)
9499
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("C.I.Goo<T>(T)", "T", "U", "I.Goo<U>(U)").WithLocation(9, 16)
9520
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("C.I.Goo<T>(T)", "T", "T", "I.Goo<T>(T)").WithLocation(9, 16)
9542
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("C.I.Goo<T>(T)", "T", "T", "I.Goo<T>(T)").WithLocation(10, 16)
9563
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("Derived.Goo<T>(T)", "T", "T", "Base.Goo<T>(T)").WithLocation(9, 30)
9584
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("Derived.Goo<T>(T)", "T", "T", "Base.Goo<T>(T)").WithLocation(9, 30)
9606
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("Derived.Goo<T>(T)", "T", "T", "Base.Goo<T>(T)").WithLocation(10, 30)
Semantics\NullableReferenceTypesTests.cs (7)
150404
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("B.F1<T>()", "T", "T", "A.F1<T>()").WithLocation(4, 27),
150410
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("B.F4<T>()", "T", "T", "A.F4<T>()").WithLocation(7, 27),
150413
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("B.F5<T>()", "T", "T", "A.F5<T>()").WithLocation(8, 27),
150419
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("B.F6<T>()", "T", "T", "A.F6<T>()").WithLocation(9, 27),
150422
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("B.F7<T>()", "T", "T", "A.F7<T>()").WithLocation(10, 27),
150425
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "T").WithArguments("B.F8<T>()", "T", "T", "A.F8<T>()").WithLocation(11, 27));
150644
Diagnostic(ErrorCode.
ERR_OverrideRefConstraintNotSatisfied
, "U").WithArguments("B2.F1<U>(object)", "U", "U", "A<object>.F1<U>(object)").WithLocation(15, 29),