17 references to ERR_NotOverridableAPIInRecord
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2071
case ErrorCode.
ERR_NotOverridableAPIInRecord
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4493
diagnostics.Add(ErrorCode.
ERR_NotOverridableAPIInRecord
, symbol.Locations[0], symbol);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RecordTests.cs (14)
7420
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "PrintMembers").WithArguments("C2.PrintMembers(System.Text.StringBuilder)").WithLocation(5, 36)
7438
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "PrintMembers").WithArguments("C1.PrintMembers(System.Text.StringBuilder)").WithLocation(4, 20)
7557
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "PrintMembers").WithArguments("C1.PrintMembers(System.Text.StringBuilder)").WithLocation(5, 17),
18118
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "Equals").WithArguments("B.Equals(B)").WithLocation(9, 33),
18726
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "Equals").WithArguments("A.Equals(A)").WithLocation(4, 24),
18827
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("B.EqualityContract").WithLocation(9, 43)
19234
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("A.EqualityContract").WithLocation(4, 27),
19313
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("B.EqualityContract").WithLocation(7, 27),
19349
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("G.EqualityContract").WithLocation(37, 43)
20103
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("A.EqualityContract").WithLocation(4, 34),
20623
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "Equals").WithArguments("A.Equals(A)").WithLocation(4, 24),
23601
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("A.EqualityContract").WithLocation(3, 27),
23622
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("B.EqualityContract").WithLocation(4, 43),
24560
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "Equals").WithArguments("A.Equals(A)").WithLocation(3, 17),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\Source\RecordTests.cs (1)
232
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "Equals").WithArguments("C.Equals(C)").WithLocation(4, 17),