1 write to AttributeSyntax
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Symbol_Attributes.cs (1)
795
arguments.
AttributeSyntax
= attributesToBind[i];
39 references to AttributeSyntax
Microsoft.CodeAnalysis.CSharp (39)
Symbols\Source\SourceComplexParameterSymbol.cs (12)
638
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DefaultParameterValueAttribute))
642
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DecimalConstantAttribute))
646
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.DateTimeConstantAttribute))
650
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.UnscopedRefAttribute))
657
else if (!IsOnPartialImplementation(arguments.
AttributeSyntax
))
659
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerLineNumberAttribute))
663
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerFilePathAttribute))
667
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerMemberNameAttribute))
671
else if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CallerArgumentExpressionAttribute))
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);
716
value = DecodeDefaultParameterValueAttribute(description, attributeData, arguments.
AttributeSyntax
, diagnose: false, diagnosticsOpt: null);
Symbols\Source\SourceConstructorSymbolBase.cs (2)
244
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.SetsRequiredMembersAttribute))
255
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 (15)
908
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ComImportAttribute))
910
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
923
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CodeAnalysisEmbeddedAttribute))
925
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
938
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.ConditionalAttribute))
940
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
965
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.AttributeUsageAttribute))
967
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
970
AttributeUsageInfo info = this.DecodeAttributeUsageAttribute(attributeData, arguments.
AttributeSyntax
, diagnose: false);
997
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.InterpolatedStringHandlerAttribute))
999
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1012
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.InlineArrayAttribute))
1014
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1030
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.CollectionBuilderAttribute))
1032
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
Symbols\Source\SourcePropertySymbolBase.cs (4)
1459
if (CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.IndexerNameAttribute))
1462
(attributeData, boundAttribute) = arguments.Binder.GetAttribute(arguments.
AttributeSyntax
, arguments.AttributeType, beforeAttributePartBound: null, afterAttributePartBound: null, out hasAnyDiagnostics);
1479
else if ((IsIndexer || this.GetIsNewExtensionMember()) && CSharpAttributeData.IsTargetEarlyAttribute(arguments.AttributeType, arguments.
AttributeSyntax
, AttributeDescription.OverloadResolutionPriorityAttribute))
1481
(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
;