2 writes to Type
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\TypeWithModifiers.vb (2)
17Me.Type = type 23Me.Type = type
42 references to Type
Microsoft.CodeAnalysis.VisualBasic (42)
Symbols\AnonymousTypes\AnonymousTypeDescriptor.vb (1)
127current.Type.InternalSubstituteTypeParameters(substitution).Type,
Symbols\ArrayTypeSymbol.vb (3)
527newArray = New SZArray(newElementType.Type, newElementType.CustomModifiers, _systemArray, newInterfaces) 530newArray = New MDArrayNoSizesOrBounds(newElementType.Type, newElementType.CustomModifiers, Me.Rank, _systemArray) 533newArray = New MDArrayWithSizesAndBounds(newElementType.Type, newElementType.CustomModifiers, Me.Rank, Me.Sizes, Me.LowerBounds, _systemArray)
Symbols\MethodSignatureComparer.vb (9)
458If Not type1.Type.IsSameType(type2.Type, TypeCompareKind.AllIgnoreOptionsForVB) Then 465Not type1.Type.IsSameType(type2.Type, TypeCompareKind.AllIgnoreOptionsForVB And Not TypeCompareKind.IgnoreTupleNames) Then 574If Not type1.Type.IsSameType(type2.Type, TypeCompareKind.AllIgnoreOptionsForVB) Then 588Not type1.Type.IsSameType(type2.Type, TypeCompareKind.AllIgnoreOptionsForVB And 939result.Add(SubstituteType(substitution, New TypeWithModifiers(constraintType)).Type)
Symbols\ReducedExtensionMethodSymbol.vb (3)
173receiverType = receiverType.InternalSubstituteTypeParameters(partialSubstitution).Type 395type = type.InternalSubstituteTypeParameters(_curryTypeSubstitution).Type 864paramType = paramType.InternalSubstituteTypeParameters(_curriedMethod._curryTypeSubstitution).Type
Symbols\Retargeting\RetargetingSymbolTranslator.vb (1)
457If Not anythingRetargeted AndAlso (modifiersHaveChanged OrElse Not TypeSymbol.Equals(newArg.Type, arg.Type, TypeCompareKind.ConsiderEverything)) Then
Symbols\SubstitutedFieldSymbol.vb (1)
164Return _originalDefinition.Type.InternalSubstituteTypeParameters(_containingType.TypeSubstitution).Type
Symbols\SubstitutedMethodSymbol.vb (1)
311Return OriginalDefinition.ReturnType.InternalSubstituteTypeParameters(Me.TypeSubstitution).Type
Symbols\SubstitutedParameterSymbol.vb (1)
100Return _originalDefinition.Type.InternalSubstituteTypeParameters(TypeSubstitution).Type
Symbols\SubstitutedPropertySymbol.vb (1)
220Return _originalDefinition.Type.InternalSubstituteTypeParameters(TypeSubstitution).Type
Symbols\Tuples\TupleTypeSymbol.vb (1)
1072Dim substitutedUnderlying = DirectCast(Me.TupleUnderlyingType.InternalSubstituteTypeParameters(substitution).Type, NamedTypeSymbol)
Symbols\TypeSubstitution.vb (12)
166result(p.Key.Ordinal) = p.Value.Type 244Dim value As TypeSymbol = pair.Value.Type 445If arg.Type.IsTypeParameter() AndAlso Not arg.Type.IsDefinition Then 551builder.AppendFormat("{0}->{1}", _pairs(i).Key.ToString(), _pairs(i).Value.Type.ToString()) 643If argument.Type.IsTypeParameter() Then 644Dim typeParameter = DirectCast(argument.Type, TypeParameterSymbol) 672If argument.Type.IsTypeParameter() Then 673Dim typeParameter = DirectCast(argument.Type, TypeParameterSymbol) 837If arg.Type.IsTypeParameter() AndAlso Not arg.Type.IsDefinition Then 905If Not pair.Key.Equals(pair.Value.Type.OriginalDefinition) Then
Symbols\TypeWithModifiers.vb (8)
37If Not Me.Type.IsSameType(other.Type, compareKind) Then 59Return Hash.Combine(Me.Type, Hash.CombineValues(Me.CustomModifiers)) 63Return TypeSymbol.Equals(Me.Type, other, TypeCompareKind.ConsiderEverything) AndAlso Me.CustomModifiers.IsEmpty 78Return Me.Type 83Dim newTypeWithModifiers As TypeWithModifiers = Me.Type.InternalSubstituteTypeParameters(substitution) 84If Not newTypeWithModifiers.Is(Me.Type) OrElse newCustomModifiers <> Me.CustomModifiers Then 85Return New TypeWithModifiers(newTypeWithModifiers.Type, newCustomModifiers.Concat(newTypeWithModifiers.CustomModifiers))