public TypeCollection<NodeType> GetAllTypes() { TypeCollection<NodeType> types = new TypeCollection<NodeType>(this.SchemaRoot); this.GetAllTypes(types); return types; } private void GetAllTypes(TypeCollection<NodeType> types)