ValidateMonomorphization.Apply(QsCompilation, Boolean) 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.
Applies the transformation that walks through the syntax tree, checking to ensure that all generic data has been removed. If allowTypeParametersForIntrinsics is true, then generic data is allowed for type parameters of callables that have an intrinsic body.
public static void Apply (Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation compilation, bool allowTypeParametersForIntrinsics = true);
static member Apply : Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation * bool -> unit
Public Shared Sub Apply (compilation As QsCompilation, Optional allowTypeParametersForIntrinsics As Boolean = true)
Parameters
- compilation
- QsCompilation
- allowTypeParametersForIntrinsics
- Boolean