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