2 writes to AttributeSyntax
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Symbol_Attributes.cs (1)
774
arguments.
AttributeSyntax
= attributesToBind[i];
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Symbol_Attributes.vb (1)
426
arguments.
AttributeSyntax
= attributesToBind(i)
63 references to AttributeSyntax
Microsoft.CodeAnalysis.CSharp (31)
Symbols\Source\SourceComplexParameterSymbol.cs (12)
635
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DefaultParameterValueAttribute))
639
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DecimalConstantAttribute))
643
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DateTimeConstantAttribute))
647
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.UnscopedRefAttribute))
654
else if (!IsOnPartialImplementation(arguments.
AttributeSyntax
))
656
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerLineNumberAttribute))
660
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerFilePathAttribute))
664
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerMemberNameAttribute))
668
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerArgumentExpressionAttribute))
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);
713
value = DecodeDefaultParameterValueAttribute(description, attributeData, arguments.
AttributeSyntax
, diagnose: false, diagnosticsOpt: null);
Symbols\Source\SourceConstructorSymbolBase.cs (2)
259
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.SetsRequiredMembersAttribute))
270
var (attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out bool hasAnyDiagnostics);
Symbols\Source\SourceMethodSymbolWithAttributes.cs (3)
331
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ConditionalAttribute))
333
var (attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
355
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.UnmanagedCallersOnlyAttribute))
Symbols\Source\SourceNamedTypeSymbol.cs (11)
906
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ComImportAttribute))
908
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
921
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CodeAnalysisEmbeddedAttribute))
923
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
936
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ConditionalAttribute))
938
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
963
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.AttributeUsageAttribute))
965
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
968
AttributeUsageInfo info = this.DecodeAttributeUsageAttribute(attributeData, arguments.
AttributeSyntax
, diagnose: false);
995
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.InterpolatedStringHandlerAttribute))
997
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourcePropertySymbolBase.cs (2)
1188
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.IndexerNameAttribute))
1191
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Symbol_Attributes.cs (1)
154
var syntax = arguments.
AttributeSyntax
;
Microsoft.CodeAnalysis.VisualBasic (32)
Symbols\Source\SourceMethodSymbol.vb (4)
1496
If VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CaseInsensitiveExtensionAttribute) Then
1515
Dim attrdata = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
1523
ElseIf VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ConditionalAttribute) Then
1524
Dim attrdata = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
Symbols\Source\SourceNamedTypeSymbol.vb (14)
2004
If VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.VisualBasicEmbeddedAttribute) Then
2006
Dim attrdata = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
2013
ElseIf VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CodeAnalysisEmbeddedAttribute) Then
2015
Dim attrdata = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
2022
ElseIf VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ComImportAttribute) Then
2024
Dim attrdata = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
2031
ElseIf VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ConditionalAttribute) Then
2033
Dim attrdata = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
2054
If VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.AttributeUsageAttribute) Then
2058
Dim attrdata = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
2070
If VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.InterfaceTypeAttribute) Then
2071
Dim attrdata = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
2085
ElseIf VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.TypeLibTypeAttribute) Then
2086
Dim attrdata = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
Symbols\Source\SourceParameterSymbol.vb (13)
187
If VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.MarshalAsAttribute) Then
190
Dim attrdata = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
221
VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ParamArrayAttribute) Then
224
Dim attrdata = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
233
If VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DefaultParameterValueAttribute) Then
235
ElseIf VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DecimalConstantAttribute) Then
237
ElseIf VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DateTimeConstantAttribute) Then
239
ElseIf VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerLineNumberAttribute) Then
241
ElseIf VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerFilePathAttribute) Then
243
ElseIf VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerMemberNameAttribute) Then
245
ElseIf VisualBasicAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerArgumentExpressionAttribute) Then
247
Dim attribute = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, False)
301
Dim attribute = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, hasAnyDiagnostics)
Symbols\Symbol_Attributes.vb (1)
151
Dim syntax = arguments.
AttributeSyntax