System.Xml.Schema.SchemaCollectionCompiler.CleanupAttributes C# (CSharp) Method

CleanupAttributes() private static method

private static CleanupAttributes ( XmlSchemaObjectCollection attributes ) : void
attributes XmlSchemaObjectCollection
return void
        private static void CleanupAttributes(XmlSchemaObjectCollection attributes) {
            foreach (XmlSchemaObject obj in attributes) {
                if (obj is XmlSchemaAttribute) {
                    CleanupAttribute((XmlSchemaAttribute)obj);
                }
            }        
        }