Partager via


Compilation.CreateTupleTypeSymbol Méthode

Définition

Surcharges

CreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray<String>, ImmutableArray<Location>)

Retourne un nouvel INamedTypeSymbol avec les noms et emplacements d’éléments sous-jacents donnés. Le type sous-jacent doit être compatible avec tuple.

CreateTupleTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>)

Retourne un nouvel INamedTypeSymbol avec les types d’éléments, les noms et les emplacements donnés.

CreateTupleTypeSymbol(INamedTypeSymbol, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>)

Retourne un nouvel INamedTypeSymbol avec le type sous-jacent donné et (facultatif) noms d’éléments, emplacements et annotations nullables. Le type sous-jacent doit être compatible avec tuple.

CreateTupleTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>)

Retourne un nouvel INamedTypeSymbol avec les types d’éléments donnés et (facultatif) les noms d’éléments, les emplacements et les annotations nullables.

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

Retourne un nouvel INamedTypeSymbol avec les noms et emplacements d’éléments sous-jacents donnés. Le type sous-jacent doit être compatible avec tuple.

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

Paramètres

underlyingType
INamedTypeSymbol
elementNames
ImmutableArray<String>
elementLocations
ImmutableArray<Location>

Retours

Remarques

Cette surcharge est destinée à la compatibilité descendante. Ne supprimez pas.

S’applique à

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

Retourne un nouvel INamedTypeSymbol avec les types d’éléments, les noms et les emplacements donnés.

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

Paramètres

elementTypes
ImmutableArray<ITypeSymbol>
elementNames
ImmutableArray<String>
elementLocations
ImmutableArray<Location>

Retours

Remarques

Cette surcharge est destinée à la compatibilité descendante. Ne supprimez pas.

S’applique à

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

Retourne un nouvel INamedTypeSymbol avec le type sous-jacent donné et (facultatif) noms d’éléments, emplacements et annotations nullables. Le type sous-jacent doit être compatible avec tuple.

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

Paramètres

underlyingType
INamedTypeSymbol
elementNames
ImmutableArray<String>
elementLocations
ImmutableArray<Location>
elementNullableAnnotations
ImmutableArray<NullableAnnotation>

Retours

S’applique à

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

Retourne un nouvel INamedTypeSymbol avec les types d’éléments donnés et (facultatif) les noms d’éléments, les emplacements et les annotations nullables.

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

Paramètres

elementTypes
ImmutableArray<ITypeSymbol>
elementNames
ImmutableArray<String>
elementLocations
ImmutableArray<Location>
elementNullableAnnotations
ImmutableArray<NullableAnnotation>

Retours

S’applique à