Пример #1
0
 private static void ParseSOMelementAndAttributes(Specification S, XmlElement E)
 {
     bool specialized = true;
     SOM som = ParseOMelementAndAttributes(S, E, specialized) as SOM;
     if (S.IsTypeName(som.Name))
         throw new G25.UserException("In specialized outermorphism definition: a type '" + som.Name + "' already exists.");
     S.AddSpecializedOM(som);
 }