15 references to GetAttribute
Microsoft.CodeAnalysis.CSharp (15)
Symbols\Source\SourceComplexParameterSymbol.cs (2)
674
var (attributeData, _) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out _);
707
var (attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourceConstructorSymbolBase.cs (1)
255
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 (7)
910
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
925
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
940
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
967
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
999
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1014
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1032
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourcePropertySymbolBase.cs (2)
1462
(attributeData, boundAttribute) = arguments.Binder.
GetAttribute
(arguments.AttributeSyntax, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1481
(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);