|
|
@@ -13,7 +13,7 @@ foreach (var file in Directory.EnumerateFiles(@"../../../../../ref/Techblox_Data |
|
|
|
|
|
|
|
void ProcessAssembly(string path) |
|
|
|
{ |
|
|
|
var mod = ModuleDefinition.ReadModule(path, new(ReadingMode.Immediate) { ReadWrite = true }); |
|
|
|
using var mod = ModuleDefinition.ReadModule(path, new(ReadingMode.Immediate) { ReadWrite = true }); |
|
|
|
foreach (var typeDefinition in mod.Types) |
|
|
|
{ |
|
|
|
typeDefinition.IsPublic = true; |
|
|
|