System.Xml.Xsl.IlGen.XmlILVisitor.ElementCachesAttributes C# (CSharp) Method

ElementCachesAttributes() private method

Returns true if the specified element should cache attributes.
private ElementCachesAttributes ( XmlILConstructInfo info ) : bool
info XmlILConstructInfo
return bool
        private bool ElementCachesAttributes(XmlILConstructInfo info) {
            // Attributes will be cached if namespaces might be constructed after the attributes
            return info.MightHaveDuplicateAttributes || info.MightHaveNamespacesAfterAttributes;
        }
XmlILVisitor