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