10 references to ERR_NonPublicAPIInRecord
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2072
case ErrorCode.
ERR_NonPublicAPIInRecord
:
Symbols\Source\SourceMemberContainerSymbol.cs (2)
4049
diagnostics.Add(ErrorCode.
ERR_NonPublicAPIInRecord
, deconstruct.Locations[0], deconstruct);
4473
diagnostics.Add(ErrorCode.
ERR_NonPublicAPIInRecord
, thisEquals.Locations[0], thisEquals);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\RecordStructTests.cs (3)
3907
Diagnostic(ErrorCode.
ERR_NonPublicAPIInRecord
, "Deconstruct").WithArguments("A.Deconstruct(out int)").WithLocation(4, 11 + accessibility.Length)
4220
Diagnostic(ErrorCode.
ERR_NonPublicAPIInRecord
, "Equals").WithArguments("A.Equals(A)").WithLocation(4, 11 + accessibility.Length),
4247
Diagnostic(ErrorCode.
ERR_NonPublicAPIInRecord
, "Equals").WithArguments("A.Equals(A)").WithLocation(4, 11 + accessibility.Length),
Semantics\RecordTests.cs (4)
15503
Diagnostic(ErrorCode.
ERR_NonPublicAPIInRecord
, "Deconstruct").WithArguments("A.Deconstruct(out int)").WithLocation(4, 11 + accessibility.Length)
18396
Diagnostic(ErrorCode.
ERR_NonPublicAPIInRecord
, "Equals").WithArguments("A.Equals(A)").WithLocation(4, 19 + accessibility.Length),
18425
Diagnostic(ErrorCode.
ERR_NonPublicAPIInRecord
, "Equals").WithArguments("A.Equals(A)").WithLocation(4, 19 + accessibility.Length),
24538
Diagnostic(ErrorCode.
ERR_NonPublicAPIInRecord
, "Equals").WithArguments("A.Equals(A)").WithLocation(3, 27),