Ejemplo n.º 1
0
 static List<MethodNameScope> getSorted(MethodNameScopes scopes)
 {
     var allScopes = new List<MethodNameScope>(scopes.getAllScopes());
     allScopes.Sort((a, b) => Utils.compareInt32(b.Count, a.Count));
     return allScopes;
 }
Ejemplo n.º 2
0
 void restorePropertiesAndEvents(MethodNameScopes scopes)
 {
     var allScopes = scopes.getAllScopes();
     restoreVirtualProperties(allScopes);
     restorePropertiesFromNames(allScopes);
     restoreVirtualEvents(allScopes);
     restoreEventsFromNames(allScopes);
 }