28 references to ERR_OverrideDefaultConstraintNotSatisfied
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2038case ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied:
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
114report = ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (26)
Semantics\NullableReferenceTypesTests.cs (26)
145812Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "T").WithArguments("B1.F2<T>(T?)", "T", "T", "A.F2<T>(T?)").WithLocation(15, 31), 145940Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "T").WithArguments("B.F2<T>()", "T", "T", "A.F2<T>()").WithLocation(5, 27), 145943Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "T").WithArguments("B.F3<T>()", "T", "T", "A.F3<T>()").WithLocation(6, 27), 145949Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "T").WithArguments("B.F4<T>()", "T", "T", "A.F4<T>()").WithLocation(7, 27), 145955Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "T").WithArguments("B.F6<T>()", "T", "T", "A.F6<T>()").WithLocation(9, 27)); 146226Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B3.F2<U>(object)", "U", "U", "A<object>.F2<U>(object)").WithLocation(21, 29)); 146604Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B5<T>.F1<U>(U)", "U", "U", "A<T?>.F1<U>(U)").WithLocation(24, 29), 146607Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B5<T>.F2<U>(U)", "U", "U", "A<T?>.F2<U>(U)").WithLocation(25, 29), 146610Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B6<T>.F1<U>(U)", "U", "U", "A<T?>.F1<U>(U)").WithLocation(29, 29), 146613Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B6<T>.F2<U>(U)", "U", "U", "A<T?>.F2<U>(U)").WithLocation(30, 29)); 146773Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B5.F1<U>(U)", "U", "U", "A<string?>.F1<U>(U)").WithLocation(24, 29), 146779Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B5.F2<U>(U)", "U", "U", "A<string?>.F2<U>(U?)").WithLocation(25, 29), 146782Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B6.F1<U>(U?)", "U", "U", "A<string?>.F1<U>(U)").WithLocation(29, 29), 146785Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B6.F2<U>(U?)", "U", "U", "A<string?>.F2<U>(U?)").WithLocation(30, 29)); 146859Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B5.F1<U>(U)", "U", "U", "A<int?>.F1<U>(U)").WithLocation(24, 29), 146862Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B5.F2<U>(U)", "U", "U", "A<int?>.F2<U>(U)").WithLocation(25, 29), 146865Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B6.F1<U>(U)", "U", "U", "A<int?>.F1<U>(U)").WithLocation(29, 29), 146868Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("B6.F2<U>(U)", "U", "U", "A<int?>.F2<U>(U)").WithLocation(30, 29)); 147146Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("C5.I<string?>.F1<U>(U)", "U", "U", "I<string?>.F1<U>(U)").WithLocation(24, 24), 147152Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("C5.I<string?>.F2<U>(U)", "U", "U", "I<string?>.F2<U>(U?)").WithLocation(25, 24), 147155Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("C6.I<string?>.F1<U>(U?)", "U", "U", "I<string?>.F1<U>(U)").WithLocation(29, 24), 147158Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("C6.I<string?>.F2<U>(U?)", "U", "U", "I<string?>.F2<U>(U?)").WithLocation(30, 24)); 147232Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("C5.I<int?>.F1<U>(U)", "U", "U", "I<int?>.F1<U>(U)").WithLocation(24, 21), 147235Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("C5.I<int?>.F2<U>(U)", "U", "U", "I<int?>.F2<U>(U)").WithLocation(25, 21), 147238Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("C6.I<int?>.F1<U>(U)", "U", "U", "I<int?>.F1<U>(U)").WithLocation(29, 21), 147241Diagnostic(ErrorCode.ERR_OverrideDefaultConstraintNotSatisfied, "U").WithArguments("C6.I<int?>.F2<U>(U)", "U", "U", "I<int?>.F2<U>(U)").WithLocation(30, 21));