internal bool IsExtensionNamespace(string nspace) { Debug.Assert(_scopeStack != null, "PushScope wasn't called"); for (InputScope inputScope = _scopeStack; inputScope != null; inputScope = inputScope.Parent) { if (inputScope.IsExtensionNamespace(nspace)) { return(true); } } return(false); }