示例#1
0
        public static bool _ctor_System_Xml_XmlValidatingReader_System_String_System_Xml_XmlNodeType_System_Xml_XmlParserContext( )
        {
            //Parameters
            System.String               xmlFragment = null;
            System.Xml.XmlNodeType      fragType    = null;
            System.Xml.XmlParserContext context     = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Xml.XmlValidatingReader.ctor(xmlFragment, fragType, context);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Xml.XmlValidatingReader.ctor(xmlFragment, fragType, context);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _ctor_System_Net_Sockets_Socket_System_Net_Sockets_AddressFamily_System_Net_Sockets_SocketType_System_Net_Sockets_ProtocolType( )
        {
            //Parameters
            System.Net.Sockets.AddressFamily addressFamily = null;
            System.Net.Sockets.SocketType    socketType    = null;
            System.Net.Sockets.ProtocolType  protocolType  = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Net.Sockets.Socket.ctor(addressFamily, socketType, protocolType);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Net.Sockets.Socket.ctor(addressFamily, socketType, protocolType);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#3
0
        public static bool _WriteIf_System_Boolean_System_String_System_String( )
        {
            //Parameters
            System.Boolean condition = null;
            System.String  message   = null;
            System.String  category  = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Diagnostics.Debug.WriteIf(condition, message, category);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Diagnostics.Debug.WriteIf(condition, message, category);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _ctor_System_Xml_XmlTextReader_System_String_System_IO_Stream_System_Xml_XmlNameTable( )
        {
            //Parameters
            System.String           url   = null;
            System.IO.Stream        input = null;
            System.Xml.XmlNameTable nt    = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Xml.XmlTextReader.ctor(url, input, nt);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Xml.XmlTextReader.ctor(url, input, nt);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _ctor_System_Net_Cookie_System_String_System_String_System_String( )
        {
            //Parameters
            System.String name   = null;
            System.String _value = null;
            System.String path   = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Net.Cookie.ctor(name, _value, path);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Net.Cookie.ctor(name, _value, path);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _WriteAttributeString_System_Xml_XmlTextWriter_System_String_System_String_System_String( )
        {
            //Parameters
            System.String localName = null;
            System.String ns        = null;
            System.String _value    = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Xml.XmlTextWriter.WriteAttributeString(localName, ns, _value);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Xml.XmlTextWriter.WriteAttributeString(localName, ns, _value);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#7
0
        public static bool _ReplaceData_System_Xml_XmlWhitespace_System_Int32_System_Int32_System_String( )
        {
            //Parameters
            System.Int32  offset  = null;
            System.Int32  count   = null;
            System.String strData = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Xml.XmlWhitespace.ReplaceData(offset, count, strData);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Xml.XmlWhitespace.ReplaceData(offset, count, strData);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#8
0
public static bool _Close( )
{
   //Parameters


   //Exception
   Exception exception_Real = null;
   Exception exception_Intercepted = null;

   InterceptionMaintenance.disableInterception( );

   try
   {
      returnValue_Real = System.Diagnostics.Trace.Close(;
   }

   catch( Exception e )
   {
      exception_Real = e;
   }


   InterceptionMaintenance.enableInterception( );

   try
   {
      returnValue_Intercepted = System.Diagnostics.Trace.Close(;
   }

   catch( Exception e )
   {
      exception_Intercepted = e;
   }


}
        public static bool _SetSavedLicenseKey_System_ComponentModel_LicenseContext_System_Type_System_String( )
        {
            //Parameters
            System.Type   type = null;
            System.String key  = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.ComponentModel.LicenseContext.SetSavedLicenseKey(type, key);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.ComponentModel.LicenseContext.SetSavedLicenseKey(type, key);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#10
0
        public static bool _WriteLine_System_Object_System_String( )
        {
            //Parameters
            System.Object _value   = null;
            System.String category = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Diagnostics.Trace.WriteLine(_value, category);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Diagnostics.Trace.WriteLine(_value, category);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _ctor_System_Net_NetworkCredential_System_String_System_String( )
        {
            //Parameters
            System.String userName = null;
            System.String password = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Net.NetworkCredential.ctor(userName, password);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Net.NetworkCredential.ctor(userName, password);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _ctor_System_Security_Cryptography_CspParameters_System_Int32_System_String( )
        {
            //Parameters
            System.Int32  dwTypeIn          = null;
            System.String strProviderNameIn = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Security.Cryptography.CspParameters.ctor(dwTypeIn, strProviderNameIn);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Security.Cryptography.CspParameters.ctor(dwTypeIn, strProviderNameIn);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#13
0
        public static bool _Fail_System_Diagnostics_EventLogTraceListener_System_String_System_String( )
        {
            //Parameters
            System.String message       = null;
            System.String detailMessage = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Diagnostics.EventLogTraceListener.Fail(message, detailMessage);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Diagnostics.EventLogTraceListener.Fail(message, detailMessage);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#14
0
        public static bool _Add_System_Net_CookieContainer_System_Uri_System_Net_Cookie( )
        {
            //Parameters
            System.Uri        uri    = null;
            System.Net.Cookie cookie = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Net.CookieContainer.Add(uri, cookie);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Net.CookieContainer.Add(uri, cookie);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#15
0
        public static bool _ctor_System_Net_WebPermission_System_Net_NetworkAccess_System_Text_RegularExpressions_Regex( )
        {
            //Parameters
            System.Net.NetworkAccess             access   = null;
            System.Text.RegularExpressions.Regex uriRegex = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Net.WebPermission.ctor(access, uriRegex);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Net.WebPermission.ctor(access, uriRegex);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#16
0
        public static bool _ctor_System_Net_Sockets_UdpClient_System_Int32_System_Net_Sockets_AddressFamily( )
        {
            //Parameters
            System.Int32 port = null;
            System.Net.Sockets.AddressFamily family = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Net.Sockets.UdpClient.ctor(port, family);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Net.Sockets.UdpClient.ctor(port, family);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#17
0
        public static bool _DeleteData_System_Xml_XmlText_System_Int32_System_Int32( )
        {
            //Parameters
            System.Int32 offset = null;
            System.Int32 count  = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Xml.XmlText.DeleteData(offset, count);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Xml.XmlText.DeleteData(offset, count);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#18
0
        public static bool _Assert_System_Boolean_System_String( )
        {
            //Parameters
            System.Boolean condition = null;
            System.String  message   = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Diagnostics.Trace.Assert(condition, message);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Diagnostics.Trace.Assert(condition, message);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _WriteLine_System_IO_StreamWriter_System_String_System_Object( )
        {
            //Parameters
            System.String format = null;
            System.Object arg0   = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.IO.StreamWriter.WriteLine(format, arg0);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.IO.StreamWriter.WriteLine(format, arg0);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#20
0
        public static bool _WriteEntry_System_String_System_String( )
        {
            //Parameters
            System.String source  = null;
            System.String message = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Diagnostics.EventLog.WriteEntry(source, message);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Diagnostics.EventLog.WriteEntry(source, message);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _GetObjectData_System_IO_FileInfo_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext( )
        {
            //Parameters
            System.Runtime.Serialization.SerializationInfo info    = null;
            System.Runtime.Serialization.StreamingContext  context = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.IO.FileInfo.GetObjectData(info, context);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.IO.FileInfo.GetObjectData(info, context);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _ctor_System_ServiceProcess_ServiceController_System_String_System_String( )
        {
            //Parameters
            System.String name        = null;
            System.String machineName = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.ServiceProcess.ServiceController.ctor(name, machineName);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.ServiceProcess.ServiceController.ctor(name, machineName);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#23
0
        public static bool _ctor_System_Security_Cryptography_DSACryptoServiceProvider_System_Int32_System_Security_Cryptography_CspParameters( )
        {
            //Parameters
            System.Int32 dwKeySize = null;
            System.Security.Cryptography.CspParameters parameters = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Security.Cryptography.DSACryptoServiceProvider.ctor(dwKeySize, parameters);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Security.Cryptography.DSACryptoServiceProvider.ctor(dwKeySize, parameters);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#24
0
        public static bool _ReadStartElement_System_Xml_XmlNodeReader_System_String_System_String( )
        {
            //Parameters
            System.String localname = null;
            System.String ns        = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Xml.XmlNodeReader.ReadStartElement(localname, ns);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Xml.XmlNodeReader.ReadStartElement(localname, ns);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _SetLastAccessTime_System_String_System_DateTime( )
        {
            //Parameters
            System.String   path           = null;
            System.DateTime lastAccessTime = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.IO.Directory.SetLastAccessTime(path, lastAccessTime);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.IO.Directory.SetLastAccessTime(path, lastAccessTime);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _SetAttribute_System_Xml_XmlElement_System_String_System_String( )
        {
            //Parameters
            System.String name   = null;
            System.String _value = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Xml.XmlElement.SetAttribute(name, _value);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Xml.XmlElement.SetAttribute(name, _value);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#27
0
        public static bool _JoinMulticastGroup_System_Net_Sockets_UdpClient_System_Net_IPAddress_System_Int32( )
        {
            //Parameters
            System.Net.IPAddress multicastAddr = null;
            System.Int32         timeToLive    = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Net.Sockets.UdpClient.JoinMulticastGroup(multicastAddr, timeToLive);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Net.Sockets.UdpClient.JoinMulticastGroup(multicastAddr, timeToLive);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#28
0
        public static bool _RemoveNamespace_System_Xml_XmlNamespaceManager_System_String_System_String( )
        {
            //Parameters
            System.String prefix = null;
            System.String uri    = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Xml.XmlNamespaceManager.RemoveNamespace(prefix, uri);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Xml.XmlNamespaceManager.RemoveNamespace(prefix, uri);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
示例#29
0
        public static bool _ctor_System_IO_FileSystemWatcher_System_String_System_String( )
        {
            //Parameters
            System.String path   = null;
            System.String filter = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.IO.FileSystemWatcher.ctor(path, filter);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.IO.FileSystemWatcher.ctor(path, filter);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }
        public static bool _WriteLine_System_Diagnostics_DefaultTraceListener_System_String_System_String( )
        {
            //Parameters
            System.String message  = null;
            System.String category = null;


            //Exception
            Exception exception_Real        = null;
            Exception exception_Intercepted = null;

            InterceptionMaintenance.disableInterception( );

            try
            {
                returnValue_Real = System.Diagnostics.DefaultTraceListener.WriteLine(message, category);
            }

            catch (Exception e)
            {
                exception_Real = e;
            }


            InterceptionMaintenance.enableInterception( );

            try
            {
                returnValue_Intercepted = System.Diagnostics.DefaultTraceListener.WriteLine(message, category);
            }

            catch (Exception e)
            {
                exception_Intercepted = e;
            }
        }