Esempio n. 1
0
 public BlockMarker(SourceWriter parent)
 {
     _parent = parent;
 }
Esempio n. 2
0
 /// <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()));
 }