2 writes to CustomModifiers
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\TypeWithModifiers.vb (2)
18
Me.
CustomModifiers
= customModifiers.NullToEmpty
24
Me.
CustomModifiers
= ImmutableArray(Of CustomModifier).Empty
21 references to CustomModifiers
Microsoft.CodeAnalysis.VisualBasic (21)
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\TypeSubstitution.vb (6)
167
If Not p.Value.
CustomModifiers
.IsDefaultOrEmpty Then
197
Return p.Value.
CustomModifiers
220
If Not p.Value.
CustomModifiers
.IsDefaultOrEmpty Then
649
If argument.
CustomModifiers
.IsDefaultOrEmpty Then
675
If typeParameter.Ordinal = i AndAlso typeParameter.ContainingSymbol Is targetMethod AndAlso argument.
CustomModifiers
.IsDefaultOrEmpty Then
863
Return New TypeWithModifiers(type, customModifiers).InternalSubstituteTypeParameters(Me).
CustomModifiers
Symbols\TypeWithModifiers.vb (12)
42
Return If(Me.
CustomModifiers
.IsDefault,
43
other.
CustomModifiers
.IsDefault,
44
Not other.
CustomModifiers
.IsDefault AndAlso Me.
CustomModifiers
.SequenceEqual(other.
CustomModifiers
))
59
Return Hash.Combine(Me.Type, Hash.CombineValues(Me.
CustomModifiers
))
63
Return TypeSymbol.Equals(Me.Type, other, TypeCompareKind.ConsiderEverything) AndAlso Me.
CustomModifiers
.IsEmpty
77
Debug.Assert(Me.
CustomModifiers
.IsEmpty)
82
Dim newCustomModifiers = If(substitution IsNot Nothing, substitution.SubstituteCustomModifiers(Me.
CustomModifiers
), Me.
CustomModifiers
)
84
If Not newTypeWithModifiers.Is(Me.Type) OrElse newCustomModifiers <> Me.
CustomModifiers
Then
85
Return New TypeWithModifiers(newTypeWithModifiers.Type, newCustomModifiers.Concat(newTypeWithModifiers.
CustomModifiers
))