INamedTypeSymbol.Construct Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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[])
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
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>)
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
- Source:
- INamedTypeSymbol.cs
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.