public void WriteStruct(INdrStructure structure) { bool conformant = false; if (structure is INdrConformantStructure conformant_structure) { conformant = SetupConformance(conformant_structure.GetConformantDimensions()); System.Diagnostics.Debug.Assert(_conformance_position.HasValue); } structure.Marshal(this); if (conformant) { System.Diagnostics.Debug.Assert(!_conformance_position.HasValue); } }
private void WriteStructInternal(INdrStructure structure) { Align(structure.GetAlignment()); structure.Marshal(this); }
public void WriteStruct(INdrStructure structure) { structure.Marshal(this); }