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

CleanupAttribute() private static method

private static CleanupAttribute ( XmlSchemaAttribute attribute ) : void
attribute XmlSchemaAttribute
return void
        private static void CleanupAttribute(XmlSchemaAttribute attribute) {
            if (attribute.SchemaType != null) {
                CleanupSimpleType((XmlSchemaSimpleType)attribute.SchemaType);
            }
            attribute.AttDef = null;
        }