2 writes to AttributeType
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Symbol_Attributes.cs (1)
773
arguments.
AttributeType
= boundAttributeType;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Symbol_Attributes.vb (1)
425
arguments.
AttributeType
= attributeType
70 references to AttributeType
Microsoft.CodeAnalysis.CSharp (28)
Symbols\Source\SourceComplexParameterSymbol.cs (10)
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))
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);
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 (10)
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);
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)
153
var type = arguments.
AttributeType
;
Microsoft.CodeAnalysis.VisualBasic (42)
Symbols\Source\SourceEventSymbol.vb (2)
634
Debug.Assert(arguments.
AttributeType
IsNot Nothing)
635
Debug.Assert(Not arguments.
AttributeType
.IsErrorType())
Symbols\Source\SourceFieldSymbol.vb (2)
693
Debug.Assert(arguments.
AttributeType
IsNot Nothing)
694
Debug.Assert(Not arguments.
AttributeType
.IsErrorType())
Symbols\Source\SourceMethodSymbol.vb (6)
1491
Debug.Assert(arguments.
AttributeType
IsNot Nothing)
1492
Debug.Assert(Not arguments.
AttributeType
.IsErrorType())
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 (16)
2000
Debug.Assert(arguments.
AttributeType
IsNot Nothing)
2001
Debug.Assert(Not arguments.
AttributeType
.IsErrorType())
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\Source\SourcePropertySymbol.vb (2)
537
Debug.Assert(arguments.
AttributeType
IsNot Nothing)
538
Debug.Assert(Not arguments.
AttributeType
.IsErrorType())
Symbols\Symbol_Attributes.vb (1)
150
Dim type = arguments.
AttributeType