Ejemplo n.º 1
0
 /// <summary>
 /// Builds a new structure value during lowering of a source value.
 /// </summary>
 private static Value AssembleStructure(
     SSARewriterContext <FieldRef> context,
     StructureType structureType,
     Value value) =>
 context.AssembleStructure(
     structureType,
     value,
     (ctx, source, fieldAccess) =>
     // Load the currently registered SSA value
     ctx.GetValue(ctx.Block, new FieldRef(source, fieldAccess)));