public IList DebugGetGlobalValue(string name) {
for (int idx = 0; idx < this.globalNames.Length; idx++) {
if (this.globalNames[idx] == name) {
Debug.Assert(IsGlobalComputed(idx), "Cannot get the value of a global value until it has been computed.");
Debug.Assert(this.globalValues[idx] is IList<XPathItem>, "Only debugger should call this method, and all global values should have type item* in debugging scenarios.");
return (IList) this.globalValues[idx];
}
}
return null;
}