Compilation.CreateTupleTypeSymbol Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
CreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray<String>, ImmutableArray<Location>) |
Restituisce un nuovo oggetto INamedTypeSymbol con il tipo sottostante e i nomi e le posizioni degli elementi specificati. Il tipo sottostante deve essere compatibile con la tupla. |
CreateTupleTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>) |
Restituisce un nuovo oggetto INamedTypeSymbol con i tipi di elemento, i nomi e le posizioni specificati. |
CreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>) |
Restituisce un nuovo oggetto INamedTypeSymbol con il tipo sottostante e (facoltativo) i nomi, le posizioni e le annotazioni nullable specificati. Il tipo sottostante deve essere compatibile con la tupla. |
CreateTupleTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>) |
Restituisce un nuovo oggetto INamedTypeSymbol con i tipi di elemento specificati e (facoltativi) nomi di elementi, posizioni e annotazioni nullable. |
CreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray<String>, ImmutableArray<Location>)
- 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
Restituisce un nuovo oggetto INamedTypeSymbol con il tipo sottostante e i nomi e le posizioni degli elementi specificati. Il tipo sottostante deve essere compatibile con la tupla.
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (Microsoft.CodeAnalysis.INamedTypeSymbol underlyingType, System.Collections.Immutable.ImmutableArray<string> elementNames = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> elementLocations = default);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (Microsoft.CodeAnalysis.INamedTypeSymbol underlyingType, System.Collections.Immutable.ImmutableArray<string?> elementNames, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location?> elementLocations);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (Microsoft.CodeAnalysis.INamedTypeSymbol underlyingType, System.Collections.Immutable.ImmutableArray<string> elementNames, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> elementLocations);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (Microsoft.CodeAnalysis.INamedTypeSymbol underlyingType, System.Collections.Immutable.ImmutableArray<string?> elementNames, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> elementLocations);
member this.CreateTupleTypeSymbol : Microsoft.CodeAnalysis.INamedTypeSymbol * System.Collections.Immutable.ImmutableArray<string> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function CreateTupleTypeSymbol (underlyingType As INamedTypeSymbol, Optional elementNames As ImmutableArray(Of String) = Nothing, Optional elementLocations As ImmutableArray(Of Location) = Nothing) As INamedTypeSymbol
Public Function CreateTupleTypeSymbol (underlyingType As INamedTypeSymbol, elementNames As ImmutableArray(Of String), elementLocations As ImmutableArray(Of Location)) As INamedTypeSymbol
Parametri
- underlyingType
- INamedTypeSymbol
- elementNames
- ImmutableArray<String>
- elementLocations
- ImmutableArray<Location>
Restituisce
Commenti
Questo overload è destinato alla compatibilità con le versioni precedenti. Non rimuovere.
Si applica a
CreateTupleTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>)
- 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
Restituisce un nuovo oggetto INamedTypeSymbol con i tipi di elemento, i nomi e le posizioni specificati.
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> elementTypes, System.Collections.Immutable.ImmutableArray<string> elementNames = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> elementLocations = default);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> elementTypes, System.Collections.Immutable.ImmutableArray<string?> elementNames, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location?> elementLocations);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> elementTypes, System.Collections.Immutable.ImmutableArray<string> elementNames, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> elementLocations);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> elementTypes, System.Collections.Immutable.ImmutableArray<string?> elementNames, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> elementLocations);
member this.CreateTupleTypeSymbol : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> * System.Collections.Immutable.ImmutableArray<string> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function CreateTupleTypeSymbol (elementTypes As ImmutableArray(Of ITypeSymbol), Optional elementNames As ImmutableArray(Of String) = Nothing, Optional elementLocations As ImmutableArray(Of Location) = Nothing) As INamedTypeSymbol
Public Function CreateTupleTypeSymbol (elementTypes As ImmutableArray(Of ITypeSymbol), elementNames As ImmutableArray(Of String), elementLocations As ImmutableArray(Of Location)) As INamedTypeSymbol
Parametri
- elementTypes
- ImmutableArray<ITypeSymbol>
- elementNames
- ImmutableArray<String>
- elementLocations
- ImmutableArray<Location>
Restituisce
Commenti
Questo overload è destinato alla compatibilità con le versioni precedenti. Non rimuovere.
Si applica a
CreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<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
Restituisce un nuovo oggetto INamedTypeSymbol con il tipo sottostante e (facoltativo) i nomi, le posizioni e le annotazioni nullable specificati. Il tipo sottostante deve essere compatibile con la tupla.
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (Microsoft.CodeAnalysis.INamedTypeSymbol underlyingType, System.Collections.Immutable.ImmutableArray<string?> elementNames = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location?> elementLocations = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> elementNullableAnnotations = default);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (Microsoft.CodeAnalysis.INamedTypeSymbol underlyingType, System.Collections.Immutable.ImmutableArray<string> elementNames = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> elementLocations = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> elementNullableAnnotations = default);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (Microsoft.CodeAnalysis.INamedTypeSymbol underlyingType, System.Collections.Immutable.ImmutableArray<string?> elementNames = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> elementLocations = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> elementNullableAnnotations = default);
member this.CreateTupleTypeSymbol : Microsoft.CodeAnalysis.INamedTypeSymbol * System.Collections.Immutable.ImmutableArray<string> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function CreateTupleTypeSymbol (underlyingType As INamedTypeSymbol, Optional elementNames As ImmutableArray(Of String) = Nothing, Optional elementLocations As ImmutableArray(Of Location) = Nothing, Optional elementNullableAnnotations As ImmutableArray(Of NullableAnnotation) = Nothing) As INamedTypeSymbol
Parametri
- underlyingType
- INamedTypeSymbol
- elementNames
- ImmutableArray<String>
- elementLocations
- ImmutableArray<Location>
- elementNullableAnnotations
- ImmutableArray<NullableAnnotation>
Restituisce
Si applica a
CreateTupleTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<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
Restituisce un nuovo oggetto INamedTypeSymbol con i tipi di elemento specificati e (facoltativi) nomi di elementi, posizioni e annotazioni nullable.
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> elementTypes, System.Collections.Immutable.ImmutableArray<string?> elementNames = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location?> elementLocations = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> elementNullableAnnotations = default);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> elementTypes, System.Collections.Immutable.ImmutableArray<string> elementNames = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> elementLocations = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> elementNullableAnnotations = default);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateTupleTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> elementTypes, System.Collections.Immutable.ImmutableArray<string?> elementNames = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> elementLocations = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> elementNullableAnnotations = default);
member this.CreateTupleTypeSymbol : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> * System.Collections.Immutable.ImmutableArray<string> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function CreateTupleTypeSymbol (elementTypes As ImmutableArray(Of ITypeSymbol), Optional elementNames As ImmutableArray(Of String) = Nothing, Optional elementLocations As ImmutableArray(Of Location) = Nothing, Optional elementNullableAnnotations As ImmutableArray(Of NullableAnnotation) = Nothing) As INamedTypeSymbol
Parametri
- elementTypes
- ImmutableArray<ITypeSymbol>
- elementNames
- ImmutableArray<String>
- elementLocations
- ImmutableArray<Location>
- elementNullableAnnotations
- ImmutableArray<NullableAnnotation>