IMethodSymbol.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 method given its type arguments. |
Construct(ImmutableArray<ITypeSymbol>, ImmutableArray<NullableAnnotation>) |
Returns a constructed method given its type arguments and type argument nullable annotations. |
Construct(ITypeSymbol[])
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
Returns a constructed method given its type arguments.
public:
Microsoft::CodeAnalysis::IMethodSymbol ^ Construct(... cli::array <Microsoft::CodeAnalysis::ITypeSymbol ^> ^ typeArguments);
public Microsoft.CodeAnalysis.IMethodSymbol Construct (params Microsoft.CodeAnalysis.ITypeSymbol[] typeArguments);
abstract member Construct : Microsoft.CodeAnalysis.ITypeSymbol[] -> Microsoft.CodeAnalysis.IMethodSymbol
Public Function Construct (ParamArray typeArguments As ITypeSymbol()) As IMethodSymbol
Parameters
- typeArguments
- ITypeSymbol[]
The immediate type arguments to be replaced for type parameters in the method.
Returns
Applies to
Construct(ImmutableArray<ITypeSymbol>, ImmutableArray<NullableAnnotation>)
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
- Source:
- IMethodSymbol.cs
Returns a constructed method given its type arguments and type argument nullable annotations.
public Microsoft.CodeAnalysis.IMethodSymbol 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.IMethodSymbol
Public Function Construct (typeArguments As ImmutableArray(Of ITypeSymbol), typeArgumentNullableAnnotations As ImmutableArray(Of NullableAnnotation)) As IMethodSymbol
Parameters
- typeArguments
- ImmutableArray<ITypeSymbol>
- typeArgumentNullableAnnotations
- ImmutableArray<NullableAnnotation>
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.