public void ToPrefixHandle(PrefixHandle prefix) { DiagnosticUtility.DebugAssert(_type == StringHandleType.UTF8, ""); prefix.SetValue(_offset, _length); }
private string GetQNameDictionaryText() { DiagnosticUtility.DebugAssert(_type == ValueHandleType.QName, ""); return(string.Concat(PrefixHandle.GetString(PrefixHandle.GetAlphaPrefix(_length)), ":", _bufferReader.GetDictionaryString(_offset))); }