2 overrides of ParameterCount
Microsoft.CodeAnalysis.VisualBasic (2)
Semantics\OverloadResolution.vb (2)
171
Public Overrides ReadOnly Property
ParameterCount
As Integer
410
Public Overrides ReadOnly Property
ParameterCount
As Integer
43 references to ParameterCount
Microsoft.CodeAnalysis.VisualBasic (43)
Binding\Binder_Delegates.vb (1)
786
Dim candidateParameterCount = bestCandidate.
ParameterCount
Binding\Binder_Invocation.vb (14)
1503
(Not queryMode OrElse singleCandidate.
ParameterCount
<= boundArguments.Length) Then
1596
singleCandidate.
ParameterCount
<> 0 AndAlso
1597
singleCandidate.Parameters(singleCandidate.
ParameterCount
- 1).IsParamArray)
2018
Dim parameterToArgumentMap As ArrayBuilder(Of Integer) = ArrayBuilder(Of Integer).GetInstance(candidate.
ParameterCount
, -1)
2053
If paramIndex = candidate.
ParameterCount
- 1 AndAlso candidate.Parameters(paramIndex).IsParamArray Then
2060
If paramIndex = candidate.
ParameterCount
Then
2076
ElseIf paramIndex = candidate.
ParameterCount
- 1 AndAlso
2146
If paramIndex = candidate.
ParameterCount
- 1 AndAlso
2292
For paramIndex = 0 To candidate.
ParameterCount
- 1 Step 1
2300
If param.IsParamArray AndAlso paramIndex = candidate.
ParameterCount
- 1 Then
2638
Dim paramCount As Integer = candidate.Candidate.
ParameterCount
2679
paramIndex = candidate.Candidate.
ParameterCount
- 1) Then
2702
If candidate.IsExpandedParamArrayForm AndAlso paramIndex = candidate.Candidate.
ParameterCount
- 1 Then
2726
If argument IsNot Nothing AndAlso paramIndex = candidate.Candidate.
ParameterCount
- 1 AndAlso
Semantics\OverloadResolution.vb (28)
100
maxCount = Me.
ParameterCount
120
For i As Integer = 0 To Me.
ParameterCount
- 1 Step 1
1438
Debug.Assert(newCandidate.Candidate.
ParameterCount
>= argumentCount OrElse newCandidate.IsExpandedParamArrayForm)
1457
Debug.Assert(existingCandidate.Candidate.
ParameterCount
>= argumentCount OrElse existingCandidate.IsExpandedParamArrayForm)
1478
If existingCandidate.Candidate.
ParameterCount
<> newCandidate.Candidate.
ParameterCount
Then
1483
Debug.Assert(argumentCount = existingCandidate.Candidate.
ParameterCount
)
2173
If left.Candidate.
ParameterCount
<> right.Candidate.
ParameterCount
Then
2176
For k As Integer = 0 To left.Candidate.
ParameterCount
- 1 Step 1
3043
parameterToArgumentMap = ArrayBuilder(Of Integer).GetInstance(candidate.Candidate.
ParameterCount
, -1)
3084
If paramIndex = candidate.Candidate.
ParameterCount
- 1 AndAlso
3102
If paramIndex = candidate.Candidate.
ParameterCount
- 1 AndAlso
3114
paramIndex = candidate.Candidate.
ParameterCount
- 1) Then
3151
If paramIndex = candidate.Candidate.
ParameterCount
- 1 AndAlso
3281
For paramIndex = 0 To candidate.Candidate.
ParameterCount
- 1 Step 1
3292
If param.IsParamArray AndAlso paramIndex = candidate.Candidate.
ParameterCount
- 1 Then
3510
optionalArguments = New OptionalArgument(candidate.Candidate.
ParameterCount
- 1) {}
4218
candidateAnalysis.ExpandedParamArrayArgumentsUsed = Math.Max(arguments.Length - candidate.Candidate.
ParameterCount
+ 1, 0)
4290
Debug.Assert(newCandidate.Candidate.
ParameterCount
>= argumentCount OrElse newCandidate.IsExpandedParamArrayForm)
4349
Debug.Assert(existingCandidate.Candidate.
ParameterCount
>= argumentCount OrElse existingCandidate.IsExpandedParamArrayForm)
4363
If existingCandidate.Candidate.
ParameterCount
<> newCandidate.Candidate.
ParameterCount
Then
4367
Debug.Assert(argumentCount = existingCandidate.Candidate.
ParameterCount
)
4490
For j As Integer = 0 To existingCandidate.Candidate.
ParameterCount
- 1 Step 1
5206
paramIndex = candidate.Candidate.
ParameterCount
- 1 AndAlso
5233
paramIndex = candidate.Candidate.
ParameterCount
- 1 AndAlso
5247
paramIndex = candidate.Candidate.
ParameterCount
- 1) Then