28 references to ERR_OverrideDefaultConstraintNotSatisfied
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2095
or ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
677
report = ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (26)
Semantics\NullableReferenceTypesTests.cs (26)
150242
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B1.F2<T>(T?)", "T", "T", "A.F2<T>(T?)").WithLocation(15, 31),
150370
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F2<T>()", "T", "T", "A.F2<T>()").WithLocation(5, 27),
150373
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F3<T>()", "T", "T", "A.F3<T>()").WithLocation(6, 27),
150379
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F4<T>()", "T", "T", "A.F4<T>()").WithLocation(7, 27),
150385
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F6<T>()", "T", "T", "A.F6<T>()").WithLocation(9, 27));
150656
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B3.F2<U>(object)", "U", "U", "A<object>.F2<U>(object)").WithLocation(21, 29));
151034
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5<T>.F1<U>(U)", "U", "U", "A<T?>.F1<U>(U)").WithLocation(24, 29),
151037
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5<T>.F2<U>(U)", "U", "U", "A<T?>.F2<U>(U)").WithLocation(25, 29),
151040
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6<T>.F1<U>(U)", "U", "U", "A<T?>.F1<U>(U)").WithLocation(29, 29),
151043
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6<T>.F2<U>(U)", "U", "U", "A<T?>.F2<U>(U)").WithLocation(30, 29));
151203
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F1<U>(U)", "U", "U", "A<string?>.F1<U>(U)").WithLocation(24, 29),
151209
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F2<U>(U)", "U", "U", "A<string?>.F2<U>(U?)").WithLocation(25, 29),
151212
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F1<U>(U?)", "U", "U", "A<string?>.F1<U>(U)").WithLocation(29, 29),
151215
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F2<U>(U?)", "U", "U", "A<string?>.F2<U>(U?)").WithLocation(30, 29));
151289
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F1<U>(U)", "U", "U", "A<int?>.F1<U>(U)").WithLocation(24, 29),
151292
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F2<U>(U)", "U", "U", "A<int?>.F2<U>(U)").WithLocation(25, 29),
151295
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F1<U>(U)", "U", "U", "A<int?>.F1<U>(U)").WithLocation(29, 29),
151298
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F2<U>(U)", "U", "U", "A<int?>.F2<U>(U)").WithLocation(30, 29));
151576
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<string?>.F1<U>(U)", "U", "U", "I<string?>.F1<U>(U)").WithLocation(24, 24),
151582
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<string?>.F2<U>(U)", "U", "U", "I<string?>.F2<U>(U?)").WithLocation(25, 24),
151585
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<string?>.F1<U>(U?)", "U", "U", "I<string?>.F1<U>(U)").WithLocation(29, 24),
151588
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<string?>.F2<U>(U?)", "U", "U", "I<string?>.F2<U>(U?)").WithLocation(30, 24));
151662
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<int?>.F1<U>(U)", "U", "U", "I<int?>.F1<U>(U)").WithLocation(24, 21),
151665
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<int?>.F2<U>(U)", "U", "U", "I<int?>.F2<U>(U)").WithLocation(25, 21),
151668
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<int?>.F1<U>(U)", "U", "U", "I<int?>.F1<U>(U)").WithLocation(29, 21),
151671
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<int?>.F2<U>(U)", "U", "U", "I<int?>.F2<U>(U)").WithLocation(30, 21));