1 override of ElementType
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\ArrayTypeSymbol.vb (1)
496
Public NotOverridable Overrides ReadOnly Property
ElementType
As TypeSymbol
23 references to ElementType
Microsoft.CodeAnalysis.VisualBasic (23)
Emit\ArrayTypeSymbolAdapter.vb (1)
22
Dim type = moduleBeingBuilt.Translate(AdaptedArrayTypeSymbol.
ElementType
, syntaxNodeOpt:=DirectCast(context.SyntaxNode, VisualBasicSyntaxNode), diagnostics:=context.Diagnostics)
Emit\SynthesizedPrivateImplementationDetailsSharedConstructor.vb (1)
86
factory.Array(payloadArrayType.
ElementType
, ImmutableArray.Create(factory.MaximumMethodDefIndex()), ImmutableArray(Of BoundExpression).Empty)))
Symbols\ArrayTypeSymbol.vb (7)
328
If other Is Nothing OrElse Not other.HasSameShapeAs(Me) OrElse Not other.
ElementType
.Equals(
ElementType
, compareKind) Then
359
current = cur.
ElementType
375
Dim elementUseSiteInfo As UseSiteInfo(Of AssemblySymbol) = DeriveUseSiteInfoFromType(Me.
ElementType
)
389
Return If(Me.
ElementType
.GetUnificationUseSiteDiagnosticRecursive(owner, checkedTypes),
402
Return Me.
ElementType
408
Return Me.
ElementType
Symbols\Attributes\SourceAttributeData.vb (1)
191
specType = DirectCast(parameterType, ArrayTypeSymbol).
ElementType
.SpecialType
Symbols\Metadata\PE\MetadataDecoder.vb (1)
200
Return IsOrClosedOverATypeFromAssemblies(DirectCast(this, ArrayTypeSymbol).
ElementType
, assemblies)
Symbols\Metadata\PE\TupleTypeDecoder.vb (2)
262
Dim decodedElementType = DecodeType(type.
ElementType
)
263
Return If(decodedElementType Is type.
ElementType
, type, type.WithElementType(decodedElementType))
Symbols\MethodSymbol.vb (1)
562
Return array.IsSZArray AndAlso array.
ElementType
.SpecialType = SpecialType.System_String
Symbols\Retargeting\RetargetingSymbolTranslator.vb (2)
552
Return IsOrClosedOverAnExplicitLocalType(DirectCast(symbol, ArrayTypeSymbol).
ElementType
)
589
Dim oldElement As TypeSymbol = type.
ElementType
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
813
GenerateVarianceDiagnosticsForTypeRecursively(DirectCast(type, ArrayTypeSymbol).
ElementType
,
Symbols\TypeSymbolExtensions.vb (6)
172
If array.IsSZArray AndAlso array.
ElementType
.SpecialType = SpecialType.System_Char Then
382
this = DirectCast(this, ArrayTypeSymbol).
ElementType
525
possiblyArrayType = DirectCast(possiblyArrayType, ArrayTypeSymbol).
ElementType
671
typeWithContainingAssembly = DirectCast(typeWithContainingAssembly, ArrayTypeSymbol).
ElementType
884
current = DirectCast(current, ArrayTypeSymbol).
ElementType
916
type = arrayType.
ElementType