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