FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXmlWriter.cs (97)
64private State _state; // current state
83_settings.ConformanceLevel = (_state == State.Prolog ? ConformanceLevel.Document : ConformanceLevel.Fragment);
525private State StartState()
540return State.Prolog;
544return State.Fragment;
552return State.Prolog;
556return State.Fragment;
560return State.Attribute;
564return State.Content;
567private static State[] s_changeState = {
571State.Error, State.Error, State.Prolog, State.Content, State.Error,
573State.Error, State.Error, State.Error, State.Error, State.Error,
575State.Error, State.Error, State.Error, State.Error, State.Error,
577State.Error, State.Error, State.Prolog, State.Error, State.Error,
579State.Error, State.Error, State.Content, State.Content, State.Content,
581State.Error, State.Error, State.Error, State.Error, State.Content,
583State.Error, State.Error, State.Error, State.Error, State.Content,
585State.Error, State.Content, State.Error, State.Error, State.Content,
587State.Error, State.Error, State.Error, State.Error, State.Content,
589State.Error, State.Content, State.Error, State.Error, State.Content,
591State.Error, State.Error, State.Error, State.Error, State.Content,
593State.Error, State.Error, State.Error, State.Content, State.Content,
595State.Error, State.Error, State.Prolog, State.Content, State.Content,
597State.Error, State.Error, State.Prolog, State.Content, State.Content,
599State.Error, State.Error, State.Error, State.Content, State.Content,
601State.Error, State.Error, State.Prolog, State.Content, State.Content,
603State.Error, State.Error, State.Error, State.Content, State.Content,
608_state = s_changeState[(int)method * (int)State.Last + (int)_state];
609if (_state == State.Error)