11 references to GetAttribute
Microsoft.CodeAnalysis.CSharp (11)
Symbols\Source\SourceComplexParameterSymbol.cs (2)
671
var (attributeData, _) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out _);
704
var (attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourceConstructorSymbolBase.cs (1)
270
var (attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out bool hasAnyDiagnostics);
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
333
var (attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourceNamedTypeSymbol.cs (5)
908
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
923
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
938
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
965
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
997
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourcePropertySymbolBase.cs (1)
1191
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Symbol_Attributes.cs (1)
178
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(syntax, type, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);