internal void CompileSchemaInSet(XmlNameTable nameTable, ValidationEventHandler eventHandler, XmlSchemaCompilationSettings compilationSettings) { System.Xml.Schema.Compiler compiler = new System.Xml.Schema.Compiler(nameTable, eventHandler, null, compilationSettings); compiler.Prepare(this, true); this.isCompiledBySet = compiler.Compile(); }