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