Partilhar via


Compilation.CreateArrayTypeSymbol Method

Definition

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
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
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