public RoslynSimanticsModule(RoslynSimanticsContext context, GameIffResource file) { Context = context; File = file; if (file is GameGlobalResource) { if (file.MainIff.Filename == "global.iff") { IsGlobal = true; } else { IsSemiGlobal = true; } } Name = CSTranslationContext.FormatName(File.MainIff.Filename.Replace(".iff", "")); FilePath = Path.Combine(Context.CacheDirectory, Name); }
public RoslynSimanticsJIT() { Context = new RoslynSimanticsContext(this); Context.Init(); }