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