16 references to ERR_OverrideValConstraintNotSatisfied
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2005
or ErrorCode.
ERR_OverrideValConstraintNotSatisfied
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
670
report = ErrorCode.
ERR_OverrideValConstraintNotSatisfied
;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\InheritanceBindingTests.cs (8)
9371
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("C.I.Goo<T>(T)", "T", "U", "I.Goo<U>(U)").WithLocation(9, 16)
9392
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("C.I.Goo<T>(T)", "T", "T", "I.Goo<T>(T)").WithLocation(9, 16)
9414
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("C.I.Goo<T>(T)", "T", "T", "I.Goo<T>(T)").WithLocation(10, 16)
9435
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("Derived.Goo<T>(T)", "T", "T", "Base.Goo<T>(T)").WithLocation(9, 30)
9456
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("Derived.Goo<T>(T)", "T", "T", "Base.Goo<T>(T)").WithLocation(9, 30)
9478
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("Derived.Goo<T>(T)", "T", "T", "Base.Goo<T>(T)").WithLocation(10, 30)
9628
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("Derived.Goo<T>(T)", "T", "T", "Base.Goo<T>(T)").WithLocation(10, 30)
9649
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("Derived.Goo<T>(T)", "T", "T", "Base<int?>.Goo<T>(T)").WithLocation(9, 30)
Semantics\NullableReferenceTypesTests.cs (6)
150450
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("B.F1<T>()", "T", "T", "A.F1<T>()").WithLocation(4, 27),
150459
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("B.F2<T>()", "T", "T", "A.F2<T>()").WithLocation(5, 27),
150468
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("B.F3<T>()", "T", "T", "A.F3<T>()").WithLocation(6, 27),
150477
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("B.F5<T>()", "T", "T", "A.F5<T>()").WithLocation(8, 27),
150486
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("B.F7<T>()", "T", "T", "A.F7<T>()").WithLocation(10, 27),
150495
Diagnostic(ErrorCode.
ERR_OverrideValConstraintNotSatisfied
, "T").WithArguments("B.F8<T>()", "T", "T", "A.F8<T>()").WithLocation(11, 27));