49 references to ERR_SealedNonOverride
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (1)
808
or ErrorCode.
ERR_SealedNonOverride
Symbols\Source\SourceEventSymbol.cs (1)
610
diagnostics.Add(ErrorCode.
ERR_SealedNonOverride
, location, this);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
861
diagnostics.Add(ErrorCode.
ERR_SealedNonOverride
, location, this);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1101
diagnostics.Add(ErrorCode.
ERR_SealedNonOverride
, location, this);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
148
diagnostics.Add(ErrorCode.
ERR_SealedNonOverride
, location, this);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (17)
PartialEventsAndConstructorsTests.cs (2)
1027
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "E").WithArguments("I.E").WithLocation(5, 41)
2965
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "E").WithArguments("C3.E").WithLocation(16, 50),
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (15)
1862
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator " + op + @"()").WithLocation(4, 32),
1865
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C2.operator checked " + op + @"()").WithLocation(9, 41),
2145
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator " + op + @"()").WithLocation(3, 41),
2148
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator checked " + op + @"()").WithLocation(4, 49)
2283
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator " + op + @"()").WithLocation(3, 40),
2286
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator checked " + op + @"()").WithLocation(4, 48)
10288
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator " + op + @"(int)").WithLocation(4, 32),
10291
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C2.operator checked " + op + @"(int)").WithLocation(9, 41)
10309
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator " + op + @"(int)").WithLocation(4, 32)
10564
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator " + op + @"(int)").WithLocation(3, 41),
10567
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator checked " + op + @"(int)").WithLocation(4, 49)
10596
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator " + op + @"(int)").WithLocation(3, 41)
10741
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator " + op + @"(int)").WithLocation(3, 40),
10744
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator checked " + op + @"(int)").WithLocation(4, 48)
10773
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, op).WithArguments("C1.operator " + op + @"(int)").WithLocation(3, 40)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\BindingTests.cs (1)
1919
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M3").WithArguments("C.M3<T>()").WithLocation(9, 17),
Semantics\TopLevelStatementsTests.cs (1)
4393
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "localD").WithArguments("<invalid-global-code>.localD()").WithLocation(8, 13),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (25)
Symbols\DefaultInterfaceImplementationTests.cs (12)
9099
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M3").WithArguments("I1.M3()").WithLocation(10, 25),
10202
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M2").WithArguments("I1.M2()").WithLocation(9, 26),
10205
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M3").WithArguments("I1.M3()").WithLocation(11, 25),
14718
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P3").WithArguments("I1.P3").WithLocation(8, 24),
16289
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P2").WithArguments("I2.P2").WithLocation(8, 25),
16292
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P3").WithArguments("I3.P3").WithLocation(12, 24),
22641
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "this").WithArguments("I1.this[short]").WithLocation(8, 24),
23592
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "this").WithArguments("I2.this[int]").WithLocation(8, 25),
23595
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "this").WithArguments("I3.this[int]").WithLocation(12, 24),
28214
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P3").WithArguments("I1.P3").WithLocation(8, 40),
29672
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P2").WithArguments("I2.P2").WithLocation(8, 41),
29678
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P3").WithArguments("I3.P3").WithLocation(12, 40),
Symbols\ExtendedPartialMethodsTests.cs (2)
2061
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M").WithArguments("I.M()").WithLocation(6, 18),
2064
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M").WithArguments("I.M()").WithLocation(8, 18)
Symbols\PartialPropertiesTests.cs (2)
2217
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P1").WithArguments("D3.P1").WithLocation(30, 31),
2626
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P").WithArguments("I.P").WithLocation(6, 17)
Symbols\StaticAbstractMembersInInterfacesTests.cs (6)
5140
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M01").WithArguments("C1.M01()").WithLocation(4, 24),
5143
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P01").WithArguments("C1.P01").WithLocation(5, 24),
5146
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "E01").WithArguments("C1.E01").WithLocation(6, 39),
5257
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "M01").WithArguments("C1.M01()").WithLocation(4, 24),
5260
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "P01").WithArguments("C1.P01").WithLocation(5, 24),
5263
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "E01").WithArguments("C1.E01").WithLocation(6, 39),
Symbols\SymbolErrorTests.cs (3)
3223
new ErrorDescription { Code = (int)ErrorCode.
ERR_SealedNonOverride
, Line = 12, Column = 24 },
3264
new ErrorDescription { Code = (int)ErrorCode.
ERR_SealedNonOverride
, Line = 3, Column = 16 });
3279
Diagnostic(ErrorCode.
ERR_SealedNonOverride
, "E").WithArguments("B.E"),