11 references to Construct
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Symbols.cs (1)
1224
resultType = unconstructedType.
Construct
(
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
292
var frameType = method.IsGenericMethod ? stateMachineType.
Construct
(method.TypeArgumentsWithAnnotations, unbound: false) : stateMachineType;
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
262
return namedType.ConstructedFrom.
Construct
(transformedTypeArguments, unbound: false).WithTupleDataFrom(namedType);
Symbols\Metadata\PE\TupleTypeDecoder.cs (1)
286
decodedType = type.ConstructedFrom.
Construct
(decodedArgs, unbound: false);
Symbols\NamedTypeSymbol.cs (2)
1174
return
Construct
(modifiedArguments, unbound);
1179
return
Construct
(typeArguments, unbound: false);
Symbols\PublicModel\NamedTypeSymbol.cs (2)
133
return UnderlyingNamedTypeSymbol.
Construct
(ConstructTypeArguments(typeArguments), unbound: false).GetPublicSymbol();
138
return UnderlyingNamedTypeSymbol.
Construct
(ConstructTypeArguments(typeArguments, typeArgumentNullableAnnotations), unbound: false).GetPublicSymbol();
Symbols\SymbolExtensions.cs (1)
36
return type.TypeParameters.IsEmpty ? type : type.
Construct
(typeArguments, unbound: false);
Symbols\TypeSymbolExtensions.cs (1)
2010
taskType.
Construct
(
Symbols\UnboundGenericType.cs (1)
43
return constructedFrom.
Construct
(typeArguments, unbound: true);