Ejemplo n.º 1
0
        public static void RemoveOriginalInitFunc(AnalysisContext ac)
        {
            ac.TopLevelDeclarations.Remove(ac.GetConstant(DeviceDriver.InitEntryPoint));
            ac.TopLevelDeclarations.Remove(ac.GetImplementation(DeviceDriver.InitEntryPoint).Proc);
            ac.TopLevelDeclarations.Remove(ac.GetImplementation(DeviceDriver.InitEntryPoint));

            ac.TopLevelDeclarations.Remove(ac.GetConstant(ac.Checker.Name));
            ac.TopLevelDeclarations.Remove(ac.Checker.Proc);
            ac.TopLevelDeclarations.Remove(ac.Checker);
        }
Ejemplo n.º 2
0
 internal static void RemoveOriginalInitFunc(AnalysisContext ac)
 {
     ac.TopLevelDeclarations.Remove(ac.GetConstant(ac.EntryPoint.Name));
     ac.TopLevelDeclarations.Remove(ac.EntryPoint.Proc);
     ac.TopLevelDeclarations.Remove(ac.EntryPoint);
 }