INamedTypeSymbol.Construct Method

Definition

Overloads

Construct(ITypeSymbol[])

Returns a constructed type given its type arguments.

Construct(ImmutableArray<ITypeSymbol>, ImmutableArray<NullableAnnotation>)

Returns a constructed type given its type arguments and type argument nullable annotations.

Construct(ITypeSymbol[])

Returns a constructed type given its type arguments.

public:
 Microsoft::CodeAnalysis::INamedTypeSymbol ^ Construct(... cli::array <Microsoft::CodeAnalysis::ITypeSymbol ^> ^ typeArguments);
public Microsoft.CodeAnalysis.INamedTypeSymbol Construct (params Microsoft.CodeAnalysis.ITypeSymbol[] typeArguments);
abstract member Construct : Microsoft.CodeAnalysis.ITypeSymbol[] -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function Construct (ParamArray typeArguments As ITypeSymbol()) As INamedTypeSymbol

Parameters

typeArguments
ITypeSymbol[]

The immediate type arguments to be replaced for type parameters in the type.

Returns

Applies to

Construct(ImmutableArray<ITypeSymbol>, ImmutableArray<NullableAnnotation>)

Returns a constructed type given its type arguments and type argument nullable annotations.

public Microsoft.CodeAnalysis.INamedTypeSymbol Construct (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> typeArguments, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> typeArgumentNullableAnnotations);
abstract member Construct : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function Construct (typeArguments As ImmutableArray(Of ITypeSymbol), typeArgumentNullableAnnotations As ImmutableArray(Of NullableAnnotation)) As INamedTypeSymbol

Parameters

typeArguments
ImmutableArray<ITypeSymbol>
typeArgumentNullableAnnotations
ImmutableArray<NullableAnnotation>

Returns

Applies to