16 references to GetAttribute
Microsoft.CodeAnalysis.CSharp (16)
Symbols\Source\SourceComplexParameterSymbol.cs (2)
680
var (attributeData, _) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out _);
738
var (attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourceConstructorSymbolBase.cs (1)
257
var (attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out bool hasAnyDiagnostics);
Symbols\Source\SourceMethodSymbolWithAttributes.cs (2)
341
var (attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
379
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourceNamedTypeSymbol.cs (8)
915
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
930
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
945
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
972
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1004
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1019
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1037
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1057
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourcePropertySymbolBase.cs (2)
1495
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1514
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out var hasAnyDiagnostics);
Symbols\Symbol_Attributes.cs (1)
182
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(syntax, type, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);