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