Symbols\ArrayTypeSymbol.vb (3)
516newArray = New SZArray(newElementType.Type, newElementType.CustomModifiers, _systemArray, newInterfaces)
519newArray = New MDArrayNoSizesOrBounds(newElementType.Type, newElementType.CustomModifiers, Me.Rank, _systemArray)
522newArray = New MDArrayWithSizesAndBounds(newElementType.Type, newElementType.CustomModifiers, Me.Rank, Me.Sizes, Me.LowerBounds, _systemArray)
Utilities\TypeUnification.vb (23)
72ElseIf t1.Type Is Nothing OrElse t2.Type Is Nothing Then
85If Not t1.Type.IsTypeParameter() AndAlso t2.Type.IsTypeParameter() Then
91Debug.Assert(t1.Type.IsTypeParameter() OrElse Not t2.Type.IsTypeParameter())
92Select Case t1.Type.Kind
94If t2.Type.TypeKind <> t1.Type.TypeKind OrElse Not t1.CustomModifiers.SequenceEqual(t2.CustomModifiers) Then
98Dim at1 As ArrayTypeSymbol = DirectCast(t1.Type, ArrayTypeSymbol)
99Dim at2 As ArrayTypeSymbol = DirectCast(t2.Type, ArrayTypeSymbol)
107If t2.Type.TypeKind <> t1.Type.TypeKind OrElse Not t1.CustomModifiers.SequenceEqual(t2.CustomModifiers) Then
111Dim nt1 As NamedTypeSymbol = DirectCast(t1.Type, NamedTypeSymbol)
112Dim nt2 As NamedTypeSymbol = DirectCast(t2.Type, NamedTypeSymbol)
151If t2.Type.SpecialType = SpecialType.System_Void Then
155Dim tp1 As TypeParameterSymbol = DirectCast(t1.Type, TypeParameterSymbol)
156If Contains(t2.Type, tp1) Then
166AddSubstitution(substitution, containingGenericType, tp1, New TypeWithModifiers(t2.Type))
173New TypeWithModifiers(t2.Type,
178If t2.Type.IsTypeParameter Then
179Dim tp2 As TypeParameterSymbol = DirectCast(t2.Type, TypeParameterSymbol)
189New TypeWithModifiers(t1.Type,