11 types derived from ParameterSymbol
Microsoft.CodeAnalysis.VisualBasic (11)
Symbols\Metadata\PE\PEParameterSymbol.vb (1)
22
Inherits
ParameterSymbol
Symbols\ReducedExtensionMethodSymbol.vb (1)
883
Inherits
ParameterSymbol
Symbols\Retargeting\RetargetingParameterSymbol.vb (1)
18
Inherits
ParameterSymbol
Symbols\SignatureOnlyParameterSymbol.vb (1)
17
Inherits
ParameterSymbol
Symbols\Source\LambdaParameterSymbol.vb (1)
13
Inherits
ParameterSymbol
Symbols\Source\MeParameterSymbol.vb (1)
15
Inherits
ParameterSymbol
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
1423
Inherits
ParameterSymbol
Symbols\Source\SourceParameterSymbolBase.vb (1)
16
Inherits
ParameterSymbol
Symbols\SubstitutedParameterSymbol.vb (1)
15
Inherits
ParameterSymbol
Symbols\SynthesizedSymbols\SynthesizedParameterSymbol.vb (1)
18
Inherits
ParameterSymbol
Symbols\Wrapped\WrappedParameterSymbol.vb (1)
21
Inherits
ParameterSymbol
337 references to ParameterSymbol
Microsoft.CodeAnalysis.VisualBasic (337)
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
30
Dim meSymbol As
ParameterSymbol
= Nothing
Binding\SyntheticBoundTrees\SynthesizedStringSwitchHashMethod.vb (1)
63
Dim text As
ParameterSymbol
= Me.Parameters(0)
Emit\ParameterSymbolAdapter.vb (2)
214
Friend ReadOnly Property AdaptedParameterSymbol As
ParameterSymbol
216
Friend Sub New(underlyingParameterSymbol As
ParameterSymbol
)
Operations\VisualBasicOperationFactory_Methods.vb (2)
194
Friend Function DeriveArguments(boundArguments As ImmutableArray(Of BoundExpression), parameters As ImmutableArray(Of VisualBasic.Symbols.
ParameterSymbol
), ByRef defaultArguments As BitVector) As ImmutableArray(Of IArgumentOperation)
209
parameters As ImmutableArray(Of VisualBasic.Symbols.
ParameterSymbol
),
Symbols\AnonymousTypes\PublicSymbols\AnonymousDelegate_TypePublicSymbol.vb (3)
33
Dim parameters = ArrayBuilder(Of
ParameterSymbol
).GetInstance(parameterDescriptors.Length + 1)
55
ImmutableArray.Create(Of
ParameterSymbol
)(
133
Private Shared Function ParameterFromField(container As SynthesizedDelegateMethodSymbol, field As AnonymousTypeField, ordinal As Integer) As
ParameterSymbol
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicAccessors.vb (3)
68
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
73
_parameters = ImmutableArray.Create(Of
ParameterSymbol
)(
83
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_TypePublicSymbol.vb (5)
97
Dim paramsArr = New
ParameterSymbol
(fieldsCount - 1) {}
112
method.SetParameters(ImmutableArray.Create(Of
ParameterSymbol
)(
124
method.SetParameters(ImmutableArray.Create(Of
ParameterSymbol
)(
135
method.SetParameters(ImmutableArray(Of
ParameterSymbol
).Empty)
143
method.SetParameters(ImmutableArray(Of
ParameterSymbol
).Empty)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousDelegate_TemplateSymbol.vb (4)
40
Dim parameters = ArrayBuilder(Of
ParameterSymbol
).GetInstance(parameterDescriptors.Length + 1)
69
ImmutableArray.Create(Of
ParameterSymbol
)(
91
Dim parameter As
ParameterSymbol
= delegateInvoke.Parameters(i)
108
Dim parameter As
ParameterSymbol
= delegateInvoke.Parameters(i)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ConstructorSymbol.vb (3)
16
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
23
Dim paramsArr = New
ParameterSymbol
(fieldsCount - 1) {}
37
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_EqualsMethodSymbol.vb (3)
16
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
22
_parameters = ImmutableArray.Create(Of
ParameterSymbol
)(New SynthesizedParameterSimpleSymbol(Me, container.Manager.System_Object, 0, "obj"))
56
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_IEquatable_EqualsMethodSymbol.vb (3)
16
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
22
_parameters = ImmutableArray.Create(Of
ParameterSymbol
)(New SynthesizedParameterSimpleSymbol(Me, container, 0, "val"))
62
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertyAccessors.vb (3)
87
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
92
_parameters = ImmutableArray.Create(Of
ParameterSymbol
)(
102
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (2)
59
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
61
Return ImmutableArray(Of
ParameterSymbol
).Empty
Symbols\ErrorMethodSymbol.vb (2)
202
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
204
Return ImmutableArray(Of
ParameterSymbol
).Empty
Symbols\EventSymbol.vb (2)
140
Friend Overridable ReadOnly Property DelegateParameters As ImmutableArray(Of
ParameterSymbol
)
146
Return ImmutableArray(Of
ParameterSymbol
).Empty
Symbols\ExtensionMethods.vb (1)
22
Dim firstParam As
ParameterSymbol
= Me.Parameters(0)
Symbols\FieldSymbol.vb (1)
257
Friend Overridable ReadOnly Property MeParameter As
ParameterSymbol
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
210
Private Shared Function ParametersMatch(candidateParam As
ParameterSymbol
, ByRef targetParam As ParamInfo(Of TypeSymbol)) As Boolean
Symbols\Metadata\PE\PEMethodSymbol.vb (10)
218
Public _lazyMeParameter As
ParameterSymbol
264
Public ReadOnly Parameters As ImmutableArray(Of
ParameterSymbol
)
267
Public Sub New(signatureHeader As SignatureHeader, parameters As ImmutableArray(Of
ParameterSymbol
), returnParam As PEParameterSymbol)
539
Dim inputParams As ImmutableArray(Of
ParameterSymbol
) = Parameters
682
Dim firstParam As
ParameterSymbol
= Me.Parameters(0)
963
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
1049
Dim params As ImmutableArray(Of
ParameterSymbol
)
1054
Dim builder = ImmutableArray.CreateBuilder(Of
ParameterSymbol
)(count)
1065
params = ImmutableArray(Of
ParameterSymbol
).Empty
1351
Friend Overrides Function TryGetMeParameter(<Out> ByRef meParameter As
ParameterSymbol
) As Boolean
Symbols\Metadata\PE\PEParameterSymbol.vb (1)
324
Friend Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
Symbols\Metadata\PE\PEPropertySymbol.vb (5)
28
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
277
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
458
ByRef parametersMatch As Boolean) As ImmutableArray(Of
ParameterSymbol
)
463
Return ImmutableArray(Of
ParameterSymbol
).Empty
466
Dim parameters(propertyParams.Length - 2) As
ParameterSymbol
Symbols\MethodSignatureComparer.vb (9)
494
params1 As ImmutableArray(Of
ParameterSymbol
),
496
params2 As ImmutableArray(Of
ParameterSymbol
),
504
Dim longerParameters As ImmutableArray(Of
ParameterSymbol
)
666
Private Shared Function GetTypeWithModifiers(typeSubstitution As TypeSubstitution, param As
ParameterSymbol
) As TypeWithModifiers
674
Private Shared Function GetRefModifiers(typeSubstitution As TypeSubstitution, param As
ParameterSymbol
) As ImmutableArray(Of CustomModifier)
682
Private Shared Function ParameterDefaultValueMismatch(param1 As
ParameterSymbol
, param2 As
ParameterSymbol
) As Boolean
715
Public Shared Function HaveSameParameterTypes(params1 As ImmutableArray(Of
ParameterSymbol
), typeSubstitution1 As TypeSubstitution,
716
params2 As ImmutableArray(Of
ParameterSymbol
), typeSubstitution2 As TypeSubstitution,
Symbols\MethodSymbol.vb (4)
195
Public MustOverride ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
647
Friend ReadOnly Property MeParameter As
ParameterSymbol
649
Dim parameter As
ParameterSymbol
= Nothing
662
Friend Overridable Function TryGetMeParameter(<Out> ByRef meParameter As
ParameterSymbol
) As Boolean
Symbols\MethodSymbolExtensions.vb (3)
29
Dim param As
ParameterSymbol
= parameters(parameterIndex)
47
Friend Function GetParameterSymbol(parameters As ImmutableArray(Of
ParameterSymbol
), parameter As ParameterSyntax) As
ParameterSymbol
Symbols\ParameterSymbol.vb (4)
28
Public Overridable Shadows ReadOnly Property OriginalDefinition As
ParameterSymbol
182
Friend MustOverride ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
186
Return ExplicitDefaultConstantValue(SymbolsInProgress(Of
ParameterSymbol
).Empty)
255
Friend Overridable Function ChangeOwner(newContainingSymbol As Symbol) As
ParameterSymbol
Symbols\PropertySymbol.vb (3)
70
Public MustOverride ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
384
Friend Overridable ReadOnly Property MeParameter As
ParameterSymbol
534
Friend Sub CloneParameters(method As MethodSymbol, parameters As ArrayBuilder(Of
ParameterSymbol
))
Symbols\PropertySymbolExtensions.vb (1)
27
Dim param As
ParameterSymbol
= parameters(parameterIndex)
Symbols\ReducedExtensionMethodSymbol.vb (7)
405
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
408
Dim fromParams As ImmutableArray(Of
ParameterSymbol
) = _curriedFromMethod.Parameters
425
Return StaticCast(Of
ParameterSymbol
).From(_lazyParameters)
846
Public Sub New(curriedMethod As ReducedExtensionMethodSymbol, curriedFromParameter As
ParameterSymbol
)
885
Protected ReadOnly m_CurriedFromParameter As
ParameterSymbol
887
Protected Sub New(curriedFromParameter As
ParameterSymbol
)
937
Friend Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
Symbols\Retargeting\RetargetingMethodSymbol.vb (5)
39
Private _lazyParameters As ImmutableArray(Of
ParameterSymbol
)
192
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
202
Private Function RetargetParameters() As ImmutableArray(Of
ParameterSymbol
)
207
Return ImmutableArray(Of
ParameterSymbol
).Empty
209
Dim parameters = New
ParameterSymbol
(count - 1) {}
Symbols\Retargeting\RetargetingParameterSymbol.vb (8)
23
Private ReadOnly _underlyingParameter As
ParameterSymbol
33
Public Shared Function CreateMethodParameter(retargetingMethod As RetargetingMethodSymbol, underlyingParameter As
ParameterSymbol
) As RetargetingParameterSymbol
37
Public Shared Function CreatePropertyParameter(retargetingProperty As RetargetingPropertySymbol, underlyingParameter As
ParameterSymbol
) As RetargetingParameterSymbol
41
Protected Sub New(underlyingParameter As
ParameterSymbol
)
52
Public ReadOnly Property UnderlyingParameter As
ParameterSymbol
144
Friend Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
280
Public Sub New(retargetingMethod As RetargetingMethodSymbol, underlyingParameter As
ParameterSymbol
)
302
Public Sub New(retargetingProperty As RetargetingPropertySymbol, underlyingParameter As
ParameterSymbol
)
Symbols\Retargeting\RetargetingPropertySymbol.vb (5)
27
Private _lazyParameters As ImmutableArray(Of
ParameterSymbol
)
203
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
219
Private Function RetargetParameters() As ImmutableArray(Of
ParameterSymbol
)
224
Return ImmutableArray(Of
ParameterSymbol
).Empty
226
Dim parameters = New
ParameterSymbol
(count - 1) {}
Symbols\Retargeting\RetargetingSymbolTranslator.vb (4)
962
Dim targetParamsBuilder = ArrayBuilder(Of
ParameterSymbol
).GetInstance(method.Parameters.Length)
963
For Each param As
ParameterSymbol
In method.Parameters
1084
Dim targetParamsBuilder = ArrayBuilder(Of
ParameterSymbol
).GetInstance()
1085
For Each param As
ParameterSymbol
In [property].Parameters
Symbols\SignatureOnlyMethodSymbol.vb (3)
26
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
34
Public Sub New(ByVal name As String, ByVal m_containingType As TypeSymbol, ByVal methodKind As MethodKind, ByVal callingConvention As CallingConvention, ByVal typeParameters As ImmutableArray(Of TypeParameterSymbol), ByVal parameters As ImmutableArray(Of
ParameterSymbol
),
106
Public Overrides ReadOnly Property Parameters() As ImmutableArray(Of
ParameterSymbol
)
Symbols\SignatureOnlyParameterSymbol.vb (1)
112
Friend Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
Symbols\SignatureOnlyPropertySymbol.vb (3)
25
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
37
parameters As ImmutableArray(Of
ParameterSymbol
),
87
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\Source\CustomEventAccessorSymbol.vb (3)
64
Protected Overrides Function GetParameters(sourceModule As SourceModuleSymbol, diagBag As BindingDiagnosticBag) As ImmutableArray(Of
ParameterSymbol
)
153
diagnostics As BindingDiagnosticBag) As ImmutableArray(Of
ParameterSymbol
)
157
Dim paramBuilder = ArrayBuilder(Of
ParameterSymbol
).GetInstance(nParameters)
Symbols\Source\CustomModifierUtils.vb (9)
20
<[In], Out> ByRef parameters As ImmutableArray(Of
ParameterSymbol
))
67
overriddenMemberParameters As ImmutableArray(Of
ParameterSymbol
),
68
parameters As ImmutableArray(Of
ParameterSymbol
)
69
) As ImmutableArray(Of
ParameterSymbol
)
75
Dim builder As ArrayBuilder(Of
ParameterSymbol
) = Nothing
78
Dim thisParam As
ParameterSymbol
= parameters(i)
82
builder = ArrayBuilder(Of
ParameterSymbol
).GetInstance()
100
overriddenParam As
ParameterSymbol
,
101
<[In], Out> ByRef thisParam As
ParameterSymbol
Symbols\Source\LambdaParameterSymbol.vb (1)
59
Friend Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
Symbols\Source\LambdaSymbol.vb (4)
47
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
68
_parameters = StaticCast(Of
ParameterSymbol
).From(parameters)
128
Friend Overrides Function TryGetMeParameter(<Out> ByRef meParameter As
ParameterSymbol
) As Boolean
288
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\Source\MeParameterSymbol.vb (1)
60
Friend Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
Symbols\Source\SourceClonedParameterSymbol.vb (3)
88
Friend Overloads Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
161
Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As
ParameterSymbol
230
Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As
ParameterSymbol
Symbols\Source\SourceComplexParameterSymbol.vb (8)
128
Return ExplicitDefaultConstantValue(SymbolsInProgress(Of
ParameterSymbol
).Empty) IsNot Nothing
132
Friend Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
146
Private Function BindDefaultValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
), diagnostics As BindingDiagnosticBag) As ConstantValue
297
defaultValueOpt As ConstantValue) As
ParameterSymbol
313
Friend Overrides Function ChangeOwner(newContainingSymbol As Symbol) As
ParameterSymbol
330
diagnostics As BindingDiagnosticBag) As
ParameterSymbol
405
Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As
ParameterSymbol
452
Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As
ParameterSymbol
Symbols\Source\SourceDelegateMethodSymbol.vb (6)
23
Private _parameters As ImmutableArray(Of
ParameterSymbol
)
41
Protected Sub InitializeParameters(parameters As ImmutableArray(Of
ParameterSymbol
))
53
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
227
InitializeParameters(ImmutableArray.Create(Of
ParameterSymbol
)(
287
Dim parameters = ArrayBuilder(Of
ParameterSymbol
).GetInstance()
334
Dim parameters = ArrayBuilder(Of
ParameterSymbol
).GetInstance()
Symbols\Source\SourceEnumConstantSymbol.vb (1)
82
Friend Overrides ReadOnly Property MeParameter As
ParameterSymbol
Symbols\Source\SourceEventSymbol.vb (2)
48
Private _lazyDelegateParameters As ImmutableArray(Of
ParameterSymbol
)
309
Friend Overrides ReadOnly Property DelegateParameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (6)
993
parameters As ImmutableArray(Of
ParameterSymbol
),
1000
For Each param As
ParameterSymbol
In parameters
1910
Dim declMethodParams As ImmutableArray(Of
ParameterSymbol
) = partialMethod.Parameters
1911
Dim implMethodParams As ImmutableArray(Of
ParameterSymbol
) = implMethod.Parameters
1914
Dim declParameter As
ParameterSymbol
= declMethodParams(index)
1915
Dim implParameter As
ParameterSymbol
= implMethodParams(index)
Symbols\Source\SourceMemberFieldSymbol.vb (3)
22
Private _lazyMeParameter As
ParameterSymbol
61
Friend Overrides ReadOnly Property MeParameter As
ParameterSymbol
67
Interlocked.CompareExchange(Of
ParameterSymbol
)(_lazyMeParameter, New MeParameterSymbol(Me), Nothing)
Symbols\Source\SourceMethodSymbol.vb (11)
33
Private _lazyMeParameter As
ParameterSymbol
1298
Friend NotOverridable Overrides Function TryGetMeParameter(<Out> ByRef meParameter As
ParameterSymbol
) As Boolean
1505
Dim firstParam As
ParameterSymbol
= Me.Parameters(0)
1635
Dim firstParam As
ParameterSymbol
= Me.Parameters(0)
2050
Public MustOverride Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
2065
Private _lazyParameters As ImmutableArray(Of
ParameterSymbol
)
2107
Public NotOverridable Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
2120
Dim params As ImmutableArray(Of
ParameterSymbol
) = GetParameters(sourceModule, diagBag)
2146
Dim fakeParamsBuilder = ArrayBuilder(Of
ParameterSymbol
).GetInstance(params.Length)
2147
For Each param As
ParameterSymbol
In params
2237
diagBag As BindingDiagnosticBag) As ImmutableArray(Of
ParameterSymbol
)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (12)
1047
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
1056
_parameters = ImmutableArray(Of
ParameterSymbol
).Empty
1058
Dim parameters(clone.ParameterCount - 1) As
ParameterSymbol
1278
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
1426
Private ReadOnly _clonedFrom As
ParameterSymbol
1428
Public Sub New(container As SynthesizedComMethod, clone As
ParameterSymbol
)
1433
Public Sub New(container As SynthesizedComProperty, clone As
ParameterSymbol
)
1474
Friend Overloads Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
1673
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
1690
_parameters = ImmutableArray(Of
ParameterSymbol
).Empty
1692
Dim parameters(clone.ParameterCount - 1) As
ParameterSymbol
1814
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\Source\SourceParameterSymbol.vb (1)
119
Private Function GetMatchingPropertyParameter() As
ParameterSymbol
Symbols\Source\SourceParameterSymbolBase.vb (1)
77
Friend MustOverride Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As
ParameterSymbol
Symbols\Source\SourcePropertyAccessorSymbol.vb (10)
23
Private _lazyParameters As ImmutableArray(Of
ParameterSymbol
)
44
Private Shared Function SynthesizeAutoGetterParameters(getter As SourcePropertyAccessorSymbol, propertySymbol As SourcePropertySymbol) As ImmutableArray(Of
ParameterSymbol
)
46
Return ImmutableArray(Of
ParameterSymbol
).Empty
49
Dim parameters = ArrayBuilder(Of
ParameterSymbol
).GetInstance(propertySymbol.ParameterCount)
54
Private Shared Function SynthesizeAutoSetterParameters(setter As SourcePropertyAccessorSymbol, propertySymbol As SourcePropertySymbol) As ImmutableArray(Of
ParameterSymbol
)
64
Dim parameters = ArrayBuilder(Of
ParameterSymbol
).GetInstance(propertySymbol.ParameterCount + 1)
249
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
285
Private Function GetParameters(sourceModule As SourceModuleSymbol, diagBag As BindingDiagnosticBag) As ImmutableArray(Of
ParameterSymbol
)
393
diagnostics As BindingDiagnosticBag) As ImmutableArray(Of
ParameterSymbol
)
400
Dim parameters = ArrayBuilder(Of
ParameterSymbol
).GetInstance(nParameters)
Symbols\Source\SourcePropertySymbol.vb (13)
33
Private _lazyParameters As ImmutableArray(Of
ParameterSymbol
)
39
Private _lazyMeParameter As
ParameterSymbol
290
Friend Sub CloneParametersForAccessor(method As MethodSymbol, parameterBuilder As ArrayBuilder(Of
ParameterSymbol
))
294
Dim clone As
ParameterSymbol
= New SourcePropertyClonedParameterSymbolForAccessors(DirectCast(parameter, SourceParameterSymbol), method)
774
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
786
Dim params As ImmutableArray(Of
ParameterSymbol
) = ComputeParameters(diagnostics)
797
Dim fakeParamsBuilder = ArrayBuilder(Of
ParameterSymbol
).GetInstance(params.Length)
798
For Each param As
ParameterSymbol
In params
871
Private Function ComputeParameters(diagnostics As BindingDiagnosticBag) As ImmutableArray(Of
ParameterSymbol
)
875
Return ImmutableArray(Of
ParameterSymbol
).Empty
897
Friend Overrides ReadOnly Property MeParameter As
ParameterSymbol
903
Interlocked.CompareExchange(Of
ParameterSymbol
)(_lazyMeParameter, New MeParameterSymbol(Me), Nothing)
1210
Private Shared Function HasRequiredParameters(parameters As ImmutableArray(Of
ParameterSymbol
)) As Boolean
Symbols\Source\SourceSimpleParameterSymbol.vb (4)
35
Friend Overrides Function ChangeOwner(newContainingSymbol As Symbol) As
ParameterSymbol
92
Friend Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
162
Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As
ParameterSymbol
206
Friend Overrides Function WithTypeAndCustomModifiers(type As TypeSymbol, customModifiers As ImmutableArray(Of CustomModifier), refCustomModifiers As ImmutableArray(Of CustomModifier)) As
ParameterSymbol
Symbols\Source\SynthesizedConstructorSymbol.vb (2)
49
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
51
Return ImmutableArray(Of
ParameterSymbol
).Empty
Symbols\Source\SynthesizedEntryPointSymbol.vb (5)
241
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
243
Return ImmutableArray(Of
ParameterSymbol
).Empty
315
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
321
_parameters = ImmutableArray.Create(Of
ParameterSymbol
)(New SynthesizedParameterSymbol(Me, submissionArrayType, ordinal:=0, isByRef:=False, name:="submissionArray"))
330
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\Source\SynthesizedEventAccessorSymbol.vb (5)
21
Private _lazyParameters As ImmutableArray(Of
ParameterSymbol
)
48
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
62
Dim parameterList = ImmutableArray.Create(Of
ParameterSymbol
)(parameter)
205
Dim parameterSymbol As
ParameterSymbol
= accessor.Parameters.Single()
280
Dim meParameter As
ParameterSymbol
= accessor.MeParameter
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (3)
188
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
193
Dim params() As
ParameterSymbol
= {SynthesizedParameterSymbol.CreateSetAccessorValueParameter(Me, [property], StringConstants.ValueParameterName)}
217
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\Source\SynthesizedSubmissionConstructorSymbol.vb (3)
12
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
36
_parameters = ImmutableArray.Create(Of
ParameterSymbol
)(
40
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\Source\SynthesizedWithEventsAccessorSymbol.vb (8)
16
Private _lazyParameters As ImmutableArray(Of
ParameterSymbol
)
78
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
88
Protected MustOverride Function GetParameters() As ImmutableArray(Of
ParameterSymbol
)
136
Protected Overrides Function GetParameters() As ImmutableArray(Of
ParameterSymbol
)
140
Dim parameters = ArrayBuilder(Of
ParameterSymbol
).GetInstance(propertySymbol.ParameterCount)
145
Return ImmutableArray(Of
ParameterSymbol
).Empty
184
Protected Overrides Function GetParameters() As ImmutableArray(Of
ParameterSymbol
)
186
Dim parameters = ArrayBuilder(Of
ParameterSymbol
).GetInstance(propertySymbol.ParameterCount + 1)
Symbols\Source\UnboundLambdaParameterSymbol.vb (1)
68
diagBag As BindingDiagnosticBag) As
ParameterSymbol
Symbols\SubstitutedMethodSymbol.vb (15)
28
Protected Overridable Function SubstituteParameters() As ImmutableArray(Of
ParameterSymbol
)
34
Return ImmutableArray(Of
ParameterSymbol
).Empty
36
Dim substituted As
ParameterSymbol
() = New
ParameterSymbol
(count - 1) {}
301
Public MustOverride Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
348
Friend NotOverridable Overrides Function TryGetMeParameter(<Out> ByRef meParameter As
ParameterSymbol
) As Boolean
354
Dim originalMeParameter As
ParameterSymbol
= Nothing
488
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
497
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
565
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
618
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
792
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
818
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
838
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
860
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\SubstitutedParameterSymbol.vb (8)
17
Private ReadOnly _originalDefinition As
ParameterSymbol
19
Public Shared Function CreateMethodParameter(container As SubstitutedMethodSymbol, originalDefinition As
ParameterSymbol
) As SubstitutedParameterSymbol
23
Public Shared Function CreatePropertyParameter(container As SubstitutedPropertySymbol, originalDefinition As
ParameterSymbol
) As SubstitutedParameterSymbol
27
Protected Sub New(originalDefinition As
ParameterSymbol
)
52
Friend Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
188
Public Overrides ReadOnly Property OriginalDefinition As
ParameterSymbol
235
originalDefinition As
ParameterSymbol
)
262
originalDefinition As
ParameterSymbol
)
Symbols\SubstitutedPropertySymbol.vb (6)
24
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
200
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
249
Private Function SubstituteParameters() As ImmutableArray(Of
ParameterSymbol
)
255
Return ImmutableArray(Of
ParameterSymbol
).Empty
257
Dim substituted As
ParameterSymbol
() = New
ParameterSymbol
(count - 1) {}
Symbols\SymbolExtensions.vb (4)
320
Friend Function GetMeParameter(sym As Symbol) As
ParameterSymbol
339
Friend Function GetParameters(sym As Symbol) As ImmutableArray(Of
ParameterSymbol
)
346
Return ImmutableArray(Of
ParameterSymbol
).Empty
481
Private Function ContainsTupleNames(parameters As ImmutableArray(Of
ParameterSymbol
)) As Boolean
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (4)
25
Private _parameters As ImmutableArray(Of
ParameterSymbol
)
54
Friend Sub SetParameters(parameters As ImmutableArray(Of
ParameterSymbol
))
330
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
335
Return ImmutableArray(Of
ParameterSymbol
).Empty
Symbols\SynthesizedSymbols\SynthesizedGlobal_StringSwitchHashMethodSymbol.vb (3)
25
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
34
_parameters = ImmutableArray.Create(Of
ParameterSymbol
)(New SynthesizedParameterSimpleSymbol(Me, compilation.GetSpecialType(SpecialType.System_String), 0, "s"))
47
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (2)
174
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
176
Return ImmutableArray(Of
ParameterSymbol
).Empty
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionConstructorSymbol.vb (5)
14
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
19
_parameters = ImmutableArray.Create(Of
ParameterSymbol
)(
27
Public ReadOnly Property MessageParameter As
ParameterSymbol
36
Public ReadOnly Property CodeParameter As
ParameterSymbol
48
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\SynthesizedSymbols\SynthesizedInterfaceImplementationStubSymbol.vb (4)
22
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
47
Dim builder = ArrayBuilder(Of
ParameterSymbol
).GetInstance()
48
For Each p As
ParameterSymbol
In implementingMethod.Parameters
95
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (4)
12
Private ReadOnly _parameters As ImmutableArray(Of
ParameterSymbol
)
20
_parameters = (New
ParameterSymbol
() {New SynthesizedOperatorParameterSymbol(Me, container, 0, "left"),
29
_parameters = (New
ParameterSymbol
() {New SynthesizedOperatorParameterSymbol(Me, container, 0, "value")}).AsImmutableOrNull()
54
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\SynthesizedSymbols\SynthesizedMethod.vb (4)
52
origParameter As
ParameterSymbol
) As
ParameterSymbol
88
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
90
Return ImmutableArray(Of
ParameterSymbol
).Empty
Symbols\SynthesizedSymbols\SynthesizedMethodBase.vb (4)
18
Private _lazyMeParameter As
ParameterSymbol
172
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
174
Return ImmutableArray(Of
ParameterSymbol
).Empty
178
Friend NotOverridable Overrides Function TryGetMeParameter(<Out> ByRef meParameter As
ParameterSymbol
) As Boolean
Symbols\SynthesizedSymbols\SynthesizedOverridingWitheventsProperty.vb (2)
189
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
192
Return ImmutableArray(Of
ParameterSymbol
).Empty
Symbols\SynthesizedSymbols\SynthesizedParameterSymbol.vb (3)
66
Friend Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
305
Friend Shared Function CreateSetAccessorValueParameter(setter As MethodSymbol, propertySymbol As PropertySymbol, parameterName As String) As
ParameterSymbol
359
Friend NotOverridable Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
Symbols\SynthesizedSymbols\SynthesizedPropertyBase.vb (2)
32
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
34
Return ImmutableArray(Of
ParameterSymbol
).Empty
Symbols\SynthesizedSymbols\SynthesizedRegularMethodBase.vb (2)
149
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
151
Return ImmutableArray(Of
ParameterSymbol
).Empty
Symbols\SynthesizedSymbols\SynthesizedSimpleConstructorSymbol.vb (3)
17
Private _parameters As ImmutableArray(Of
ParameterSymbol
)
29
Friend Sub SetParameters(parameters As ImmutableArray(Of
ParameterSymbol
))
42
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\SynthesizedSymbols\SynthesizedSimpleMethodSymbol.vb (3)
18
Private _parameters As ImmutableArray(Of
ParameterSymbol
)
88
Friend Sub SetParameters(parameters As ImmutableArray(Of
ParameterSymbol
))
101
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
Symbols\Tuples\TupleMethodSymbol.vb (5)
24
Private _lazyParameters As ImmutableArray(Of
ParameterSymbol
)
62
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
65
InterlockedOperations.Initialize(Of
ParameterSymbol
)(Me._lazyParameters, Me.CreateParameters())
115
Private Function CreateParameters() As ImmutableArray(Of
ParameterSymbol
)
116
Return Me._underlyingMethod.Parameters.SelectAsArray(Of
ParameterSymbol
)(Function(p) New TupleParameterSymbol(Me, p))
Symbols\Tuples\TupleParameterSymbol.vb (1)
44
Public Sub New(container As Symbol, underlyingParameter As
ParameterSymbol
)
Symbols\Tuples\TuplePropertySymbol.vb (5)
20
Private _lazyParameters As ImmutableArray(Of
ParameterSymbol
)
52
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of
ParameterSymbol
)
56
InterlockedOperations.Initialize(Of
ParameterSymbol
)(Me._lazyParameters, Me.CreateParameters())
113
Private Function CreateParameters() As ImmutableArray(Of
ParameterSymbol
)
114
Return Me._underlyingProperty.Parameters.SelectAsArray(Of
ParameterSymbol
)(Function(p) New TupleParameterSymbol(Me, p))
Symbols\Wrapped\WrappedParameterSymbol.vb (4)
23
Protected _underlyingParameter As
ParameterSymbol
25
Public ReadOnly Property UnderlyingParameter As
ParameterSymbol
157
Friend Overrides ReadOnly Property ExplicitDefaultConstantValue(inProgress As SymbolsInProgress(Of
ParameterSymbol
)) As ConstantValue
169
Protected Sub New(underlyingParameter As
ParameterSymbol
)