ResolvedTypeModule.WithKind Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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
- Attributes
-
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute Microsoft.FSharp.Core.CompilationSourceNameAttribute