public void WriteStringUnchecked(string text) { Debug.Assert(this.xstate != XmlState.WithinSequence && this.xstate != XmlState.EnumAttrs, "WriteTextBlock cannot be called in the " + this.xstate + " state."); Writer.WriteString(text); }