66 references to AttributeLocation
Microsoft.CodeAnalysis.VisualBasic (66)
Symbols\Attributes\AttributeData.vb (2)
188
Friend Sub DecodeSecurityAttribute(Of T As {WellKnownAttributeData, ISecurityAttributeTarget, New})(targetSymbol As Symbol, compilation As VisualBasicCompilation, ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
375
Friend Function DecodePermissionSetAttribute(compilation As VisualBasicCompilation, ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
)) As String
Symbols\Source\IAttributeTargetSymbol.vb (1)
23
ReadOnly Property DefaultAttributeLocation As
AttributeLocation
Symbols\Source\SourceAssemblySymbol.vb (6)
334
Dim arguments = New DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
)()
337
arguments.SymbolPart =
AttributeLocation
.None
481
Public ReadOnly Property DefaultAttributeLocation As
AttributeLocation
Implements IAttributeTargetSymbol.DefaultAttributeLocation
483
Return
AttributeLocation
.Assembly
1015
Friend Overrides Sub DecodeWellKnownAttribute(ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
1018
Debug.Assert(arguments.SymbolPart =
AttributeLocation
.None)
Symbols\Source\SourceEventSymbol.vb (4)
584
Public ReadOnly Property DefaultAttributeLocation As
AttributeLocation
Implements IAttributeTargetSymbol.DefaultAttributeLocation
586
Return
AttributeLocation
.Event
635
Friend Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax,
AttributeLocation
)) As VisualBasicAttributeData
653
Friend Overrides Sub DecodeWellKnownAttribute(ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
Symbols\Source\SourceFieldSymbol.vb (7)
632
Public ReadOnly Property DefaultAttributeLocation As
AttributeLocation
Implements IAttributeTargetSymbol.DefaultAttributeLocation
634
Return
AttributeLocation
.Field
711
Friend NotOverridable Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax,
AttributeLocation
)) As VisualBasicAttributeData
729
Friend NotOverridable Overrides Sub DecodeWellKnownAttribute(ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
733
Debug.Assert(arguments.SymbolPart =
AttributeLocation
.None)
760
MarshalAsAttributeDecoder(Of CommonFieldWellKnownAttributeData, AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
).Decode(arguments, AttributeTargets.Field, MessageProvider.Instance)
775
Private Sub VerifyConstantValueMatches(attrValue As ConstantValue, ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
Symbols\Source\SourceMethodSymbol.vb (17)
1383
Public ReadOnly Property DefaultAttributeLocation As
AttributeLocation
Implements IAttributeTargetSymbol.DefaultAttributeLocation
1385
Return
AttributeLocation
.Method
1409
LoadAndValidateAttributes(Me.GetReturnTypeAttributeDeclarations(), lazyCustomAttributesBag, symbolPart:=
AttributeLocation
.Return)
1490
Friend Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax,
AttributeLocation
)) As VisualBasicAttributeData
1495
If arguments.SymbolPart <>
AttributeLocation
.Return Then
1589
Friend Overrides Sub DecodeWellKnownAttribute(ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
1600
If arguments.SymbolPart =
AttributeLocation
.Return Then
1605
Debug.Assert(arguments.SymbolPart =
AttributeLocation
.None)
1613
Private Sub DecodeWellKnownAttributeAppliedToMethod(ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
1662
AttributeData.DecodeMethodImplAttribute(Of MethodWellKnownAttributeData, AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
)(arguments, MessageProvider.Instance)
1781
ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
),
1796
Private Sub DecodeWellKnownAttributeAppliedToReturnValue(ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
1802
MarshalAsAttributeDecoder(Of CommonReturnTypeWellKnownAttributeData, AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
).Decode(arguments, AttributeTargets.ReturnValue, MessageProvider.Instance)
1862
symbolPart As
AttributeLocation
,
1868
Debug.Assert(symbolPart =
AttributeLocation
.Return OrElse symbolPart =
AttributeLocation
.None)
1870
If symbolPart <>
AttributeLocation
.Return Then
Symbols\Source\SourceModuleSymbol.vb (4)
222
Public ReadOnly Property DefaultAttributeLocation As
AttributeLocation
Implements IAttributeTargetSymbol.DefaultAttributeLocation
224
Return
AttributeLocation
.Module
1072
Friend Overrides Sub DecodeWellKnownAttribute(ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
1077
Debug.Assert(arguments.SymbolPart =
AttributeLocation
.None)
Symbols\Source\SourceNamedTypeSymbol.vb (8)
1802
Public ReadOnly Property DefaultAttributeLocation As
AttributeLocation
Implements IAttributeTargetSymbol.DefaultAttributeLocation
1804
Return
AttributeLocation
.Type
2009
Friend Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax,
AttributeLocation
)) As VisualBasicAttributeData
2168
Friend NotOverridable Overrides Sub DecodeWellKnownAttribute(ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
2173
Debug.Assert(arguments.SymbolPart =
AttributeLocation
.None)
2271
AttributeData.DecodeStructLayoutAttribute(Of CommonTypeWellKnownAttributeData, AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
)(
2380
symbolPart As
AttributeLocation
,
2386
Debug.Assert(symbolPart =
AttributeLocation
.None)
Symbols\Source\SourceParameterSymbol.vb (8)
169
Public ReadOnly Property DefaultAttributeLocation As
AttributeLocation
Implements IAttributeTargetSymbol.DefaultAttributeLocation
171
Return
AttributeLocation
.Parameter
183
Friend Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax,
AttributeLocation
)) As VisualBasicAttributeData
295
Private Function EarlyDecodeAttributeForDefaultParameterValue(description As AttributeDescription, ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax,
AttributeLocation
)) As VisualBasicAttributeData
319
Friend Overrides Sub DecodeWellKnownAttribute(ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
322
Debug.Assert(arguments.SymbolPart =
AttributeLocation
.None)
360
MarshalAsAttributeDecoder(Of CommonParameterWellKnownAttributeData, AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
).Decode(arguments, AttributeTargets.Parameter, MessageProvider.Instance)
373
Private Sub DecodeDefaultParameterValueAttribute(description As AttributeDescription, ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
Symbols\Source\SourcePropertyAccessorSymbol.vb (2)
483
Friend Overrides Sub DecodeWellKnownAttribute(ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
484
If arguments.SymbolPart =
AttributeLocation
.None Then
Symbols\Source\SourcePropertySymbol.vb (7)
468
Public ReadOnly Property DefaultAttributeLocation As
AttributeLocation
Implements IAttributeTargetSymbol.DefaultAttributeLocation
470
Return
AttributeLocation
.Property
504
LoadAndValidateAttributes(GetReturnTypeAttributeDeclarations(), _lazyReturnTypeCustomAttributesBag, symbolPart:=
AttributeLocation
.Return)
539
Friend Overrides Function EarlyDecodeWellKnownAttribute(ByRef arguments As EarlyDecodeWellKnownAttributeArguments(Of EarlyWellKnownAttributeBinder, NamedTypeSymbol, AttributeSyntax,
AttributeLocation
)) As VisualBasicAttributeData
572
Friend Overrides Sub DecodeWellKnownAttribute(ByRef arguments As DecodeWellKnownAttributeArguments(Of AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
))
582
If arguments.SymbolPart =
AttributeLocation
.Return Then
595
MarshalAsAttributeDecoder(Of CommonReturnTypeWellKnownAttributeData, AttributeSyntax, VisualBasicAttributeData,
AttributeLocation
).