public PropertySerializationInfo(PropertyInfo property) { Property = property; IsText = TypeHelper.IsXmlText(property); IsAttribute = TypeHelper.IsXmlAttribute(property) && !IsText; Invoker = EmitInvoker.Initialize(property, true); Default = TypeHelper.GetDefault(property); if (IsAttribute || IsText) { Serialazer = TypeHelper.GetValueSerializer(property); } Name = property.Name; }