public void open(HTTPMethodEnum method, string url, bool @async, string user, string password)
 {
     IXMLHttpRequestActivity.raise_onsend(
         new IXMLHttpRequestActivity {
         request = this, method = method, url = url, async = async, user = user, password = password
     }
         );
 }
 public void open(HTTPMethodEnum method, string url, bool @async)
 {
     IXMLHttpRequestActivity.raise_onsend(
         new IXMLHttpRequestActivity {
         request = this, method = method, url = url, async = async
     }
         );
 }
        internal static void raise_onsend(IXMLHttpRequestActivity value)
        {
            // X:\jsc.svn\examples\javascript\svg\SVGNavigationTiming\SVGNavigationTiming\Application.cs

            if (onopen != null)
            {
                onopen(value);
            }

            var request = ((__IXMLHttpRequest_open)(object)value.request);

            // why isnt jsc respecting the Native name here?
            request.open(
                value.method,
                value.url,
                value.async,
                value.user,
                value.password
                );
        }
        internal static void raise_onsend(IXMLHttpRequestActivity value)
        {
            // X:\jsc.svn\examples\javascript\svg\SVGNavigationTiming\SVGNavigationTiming\Application.cs

            if (onopen != null)
                onopen(value);

            var request = ((__IXMLHttpRequest_open)(object)value.request);

            // why isnt jsc respecting the Native name here?
            request.open(
                value.method,
                value.url,
                value.async,
                value.user,
                value.password
            );

           


        }