20 references to TypeWithModifiers
Microsoft.CodeAnalysis.VisualBasic (20)
Symbols\ArrayTypeSymbol.vb (1)
516
Dim oldElementType = New
TypeWithModifiers
(_elementType, _customModifiers)
Symbols\Metadata\PE\SymbolFactory.vb (1)
128
arguments.SelectAsArray(Function(pair) New
TypeWithModifiers
(pair.Key, VisualBasicCustomModifier.Convert(pair.Value))))
Symbols\Metadata\PE\TupleTypeDecoder.vb (2)
193
decodedArgs.SelectAsArray(Function(t, i, m) New
TypeWithModifiers
(t, m.GetTypeArgumentCustomModifiers(i)), type),
194
decodedArgs.SelectAsArray(Function(t) New
TypeWithModifiers
(t, Nothing)))
Symbols\MethodSignatureComparer.vb (6)
347
New
TypeWithModifiers
(origDef1.ReturnType, origDef1.ReturnTypeCustomModifiers),
351
New
TypeWithModifiers
(origDef2.ReturnType, origDef2.ReturnTypeCustomModifiers),
668
Return SubstituteType(typeSubstitution, New
TypeWithModifiers
(param.OriginalDefinition.Type, param.OriginalDefinition.CustomModifiers))
670
Return New
TypeWithModifiers
(param.Type, param.CustomModifiers)
782
Dim returnType1 = SubstituteType(typeSubstitution1, New
TypeWithModifiers
(origDef1.ReturnType, origDef1.ReturnTypeCustomModifiers))
783
Dim returnType2 = SubstituteType(typeSubstitution2, New
TypeWithModifiers
(origDef2.ReturnType, origDef2.ReturnTypeCustomModifiers))
Symbols\PropertySignatureComparer.vb (2)
181
New
TypeWithModifiers
(prop1.Type, prop1.TypeCustomModifiers),
185
New
TypeWithModifiers
(prop2.Type, prop2.TypeCustomModifiers),
Symbols\Retargeting\RetargetingSymbolTranslator.vb (1)
433
oldArguments.Add(New
TypeWithModifiers
(args(i), genericType.GetTypeArgumentCustomModifiers(i)))
Symbols\Tuples\TupleTypeSymbol.vb (3)
465
typeArgumentsBuilder.Add(New
TypeWithModifiers
(typeArgumentsNoUseSiteDiagnostics(i),
469
typeArgumentsBuilder.Add(New
TypeWithModifiers
(extensionTuple,
1076
Return New
TypeWithModifiers
(tupleType, Nothing)
Symbols\TypeSubstitution.vb (3)
144
Return New
TypeWithModifiers
(tp, ImmutableArray(Of CustomModifier).Empty)
151
Return New
TypeWithModifiers
(tp, ImmutableArray(Of CustomModifier).Empty)
863
Return New
TypeWithModifiers
(type, customModifiers).InternalSubstituteTypeParameters(Me).CustomModifiers
Symbols\TypeSymbolExtensions.vb (1)
1216
builder.Add(New
TypeWithModifiers
(typeArguments(i), type.GetTypeArgumentCustomModifiers(i)))