5 overrides of GetAttributeArgumentLocation
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Attributes\PEAttributeData.cs (1)
150
internal override Location
GetAttributeArgumentLocation
(int parameterIndex)
Symbols\Attributes\RetargetingAttributeData.cs (1)
80
internal override Location
GetAttributeArgumentLocation
(int parameterIndex) => _underlying.GetAttributeArgumentLocation(parameterIndex);
Symbols\Attributes\SourceAttributeData.cs (1)
165
internal override Location
GetAttributeArgumentLocation
(int parameterIndex)
Symbols\Source\SynthesizedAttributeData.cs (2)
54
internal override Location
GetAttributeArgumentLocation
(int parameterIndex) => NoLocation.Singleton;
87
internal override Location
GetAttributeArgumentLocation
(int parameterIndex) => _original.GetAttributeArgumentLocation(parameterIndex);
11 references to GetAttributeArgumentLocation
Microsoft.CodeAnalysis.CSharp (11)
Errors\MessageProvider.cs (3)
261
diagnostics.Add(ErrorCode.ERR_InvalidAttributeArgument, ((CSharpAttributeData)attribute).
GetAttributeArgumentLocation
(parameterIndex), node.GetErrorDisplayName());
278
diagnostics.Add(ErrorCode.ERR_MarshalUnmanagedTypeNotValidForFields, ((CSharpAttributeData)attribute).
GetAttributeArgumentLocation
(parameterIndex), unmanagedTypeName);
283
diagnostics.Add(ErrorCode.ERR_MarshalUnmanagedTypeOnlyValidForFields, ((CSharpAttributeData)attribute).
GetAttributeArgumentLocation
(parameterIndex), unmanagedTypeName);
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());
634
Location attributeArgumentSyntaxLocation = this.
GetAttributeArgumentLocation
(0);
Symbols\Attributes\RetargetingAttributeData.cs (1)
80
internal override Location GetAttributeArgumentLocation(int parameterIndex) => _underlying.
GetAttributeArgumentLocation
(parameterIndex);
Symbols\Source\SourceAssemblySymbol.cs (1)
2604
diagnostics.Add(ErrorCode.ERR_InvalidAttributeArgument, attribute.
GetAttributeArgumentLocation
(i), (object)nodeOpt != null ? nodeOpt.GetErrorDisplayName() : "");
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
760
diagnostics.Add(ErrorCode.ERR_BadArgumentToAttribute, attribute.
GetAttributeArgumentLocation
(0), node.GetErrorDisplayName());
Symbols\Source\SourceNamedTypeSymbol.cs (2)
1318
diagnosticsOpt.Add(ErrorCode.ERR_InvalidAttributeArgument, attribute.
GetAttributeArgumentLocation
(0), node.GetErrorDisplayName());
1398
diagnostics.Add(ErrorCode.ERR_BadArgumentToAttribute, attribute.
GetAttributeArgumentLocation
(0), node.GetErrorDisplayName());