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