static EnumDataContractCriticalHelper() { s_typeToName = new Dictionary<Type, XmlQualifiedName>(); s_nameToType = new Dictionary<XmlQualifiedName, Type>(); Add(typeof(sbyte), "byte"); Add(typeof(byte), "unsignedByte"); Add(typeof(short), "short"); Add(typeof(ushort), "unsignedShort"); Add(typeof(int), "int"); Add(typeof(uint), "unsignedInt"); Add(typeof(long), "long"); Add(typeof(ulong), "unsignedLong"); }