IntPtr p = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (nsStringContainer)));
Marshal.StructureToPtr (unmanagedContainer, p, false);
handle = new HandleRef (typeof (nsStringContainer), p);
- uint result = Base.gluezilla_CStringContainerInit (handle);
String = value;
}
#endif
bool _start = (state & (uint) StateFlags.Start) != 0;
- bool _negotiating = (state & (uint) StateFlags.Negotiating) != 0;
bool _transferring = (state & (uint) StateFlags.Transferring) != 0;
bool _redirecting = (state & (uint) StateFlags.Redirecting) != 0;
bool _stop = (state & (uint) StateFlags.Stop) != 0;
try {
docEncoder = (nsIDocumentEncoder)Marshal.GetObjectForIUnknown (docEncoderServicePtr);
- } catch (System.Exception ex) {
+ } catch (System.Exception) {
throw new Mono.WebBrowser.Exception (Mono.WebBrowser.Exception.ErrorCodes.DocumentEncoderService);
}
*/
}
-}
\ No newline at end of file
+}
IntPtr p = Marshal.AllocHGlobal (Marshal.SizeOf (typeof (nsStringContainer)));
Marshal.StructureToPtr (unmanagedContainer, p, false);
handle = new HandleRef (typeof (nsStringContainer), p);
- uint result = Base.gluezilla_StringContainerInit (handle);
String = value;
}
try {
errorService = (nsIErrorService)Marshal.GetObjectForIUnknown (errorServicePtr);
- } catch (System.Exception ex) {
+ } catch (System.Exception) {
return null;
}
}