Sdílet prostřednictvím


IMethodSymbol.Construct Method

Definition

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