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