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