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