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)
189Public Overrides ReadOnly Property Arity As Integer
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
81Public Overrides ReadOnly Property Arity As Integer
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
1307Public 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
83 references to Arity
Microsoft.CodeAnalysis.VisualBasic (83)
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) 502typeArguments.CheckTypeArguments(Me.Arity) 945If (p.Arity <> 0) Then 1030For i As Integer = 0 To Me.Arity - 1 1319Return Me.Arity 1530Dim arity = Me.Arity 1547If underlying.Arity = TupleTypeSymbol.RestPosition AndAlso Not TypeSymbol.Equals(underlying.OriginalDefinition, Me.OriginalDefinition, TypeCompareKind.ConsiderEverything) Then 1556arity = 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)
604Debug.Assert(typeParameterIndex >= 0 AndAlso typeParameterIndex < constructedType.Arity) 755If typeParameterInfo.ConstructedType.Arity <= 1 Then 765Debug.Assert(typeParameterInfo.ConstructedType.Arity > 1) 779If typeParameterInfo.ConstructedType.Arity <= 1 Then 791Debug.Assert(typeParameterInfo.ConstructedType.Arity > 1) 864If typeParameterInfo.ConstructedType.Arity <= 1 Then 869Debug.Assert(typeParameterInfo.ConstructedType.Arity > 1) 878If typeParameterInfo.ConstructedType.Arity <= 1 Then 884Debug.Assert(typeParameterInfo.ConstructedType.Arity > 1) 916For argumentIndex As Integer = 0 To namedType.Arity - 1
Symbols\Source\SourceNamedTypeSymbol.vb (1)
514If contender.Arity <> arity Then
Symbols\SubstitutedMethodSymbol.vb (1)
644If containerToCheck.Arity > 0 Then
Symbols\SubstitutedNamedType.vb (6)
106Return OriginalDefinition.Arity 304If memberType.Arity = 0 Then 680Debug.Assert(fullInstanceType.Arity > 0) 712Debug.Assert(Not typeParameters.IsDefault AndAlso typeParameters.Length = DirectCast(substitution.TargetGenericDefinition, NamedTypeSymbol).Arity) 752If containerToCheck.Arity > 0 Then 857Debug.Assert(fullInstanceType.Arity = 0)
Symbols\SymbolExtensions.vb (1)
309Return (DirectCast(symbol, NamedTypeSymbol)).Arity
Symbols\Tuples\TupleTypeSymbol.vb (10)
420If tupleCompatibleType.Arity = TupleTypeSymbol.RestPosition Then 442Loop While namedTypeSymbol.Arity = TupleTypeSymbol.RestPosition 511If namedTypeSymbol.Arity <> TupleTypeSymbol.RestPosition Then 526Dim length As Integer = Math.Min(namedTypeSymbol.Arity, TupleTypeSymbol.RestPosition - 1) 528If namedTypeSymbol.Arity <> TupleTypeSymbol.RestPosition Then 705Dim currentFieldsForElements = ArrayBuilder(Of FieldSymbol).GetInstance(currentUnderlying.Arity) 809If currentUnderlying.Arity <> RestPosition Then 817If currentUnderlying.Arity <> RestPosition Then 881Dim num As Integer = Math.Min(underlying.Arity, TupleTypeSymbol.RestPosition - 1) 883Dim 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 (5)
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 1342namedTypeSymbol.Arity = 0 AndAlso
Symbols\UnboundGenericType.vb (8)
105Return OriginalDefinition.Arity 372If originalDefinition.Arity = 0 Then 424ElseIf OriginalDefinition.Arity = 0 Then 439If OriginalDefinition.Arity = 0 Then 450Debug.Assert(OriginalDefinition.Arity > 0) 451Dim arguments(OriginalDefinition.Arity - 1) As TypeSymbol 475If OriginalDefinition.Arity = 0 Then 568Debug.Assert(originalDefinition.Arity > 0)
Symbols\Wrapped\WrappedNamedTypeSymbol.vb (1)
38Return Me._underlyingType.Arity