private static GetAllStrippableModules ( ) : HashSet |
||
return | HashSet |
private static HashSet<string> GetAllStrippableModules()
{
HashSet<string> set = new HashSet<string>();
foreach (string str in ModuleMetadata.GetModuleNames())
{
if (ModuleMetadata.GetModuleStrippable(str))
{
set.Add(str);
}
}
return set;
}
public static HashSet <string> GetNativeModulesToRegister(HashSet <string> nativeClasses) { if (nativeClasses == null) { return(CodeStrippingUtils.GetAllStrippableModules()); } return(CodeStrippingUtils.GetRequiredStrippableModules(nativeClasses)); }