public BlockMarker(SourceWriter parent) { _parent = parent; }
/// <summary> /// Compile code built up by using an ISourceWriter to a new assembly in memory /// </summary> /// <param name="write"></param> /// <returns></returns> public Assembly Generate(Action <ISourceWriter> write) { using var writer = new SourceWriter(); write(writer); return(Generate(writer.Code())); }