public void PreventExtension() { JsErrorHelpers.ThrowIfError(NativeMethods.JsPreventExtension(this)); }