System.Xml.Xsl.XsltOld.DocumentScope.ResolveAtom C# (CSharp) Method

ResolveAtom() private method

private ResolveAtom ( string prefix ) : string
prefix string
return string
        internal string ResolveAtom(string prefix) {
            Debug.Assert(prefix != null && prefix.Length > 0);

            for (NamespaceDecl scope = this.scopes; scope != null; scope = scope.Next) {
                if (Keywords.Equals(scope.Prefix, prefix)) {
                    Debug.Assert(scope.Uri != null);
                    return scope.Uri;
                }
            }

            return null;
        }