12 overrides of Arity
Microsoft.CodeAnalysis.VisualBasic (12)
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (1)
65
Public Overrides ReadOnly Property
Arity
As Integer
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (1)
122
Public Overrides ReadOnly Property
Arity
As Integer
Symbols\ErrorTypeSymbol.vb (1)
139
Public Overrides ReadOnly Property
Arity
As Integer
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
187
Public Overrides ReadOnly Property
Arity
As Integer
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
81
Public Overrides ReadOnly Property
Arity
As Integer
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
1306
Public NotOverridable Overrides ReadOnly Property
Arity
As Integer
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
714
Public Overrides ReadOnly Property
Arity
As Integer
Symbols\SubstitutedNamedType.vb (1)
104
Public NotOverridable Overrides ReadOnly Property
Arity
As Integer
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
154
Public Overrides ReadOnly Property
Arity
As Integer
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionSymbol.vb (1)
82
Public Overrides ReadOnly Property
Arity
As Integer
Symbols\UnboundGenericType.vb (1)
103
Public Overrides ReadOnly Property
Arity
As Integer
Symbols\Wrapped\WrappedNamedTypeSymbol.vb (1)
36
Public Overrides ReadOnly Property
Arity
As Integer
82 references to Arity
Microsoft.CodeAnalysis.VisualBasic (82)
Emit\NamedTypeSymbolAdapter.vb (5)
93
If Not AdaptedNamedTypeSymbol.IsDefinition AndAlso AdaptedNamedTypeSymbol.
Arity
> 0 AndAlso AdaptedNamedTypeSymbol.ConstructedFrom IsNot AdaptedNamedTypeSymbol Then
156
If Not AdaptedNamedTypeSymbol.IsDefinition AndAlso (AdaptedNamedTypeSymbol.
Arity
= 0 OrElse AdaptedNamedTypeSymbol.ConstructedFrom Is AdaptedNamedTypeSymbol) Then
186
If AdaptedNamedTypeSymbol.
Arity
> 0 AndAlso AdaptedNamedTypeSymbol.ConstructedFrom IsNot AdaptedNamedTypeSymbol Then
400
Return CType(AdaptedNamedTypeSymbol.
Arity
, UShort)
529
Return AdaptedNamedTypeSymbol.
Arity
<> 0
Symbols\ConstraintsHelper.vb (2)
502
Debug.Assert(typeArgumentsSyntax.Count = type.
Arity
)
1219
If type.
Arity
= 0 Then
Symbols\InstanceTypeSymbol.vb (4)
25
If
Arity
> 0 Then
48
Return
Arity
> 0
92
Debug.Assert(Me.
Arity
> 0)
103
If Me.
Arity
= 0 Then
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
72
cumulativeArity = namedType.
Arity
Symbols\Metadata\PE\SymbolFactory.vb (1)
102
argumentIndex -= typeToCheck.
Arity
Symbols\NamedTypeSymbol.vb (9)
62
If ordinal < 0 OrElse ordinal >= Me.
Arity
Then
170
Return If(MangleName, MetadataHelpers.ComposeAritySuffixedMetadataName(Name,
Arity
, associatedFileIdentifier:=Nothing), Name)
500
typeArguments.CheckTypeArguments(Me.
Arity
)
943
If (p.
Arity
<> 0) Then
1028
For i As Integer = 0 To Me.
Arity
- 1
1317
Return Me.
Arity
1528
Dim arity = Me.
Arity
1545
If underlying.
Arity
= TupleTypeSymbol.RestPosition AndAlso Not TypeSymbol.Equals(underlying.OriginalDefinition, Me.OriginalDefinition, TypeCompareKind.ConsiderEverything) Then
1554
arity = If(TryCast(typeToCheck, NamedTypeSymbol)?.
Arity
, 0)
Symbols\NamespaceSymbol.vb (2)
335
If fullEmittedName.InferredArity = named.
Arity
AndAlso named.MangleName AndAlso
373
If Not named.MangleName AndAlso (forcedArity = -1 OrElse forcedArity = named.
Arity
) AndAlso
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
83
Return _underlyingType.
Arity
Symbols\Retargeting\RetargetingSymbolTranslator.vb (9)
249
type.
Arity
= 0 Then
262
Dim name = MetadataTypeName.FromFullName(type.ToDisplayString(SymbolDisplayFormat.QualifiedNameOnlyFormat), forcedArity:=type.
Arity
)
366
mdName = MetadataTypeName.FromTypeName(type.MetadataName, forcedArity:=type.
Arity
)
376
mdName = MetadataTypeName.FromNamespaceAndTypeName(namespaceName, type.MetadataName, forcedArity:=type.
Arity
)
380
Debug.Assert(result1.
Arity
= type.
Arity
)
403
Debug.Assert(originalDefinition.
Arity
= 0 OrElse type.ConstructedFrom IsNot type)
426
Dim arity As Integer = genericType.
Arity
482
If genericType.
Arity
> 0 Then
Symbols\Source\SourceMemberContainerTypeSymbol.vb (10)
603
Debug.Assert(typeParameterIndex >= 0 AndAlso typeParameterIndex < constructedType.
Arity
)
754
If typeParameterInfo.ConstructedType.
Arity
<= 1 Then
764
Debug.Assert(typeParameterInfo.ConstructedType.
Arity
> 1)
778
If typeParameterInfo.ConstructedType.
Arity
<= 1 Then
790
Debug.Assert(typeParameterInfo.ConstructedType.
Arity
> 1)
863
If typeParameterInfo.ConstructedType.
Arity
<= 1 Then
868
Debug.Assert(typeParameterInfo.ConstructedType.
Arity
> 1)
877
If typeParameterInfo.ConstructedType.
Arity
<= 1 Then
883
Debug.Assert(typeParameterInfo.ConstructedType.
Arity
> 1)
915
For argumentIndex As Integer = 0 To namedType.
Arity
- 1
Symbols\Source\SourceNamedTypeSymbol.vb (1)
511
If contender.
Arity
<> arity Then
Symbols\SubstitutedMethodSymbol.vb (1)
640
If containerToCheck.
Arity
> 0 Then
Symbols\SubstitutedNamedType.vb (6)
106
Return OriginalDefinition.
Arity
298
If memberType.
Arity
= 0 Then
674
Debug.Assert(fullInstanceType.
Arity
> 0)
706
Debug.Assert(Not typeParameters.IsDefault AndAlso typeParameters.Length = DirectCast(substitution.TargetGenericDefinition, NamedTypeSymbol).
Arity
)
746
If containerToCheck.
Arity
> 0 Then
851
Debug.Assert(fullInstanceType.
Arity
= 0)
Symbols\SymbolExtensions.vb (1)
309
Return (DirectCast(symbol, NamedTypeSymbol)).
Arity
Symbols\Tuples\TupleTypeSymbol.vb (10)
414
If tupleCompatibleType.
Arity
= TupleTypeSymbol.RestPosition Then
436
Loop While namedTypeSymbol.
Arity
= TupleTypeSymbol.RestPosition
505
If namedTypeSymbol.
Arity
<> TupleTypeSymbol.RestPosition Then
520
Dim length As Integer = Math.Min(namedTypeSymbol.
Arity
, TupleTypeSymbol.RestPosition - 1)
522
If namedTypeSymbol.
Arity
<> TupleTypeSymbol.RestPosition Then
699
Dim currentFieldsForElements = ArrayBuilder(Of FieldSymbol).GetInstance(currentUnderlying.
Arity
)
803
If currentUnderlying.
Arity
<> RestPosition Then
811
If currentUnderlying.
Arity
<> RestPosition Then
875
Dim num As Integer = Math.Min(underlying.
Arity
, TupleTypeSymbol.RestPosition - 1)
877
Dim tupleTypeMember As WellKnownMember = TupleTypeSymbol.GetTupleTypeMember(underlying.
Arity
, i + 1)
Symbols\TypeSubstitution.vb (4)
157
Debug.Assert(originalDefinition.
Arity
> 0)
160
Dim result = ArrayBuilder(Of TypeSymbol).GetInstance(originalDefinition.
Arity
, fillWithValue:=Nothing)
213
Debug.Assert(originalDefinition.
Arity
> 0)
761
arity = DirectCast(targetGenericDefinition, NamedTypeSymbol).
Arity
Symbols\TypeSymbol.vb (2)
389
If emittedTypeName.InferredArity = named.
Arity
AndAlso named.MangleName AndAlso String.Equals(named.Name, emittedTypeName.UnmangledTypeName, StringComparison.Ordinal) Then
424
If Not named.MangleName AndAlso (forcedArity = -1 OrElse forcedArity = named.
Arity
) AndAlso
Symbols\TypeSymbolExtensions.vb (4)
264
For i As Integer = 0 To type1.
Arity
- 1
1064
If namedType.
Arity
= 1 AndAlso TypeSymbol.Equals(namedType.OriginalDefinition, compilation.GetWellKnownType(WellKnownType.System_Linq_Expressions_Expression_T), TypeCompareKind.ConsiderEverything) Then
1306
namedTypeSymbol.
Arity
= 0 AndAlso
1317
namedTypeSymbol.
Arity
= 0 AndAlso
Symbols\UnboundGenericType.vb (8)
105
Return OriginalDefinition.
Arity
366
If originalDefinition.
Arity
= 0 Then
418
ElseIf OriginalDefinition.
Arity
= 0 Then
433
If OriginalDefinition.
Arity
= 0 Then
444
Debug.Assert(OriginalDefinition.
Arity
> 0)
445
Dim arguments(OriginalDefinition.
Arity
- 1) As TypeSymbol
469
If OriginalDefinition.
Arity
= 0 Then
562
Debug.Assert(originalDefinition.
Arity
> 0)
Symbols\Wrapped\WrappedNamedTypeSymbol.vb (1)
38
Return Me._underlyingType.
Arity