Click or drag to resize

CompilationCreateTupleTypeSymbol Method (ImmutableArray`1ITypeSymbol, ImmutableArray`1String, ImmutableArray`1Location)



Returns a new INamedTypeSymbol with the given element types and (optional) element names.

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public INamedTypeSymbol CreateTupleTypeSymbol(
	ImmutableArray<ITypeSymbol> elementTypes,
	ImmutableArray<string> elementNames = null,
	ImmutableArray<Location> elementLocations = null
)

Parameters

elementTypes
Type: ImmutableArrayITypeSymbol
elementNames (Optional)
Type: ImmutableArrayString
elementLocations (Optional)
Type: ImmutableArrayLocation

Return Value

Type: INamedTypeSymbol
See Also