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