ResolvedTypeModule.WithKind Method

Definition

[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1 })]
[Microsoft.FSharp.Core.CompilationSourceName("withKind")]
public static Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType WithKind (Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTypeKind<Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType,Microsoft.Quantum.QsCompiler.SyntaxTree.UserDefinedType,Microsoft.Quantum.QsCompiler.SyntaxTree.QsTypeParameter,Microsoft.Quantum.QsCompiler.SyntaxTree.CallableInformation> kind, Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType resolvedType);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1 })>]
[<Microsoft.FSharp.Core.CompilationSourceName("withKind")>]
Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType.withKind : Microsoft.Quantum.QsCompiler.SyntaxTokens.QsTypeKind<Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType, Microsoft.Quantum.QsCompiler.SyntaxTree.UserDefinedType, Microsoft.Quantum.QsCompiler.SyntaxTree.QsTypeParameter, Microsoft.Quantum.QsCompiler.SyntaxTree.CallableInformation> -> Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType -> Microsoft.Quantum.QsCompiler.SyntaxTree.ResolvedType
Public Shared Function WithKind (kind As QsTypeKind(Of ResolvedType, UserDefinedType, QsTypeParameter, CallableInformation), resolvedType As ResolvedType) As ResolvedType

Parameters

resolvedType
ResolvedType

Returns

ResolvedType
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute Microsoft.FSharp.Core.CompilationSourceNameAttribute

Applies to