27 references to ERR_SealedNonOverride
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
747
case ErrorCode.
ERR_SealedNonOverride
:
Symbols\Source\SourceEventSymbol.cs (1)
547
diagnostics.Add(ErrorCode.
ERR_SealedNonOverride
, location, this);
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
359
diagnostics.Add(ErrorCode.
ERR_SealedNonOverride
, location, this);
Symbols\Source\SourcePropertySymbolBase.cs (1)
868
diagnostics.Add(ErrorCode.
ERR_SealedNonOverride
, location, this);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\BindingTests.cs (1)
1886
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M3").WithArguments("C.M3<T>()").WithLocation(9, 17),
Semantics\TopLevelStatementsTests.cs (1)
4380
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "localD").WithArguments("<invalid-global-code>.localD()").WithLocation(8, 13),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (21)
Symbols\DefaultInterfaceImplementationTests.cs (12)
8914
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M3").WithArguments("I1.M3()").WithLocation(10, 25),
10017
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M2").WithArguments("I1.M2()").WithLocation(9, 26),
10020
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M3").WithArguments("I1.M3()").WithLocation(11, 25),
14533
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P3").WithArguments("I1.P3").WithLocation(8, 24),
16104
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P2").WithArguments("I2.P2").WithLocation(8, 25),
16107
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P3").WithArguments("I3.P3").WithLocation(12, 24),
22456
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "this").WithArguments("I1.this[short]").WithLocation(8, 24),
23407
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "this").WithArguments("I2.this[int]").WithLocation(8, 25),
23410
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "this").WithArguments("I3.this[int]").WithLocation(12, 24),
28029
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P3").WithArguments("I1.P3").WithLocation(8, 40),
29487
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P2").WithArguments("I2.P2").WithLocation(8, 41),
29493
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P3").WithArguments("I3.P3").WithLocation(12, 40),
Symbols\StaticAbstractMembersInInterfacesTests.cs (6)
5158
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M01").WithArguments("C1.M01()").WithLocation(4, 24),
5161
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P01").WithArguments("C1.P01").WithLocation(5, 24),
5164
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "E01").WithArguments("C1.E01").WithLocation(6, 39),
5275
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M01").WithArguments("C1.M01()").WithLocation(4, 24),
5278
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P01").WithArguments("C1.P01").WithLocation(5, 24),
5281
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "E01").WithArguments("C1.E01").WithLocation(6, 39),
Symbols\SymbolErrorTests.cs (3)
3208
new ErrorDescription { Code = (int)ErrorCode.
ERR_SealedNonOverride
, Line = 12, Column = 24 },
3249
new ErrorDescription { Code = (int)ErrorCode.
ERR_SealedNonOverride
, Line = 3, Column = 16 });
3264
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "E").WithArguments("B.E"),