5 references to ERR_SealedAPIInRecord
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2069
case ErrorCode.
ERR_SealedAPIInRecord
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4374
diagnostics.Add(ErrorCode.
ERR_SealedAPIInRecord
, getHashCode.Locations[0], getHashCode);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\RecordTests.cs (3)
15733
Diagnostic(ErrorCode.
ERR_SealedAPIInRecord
, "GetHashCode").WithArguments("A.GetHashCode()").WithLocation(4, 32),
15744
Diagnostic(ErrorCode.
ERR_SealedAPIInRecord
, "GetHashCode").WithArguments("A.GetHashCode()").WithLocation(4, 32),
16858
Diagnostic(ErrorCode.
ERR_SealedAPIInRecord
, "GetHashCode").WithArguments("A.GetHashCode()").WithLocation(4, 32)