static DefaultAttributes()
{
// predefined localizability attributes
DefinedAttributes = new Dictionary<object, LocalizabilityAttribute>(32);
// nonlocalizable attribute
LocalizabilityAttribute notReadable = new LocalizabilityAttribute(LocalizationCategory.None);
notReadable.Readability = Readability.Unreadable;
LocalizabilityAttribute notModifiable = new LocalizabilityAttribute(LocalizationCategory.None);
notModifiable.Modifiability = Modifiability.Unmodifiable;
// not localizable CLR types
DefinedAttributes.Add(typeof(Boolean), notReadable);
DefinedAttributes.Add(typeof(Byte), notReadable);
DefinedAttributes.Add(typeof(SByte), notReadable);
DefinedAttributes.Add(typeof(Char), notReadable);
DefinedAttributes.Add(typeof(Decimal), notReadable);
DefinedAttributes.Add(typeof(Double), notReadable);
DefinedAttributes.Add(typeof(Single), notReadable);
DefinedAttributes.Add(typeof(Int32), notReadable);
DefinedAttributes.Add(typeof(UInt32), notReadable);
DefinedAttributes.Add(typeof(Int64), notReadable);
DefinedAttributes.Add(typeof(UInt64), notReadable);
DefinedAttributes.Add(typeof(Int16), notReadable);
DefinedAttributes.Add(typeof(UInt16), notReadable);
DefinedAttributes.Add(typeof(Uri), notModifiable);
}