示例#1
0
        private static bool TryRedirect(AssemblyName name)
        {
            switch (name.Name)
            {
            case "System.IO.Compression":
                return(TryRedirect(name, s_b77a5c561934e089, 4, 1, 2, 0));

            case "System.Console":
            case "System.Diagnostics.FileVersionInfo":
            case "System.IO.Pipes":
            case "System.Security.Cryptography.Primitives":
            case "System.Security.Principal.Windows":
            case "System.Threading.Thread":
                return(TryRedirect(name, s_b03f5f7f11d50a3a, 4, 0, 1, 0));

            case "System.IO.FileSystem":
            case "System.IO.FileSystem.Primitives":
                return(TryRedirect(name, s_b03f5f7f11d50a3a, 4, 0, 2, 0));

            case "System.Diagnostics.StackTrace":
            case "System.Security.AccessControl":
                return(TryRedirect(name, s_b03f5f7f11d50a3a, 4, 0, 3, 0));
            }

#if DEBUG || BOOTSTRAP
            ValidateBootstrap.AddFailedLoad(name);
#endif

            return(false);
        }
示例#2
0
        internal static void AddFailedServerConnection()
        {
#if DEBUG || BOOTSTRAP
            ValidateBootstrap.AddFailedServerConnection();
#endif
        }
示例#3
0
        internal static void AddFailedLoad(AssemblyName name)
        {
#if DEBUG || BOOTSTRAP
            ValidateBootstrap.AddFailedLoad(name);
#endif
        }