INamedTypeSymbol.Construct 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Construct(ITypeSymbol[]) |
返回给定其类型参数的构造类型。 |
Construct(ImmutableArray<ITypeSymbol>, ImmutableArray<NullableAnnotation>) |
返回一个构造的类型,给定其类型参数和类型参数可为 null 的批注。 |
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
- Source:
- INamedTypeSymbol.cs
返回给定其类型参数的构造类型。
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
参数
- typeArguments
- ITypeSymbol[]
要为类型参数替换的即时类型参数。
返回
适用于
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
- Source:
- INamedTypeSymbol.cs
返回一个构造的类型,给定其类型参数和类型参数可为 null 的批注。
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
参数
- typeArguments
- ImmutableArray<ITypeSymbol>
- typeArgumentNullableAnnotations
- ImmutableArray<NullableAnnotation>