CompilationUnit.Build 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.
Returns the built Q# compilation reflecting the current internal state.
public Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation Build ();
member this.Build : unit -> Microsoft.Quantum.QsCompiler.SyntaxTree.QsCompilation
Public Function Build () As QsCompilation
Returns
Exceptions
A callable definition is listed in Microsoft.Quantum.QsCompiler.CompilationBuilder.CompilationUnit.GlobalSymbols for which no compilation exists.
Remarks
Functor generation directives are *not* evaluated in the the returned compilation, and the returned compilation may contain invalid parts.