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
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
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈