// Token: 0x060020E5 RID: 8421 RVA: 0x00096F30 File Offset: 0x00095130
        public void WriteEndDocument()
        {
            this.VerifyEndTagState(BamlRecordType.DocumentStart, BamlRecordType.DocumentEnd);
            XamlDocumentEndNode xamlDocumentEndNode = new XamlDocumentEndNode(0, 0, this._depth);

            this._bamlRecordWriter.WriteDocumentEnd(xamlDocumentEndNode);
        }
예제 #2
0
        /// <summary>
        /// Write the end of document record.
        /// </summary>
        /// <remarks>
        /// This must be the last call made when creating a new baml file.
        /// </remarks>
        public void WriteEndDocument()
        {
            VerifyEndTagState(BamlRecordType.DocumentStart, 
                              BamlRecordType.DocumentEnd);

            XamlDocumentEndNode node = new XamlDocumentEndNode(0,0,_depth);
            _bamlRecordWriter.WriteDocumentEnd(node);
        }