3 references to ERR_AttributeNotOnAccessor
Microsoft.CodeAnalysis.CSharp (3)
Compiler\ClsComplianceChecker.cs (1)
350this.AddDiagnostic(ErrorCode.ERR_AttributeNotOnAccessor, attributeLocation, attribute.AttributeClass.Name, attributeUsage.GetValidTargetsErrorArgument());
Errors\ErrorFacts.cs (1)
1319or ErrorCode.ERR_AttributeNotOnAccessor
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
722diagnostics.Add(ErrorCode.ERR_AttributeNotOnAccessor, node.Name.Location, node.GetErrorDisplayName(), attributeUsage.GetValidTargetsErrorArgument());