Esempio n. 1
0
 internal XmlParserContext ShallowCopy() =>
 new XmlParserContext
 {
     Position           = Position,
     CurrentState       = CurrentState,
     CurrentStateLength = CurrentStateLength,
     StateTag           = StateTag,
     PreviousState      = PreviousState,
     BuildTree          = false,
     KeywordBuilder     = new StringBuilder(KeywordBuilder.ToString()),
     Nodes = Nodes.ShallowCopy()
 };