protected EventSourceImplementerBase(ModuleDefinition module, EventSourceTemplate template) { this.module = module; this.template = template; typeDefs = template.TypeDefs; ensureOpcodes = EnsureNestedBuilder("Opcodes"); ensureTasks = EnsureNestedBuilder("Tasks"); #if ENABLE_UNSAFE unsafeWriteEventBuilder = new UnsafeWriteEventBuilder(module, typeDefs); #endif }
public Implementer(ModuleDefinition module, EventSourceTemplate template, TypeDefinition target) : base(module, template) { this.target = target; }