28 references to ERR_OverrideDefaultConstraintNotSatisfied
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2094
or ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
697
report = ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (26)
Semantics\NullableReferenceTypesTests.cs (26)
150357
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B1.F2<T>(T?)", "T", "T", "A.F2<T>(T?)").WithLocation(15, 31),
150485
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F2<T>()", "T", "T", "A.F2<T>()").WithLocation(5, 27),
150488
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F3<T>()", "T", "T", "A.F3<T>()").WithLocation(6, 27),
150494
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F4<T>()", "T", "T", "A.F4<T>()").WithLocation(7, 27),
150500
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F6<T>()", "T", "T", "A.F6<T>()").WithLocation(9, 27));
150771
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B3.F2<U>(object)", "U", "U", "A<object>.F2<U>(object)").WithLocation(21, 29));
151149
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5<T>.F1<U>(U)", "U", "U", "A<T?>.F1<U>(U)").WithLocation(24, 29),
151152
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5<T>.F2<U>(U)", "U", "U", "A<T?>.F2<U>(U)").WithLocation(25, 29),
151155
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6<T>.F1<U>(U)", "U", "U", "A<T?>.F1<U>(U)").WithLocation(29, 29),
151158
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6<T>.F2<U>(U)", "U", "U", "A<T?>.F2<U>(U)").WithLocation(30, 29));
151318
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F1<U>(U)", "U", "U", "A<string?>.F1<U>(U)").WithLocation(24, 29),
151324
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F2<U>(U)", "U", "U", "A<string?>.F2<U>(U?)").WithLocation(25, 29),
151327
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F1<U>(U?)", "U", "U", "A<string?>.F1<U>(U)").WithLocation(29, 29),
151330
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F2<U>(U?)", "U", "U", "A<string?>.F2<U>(U?)").WithLocation(30, 29));
151404
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F1<U>(U)", "U", "U", "A<int?>.F1<U>(U)").WithLocation(24, 29),
151407
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F2<U>(U)", "U", "U", "A<int?>.F2<U>(U)").WithLocation(25, 29),
151410
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F1<U>(U)", "U", "U", "A<int?>.F1<U>(U)").WithLocation(29, 29),
151413
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F2<U>(U)", "U", "U", "A<int?>.F2<U>(U)").WithLocation(30, 29));
151691
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<string?>.F1<U>(U)", "U", "U", "I<string?>.F1<U>(U)").WithLocation(24, 24),
151697
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<string?>.F2<U>(U)", "U", "U", "I<string?>.F2<U>(U?)").WithLocation(25, 24),
151700
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<string?>.F1<U>(U?)", "U", "U", "I<string?>.F1<U>(U)").WithLocation(29, 24),
151703
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<string?>.F2<U>(U?)", "U", "U", "I<string?>.F2<U>(U?)").WithLocation(30, 24));
151777
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<int?>.F1<U>(U)", "U", "U", "I<int?>.F1<U>(U)").WithLocation(24, 21),
151780
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<int?>.F2<U>(U)", "U", "U", "I<int?>.F2<U>(U)").WithLocation(25, 21),
151783
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<int?>.F1<U>(U)", "U", "U", "I<int?>.F1<U>(U)").WithLocation(29, 21),
151786
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<int?>.F2<U>(U)", "U", "U", "I<int?>.F2<U>(U)").WithLocation(30, 21));