17 references to ERR_NotOverridableAPIInRecord
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2129
or ErrorCode.
ERR_NotOverridableAPIInRecord
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5359
diagnostics.Add(ErrorCode.
ERR_NotOverridableAPIInRecord
, symbol.GetFirstLocation(), symbol);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Semantics\RecordTests.cs (14)
7475
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "PrintMembers").WithArguments("C2.PrintMembers(System.Text.StringBuilder)").WithLocation(5, 36)
7493
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "PrintMembers").WithArguments("C1.PrintMembers(System.Text.StringBuilder)").WithLocation(4, 20)
7612
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "PrintMembers").WithArguments("C1.PrintMembers(System.Text.StringBuilder)").WithLocation(5, 17),
18203
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "Equals").WithArguments("B.Equals(B)").WithLocation(9, 33),
18811
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "Equals").WithArguments("A.Equals(A)").WithLocation(4, 24),
18912
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("B.EqualityContract").WithLocation(9, 43)
19319
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("A.EqualityContract").WithLocation(4, 27),
19395
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("B.EqualityContract").WithLocation(7, 27),
19428
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("G.EqualityContract").WithLocation(37, 43)
20179
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("A.EqualityContract").WithLocation(4, 34),
20699
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "Equals").WithArguments("A.Equals(A)").WithLocation(4, 24),
23677
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("A.EqualityContract").WithLocation(3, 27),
23698
Diagnostic(ErrorCode.
ERR_NotOverridableAPIInRecord
, "EqualityContract").WithArguments("B.EqualityContract").WithLocation(4, 43),
24636
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),