10 references to ERR_InvalidAttributeArgument
Microsoft.CodeAnalysis.CSharp (10)
Errors\ErrorFacts.cs (1)
973
or ErrorCode.
ERR_InvalidAttributeArgument
Errors\MessageProvider.cs (1)
261
diagnostics.Add(ErrorCode.
ERR_InvalidAttributeArgument
, ((CSharpAttributeData)attribute).GetAttributeArgumentLocation(parameterIndex), node.GetErrorDisplayName());
Symbols\Attributes\AttributeData.cs (3)
592
diagnostics.Add(ErrorCode.
ERR_InvalidAttributeArgument
, this.GetAttributeArgumentLocation(0), nodeOpt != null ? nodeOpt.GetErrorDisplayName() : "");
618
diagnostics.Add(ErrorCode.
ERR_InvalidAttributeArgument
, this.GetAttributeArgumentLocation(0), node.GetErrorDisplayName());
635
diagnostics.Add(ErrorCode.
ERR_InvalidAttributeArgument
, attributeArgumentSyntaxLocation, nodeOpt != null ? nodeOpt.GetErrorDisplayName() : "");
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
192
diagnostics.Add(ErrorCode.
ERR_InvalidAttributeArgument
, attribute.GetAttributeArgumentLocation(0), arguments.AttributeSyntaxOpt.GetErrorDisplayName());
Symbols\Source\SourceAssemblySymbol.cs (1)
2604
diagnostics.Add(ErrorCode.
ERR_InvalidAttributeArgument
, attribute.GetAttributeArgumentLocation(i), (object)nodeOpt != null ? nodeOpt.GetErrorDisplayName() : "");
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
848
diagnostics.Add(ErrorCode.
ERR_InvalidAttributeArgument
, attribute.GetAttributeArgumentLocation(0), arguments.AttributeSyntaxOpt.GetErrorDisplayName());
Symbols\Source\SourceModuleSymbol.cs (1)
564
((BindingDiagnosticBag)arguments.Diagnostics).Add(ErrorCode.
ERR_InvalidAttributeArgument
, attribute.GetAttributeArgumentLocation(0), arguments.AttributeSyntaxOpt.GetErrorDisplayName());
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1318
diagnosticsOpt.Add(ErrorCode.
ERR_InvalidAttributeArgument
, attribute.GetAttributeArgumentLocation(0), node.GetErrorDisplayName());