public void Dispose() { if (OwnsContext) { babble("Disposing Z3 context"); Context.Dispose(); } }
/// <summary> /// "Hello world" example: create a Z3 logical context, and delete it. /// </summary> public static void SimpleExample() { Console.WriteLine("SimpleExample"); using (Context ctx = new Context()) { /* do something with the context */ /* be kind to dispose manually and not wait for the GC. */ ctx.Dispose(); } }