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)
1316or ErrorCode.ERR_AttributeNotOnAccessor
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
717diagnostics.Add(ErrorCode.ERR_AttributeNotOnAccessor, node.Name.Location, node.GetErrorDisplayName(), attributeUsage.GetValidTargetsErrorArgument());