Esempio n. 1
0
		void DecompileAssemblyInfo(DecompileAssemblyInfo info) {
			var state = CreateAstBuilder(info.Context, langSettings.Settings, currentModule: info.Module);
			try {
				state.AstBuilder.AddAssembly(info.Module, true, info.Module.IsManifestModule, true);
				RunTransformsAndGenerateCode(ref state, info.Output, info.Context, new AssemblyInfoTransform());
			}
			finally {
				state.Dispose();
			}
		}
Esempio n. 2
0
 void DecompileAssemblyInfo(DecompileAssemblyInfo info)
 {
     var builder = CreateAstBuilder(info.Context, langSettings.Settings, currentModule: info.Module);
     builder.AddAssembly(info.Module, true, info.Module.IsManifestModule, true);
     RunTransformsAndGenerateCode(builder, info.Output, info.Context, new AssemblyInfoTransform());
 }