1 write to AttributeSyntax
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Symbol_Attributes.cs (1)
807
arguments.
AttributeSyntax
= attributesToBind[i];
41 references to AttributeSyntax
Microsoft.CodeAnalysis.CSharp (41)
Symbols\Source\SourceComplexParameterSymbol.cs (12)
644
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DefaultParameterValueAttribute))
648
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DecimalConstantAttribute))
652
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DateTimeConstantAttribute))
656
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.UnscopedRefAttribute))
663
else if (!IsOnPartialImplementation(arguments.
AttributeSyntax
))
665
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerLineNumberAttribute))
669
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerFilePathAttribute))
673
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerMemberNameAttribute))
677
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerArgumentExpressionAttribute))
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);
747
value = DecodeDefaultParameterValueAttribute(description, attributeData, arguments.
AttributeSyntax
, diagnose: false, diagnosticsOpt: null);
Symbols\Source\SourceConstructorSymbolBase.cs (2)
246
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.SetsRequiredMembersAttribute))
257
var (attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out bool hasAnyDiagnostics);
Symbols\Source\SourceMethodSymbolWithAttributes.cs (5)
339
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ConditionalAttribute))
341
var (attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
363
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.UnmanagedCallersOnlyAttribute))
371
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.OverloadResolutionPriorityAttribute))
379
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourceNamedTypeSymbol.cs (17)
913
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ComImportAttribute))
915
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
928
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CodeAnalysisEmbeddedAttribute))
930
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
943
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ConditionalAttribute))
945
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
970
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.AttributeUsageAttribute))
972
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
975
AttributeUsageInfo info = this.DecodeAttributeUsageAttribute(attributeData, arguments.
AttributeSyntax
, diagnose: false);
1002
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.InterpolatedStringHandlerAttribute))
1004
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1017
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.InlineArrayAttribute))
1019
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1035
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CollectionBuilderAttribute))
1037
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1055
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.UnionAttribute))
1057
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourcePropertySymbolBase.cs (4)
1492
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.IndexerNameAttribute))
1495
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1512
else if ((IsIndexer || this.IsExtensionBlockMember()) && CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.OverloadResolutionPriorityAttribute))
1514
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out var hasAnyDiagnostics);
Symbols\Symbol_Attributes.cs (1)
154
var syntax = arguments.
AttributeSyntax
;