Ejemplo n.º 1
0
 static InvariantContext()
 {
     Instance = new InvariantContext();
     ModuleContext moduleContext = new ModuleContext(null);
     moduleContext.ShowCls = true;
     CodeContext = new CodeContext(new Scope(null), Instance, moduleContext);
 }
Ejemplo n.º 2
0
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1810:InitializeReferenceTypeStaticFieldsInline")] // TODO: fix
        static InvariantContext()
        {
            Instance = new InvariantContext();
            ModuleContext moduleContext = new ModuleContext(null);

            moduleContext.ShowCls = true;
            CodeContext           = new CodeContext(new Scope(null), Instance, moduleContext);
        }