Compilation.CreateArrayTypeSymbol 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
CreateArrayTypeSymbol(ITypeSymbol, Int32) |
Returns a new ArrayTypeSymbol representing an array type tied to the base types of the COR Library in this Compilation. |
CreateArrayTypeSymbol(ITypeSymbol, Int32, NullableAnnotation) |
Returns a new ArrayTypeSymbol representing an array type tied to the base types of the COR Library in this Compilation. |
CreateArrayTypeSymbol(ITypeSymbol, Int32)
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
Returns a new ArrayTypeSymbol representing an array type tied to the base types of the COR Library in this Compilation.
public Microsoft.CodeAnalysis.IArrayTypeSymbol CreateArrayTypeSymbol (Microsoft.CodeAnalysis.ITypeSymbol elementType, int rank = 1);
public Microsoft.CodeAnalysis.IArrayTypeSymbol CreateArrayTypeSymbol (Microsoft.CodeAnalysis.ITypeSymbol elementType, int rank);
member this.CreateArrayTypeSymbol : Microsoft.CodeAnalysis.ITypeSymbol * int -> Microsoft.CodeAnalysis.IArrayTypeSymbol
Public Function CreateArrayTypeSymbol (elementType As ITypeSymbol, Optional rank As Integer = 1) As IArrayTypeSymbol
Public Function CreateArrayTypeSymbol (elementType As ITypeSymbol, rank As Integer) As IArrayTypeSymbol
Parameters
- elementType
- ITypeSymbol
- rank
- Int32
Returns
Remarks
This overload is for backwards compatibility. Do not remove.
Applies to
CreateArrayTypeSymbol(ITypeSymbol, Int32, NullableAnnotation)
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
- Source:
- Compilation.cs
Returns a new ArrayTypeSymbol representing an array type tied to the base types of the COR Library in this Compilation.
public Microsoft.CodeAnalysis.IArrayTypeSymbol CreateArrayTypeSymbol (Microsoft.CodeAnalysis.ITypeSymbol elementType, int rank = 1, Microsoft.CodeAnalysis.NullableAnnotation elementNullableAnnotation = Microsoft.CodeAnalysis.NullableAnnotation.None);
member this.CreateArrayTypeSymbol : Microsoft.CodeAnalysis.ITypeSymbol * int * Microsoft.CodeAnalysis.NullableAnnotation -> Microsoft.CodeAnalysis.IArrayTypeSymbol
Public Function CreateArrayTypeSymbol (elementType As ITypeSymbol, Optional rank As Integer = 1, Optional elementNullableAnnotation As NullableAnnotation = Microsoft.CodeAnalysis.NullableAnnotation.None) As IArrayTypeSymbol
Parameters
- elementType
- ITypeSymbol
- rank
- Int32
- elementNullableAnnotation
- NullableAnnotation
Returns
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈