Esempio n. 1
0
 internal unsafe void CheckTag(InnerBlocks tag)
 {
     CheckReadBounds(sizeof(InnerBlocks));
     if (*(InnerBlocks *)memory.current != tag)
     {
         throw new ParsingException();
     }
     memory.current += sizeof(uint);
 }
Esempio n. 2
0
 public override IEnumerable <SlideBlock> BuildUp(BuildUpContext context, IImmutableSet <string> filesInProgress)
 {
     return(InnerBlocks?.SelectMany(b => b.BuildUp(context, filesInProgress)) ?? new[] { this });
 }