28 references to ERR_OverrideDefaultConstraintNotSatisfied
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2093
or ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
695
report = ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (26)
Semantics\NullableReferenceTypesTests.cs (26)
150295
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B1.F2<T>(T?)", "T", "T", "A.F2<T>(T?)").WithLocation(15, 31),
150423
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F2<T>()", "T", "T", "A.F2<T>()").WithLocation(5, 27),
150426
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F3<T>()", "T", "T", "A.F3<T>()").WithLocation(6, 27),
150432
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F4<T>()", "T", "T", "A.F4<T>()").WithLocation(7, 27),
150438
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "T").WithArguments("B.F6<T>()", "T", "T", "A.F6<T>()").WithLocation(9, 27));
150709
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B3.F2<U>(object)", "U", "U", "A<object>.F2<U>(object)").WithLocation(21, 29));
151087
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5<T>.F1<U>(U)", "U", "U", "A<T?>.F1<U>(U)").WithLocation(24, 29),
151090
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5<T>.F2<U>(U)", "U", "U", "A<T?>.F2<U>(U)").WithLocation(25, 29),
151093
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6<T>.F1<U>(U)", "U", "U", "A<T?>.F1<U>(U)").WithLocation(29, 29),
151096
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6<T>.F2<U>(U)", "U", "U", "A<T?>.F2<U>(U)").WithLocation(30, 29));
151256
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F1<U>(U)", "U", "U", "A<string?>.F1<U>(U)").WithLocation(24, 29),
151262
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F2<U>(U)", "U", "U", "A<string?>.F2<U>(U?)").WithLocation(25, 29),
151265
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F1<U>(U?)", "U", "U", "A<string?>.F1<U>(U)").WithLocation(29, 29),
151268
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F2<U>(U?)", "U", "U", "A<string?>.F2<U>(U?)").WithLocation(30, 29));
151342
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F1<U>(U)", "U", "U", "A<int?>.F1<U>(U)").WithLocation(24, 29),
151345
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B5.F2<U>(U)", "U", "U", "A<int?>.F2<U>(U)").WithLocation(25, 29),
151348
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F1<U>(U)", "U", "U", "A<int?>.F1<U>(U)").WithLocation(29, 29),
151351
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("B6.F2<U>(U)", "U", "U", "A<int?>.F2<U>(U)").WithLocation(30, 29));
151629
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<string?>.F1<U>(U)", "U", "U", "I<string?>.F1<U>(U)").WithLocation(24, 24),
151635
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<string?>.F2<U>(U)", "U", "U", "I<string?>.F2<U>(U?)").WithLocation(25, 24),
151638
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<string?>.F1<U>(U?)", "U", "U", "I<string?>.F1<U>(U)").WithLocation(29, 24),
151641
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<string?>.F2<U>(U?)", "U", "U", "I<string?>.F2<U>(U?)").WithLocation(30, 24));
151715
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<int?>.F1<U>(U)", "U", "U", "I<int?>.F1<U>(U)").WithLocation(24, 21),
151718
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C5.I<int?>.F2<U>(U)", "U", "U", "I<int?>.F2<U>(U)").WithLocation(25, 21),
151721
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<int?>.F1<U>(U)", "U", "U", "I<int?>.F1<U>(U)").WithLocation(29, 21),
151724
Diagnostic(ErrorCode.
ERR_OverrideDefaultConstraintNotSatisfied
, "U").WithArguments("C6.I<int?>.F2<U>(U)", "U", "U", "I<int?>.F2<U>(U)").WithLocation(30, 21));