private List<CatelTypeProperty> DetermineProperties()
{
var properties = new List<CatelTypeProperty>();
var typeProperties = TypeDefinition.Properties;
foreach (var typeProperty in typeProperties)
{
if (typeProperty.IsDecoratedWithAttribute("NoWeavingAttribute"))
{
typeProperty.RemoveAttribute("NoWeavingAttribute");
continue;
}
if (typeProperty.SetMethod == null)
{
continue;
}
if (typeProperty.SetMethod.IsStatic)
{
continue;
}
properties.Add(new CatelTypeProperty(TypeDefinition, typeProperty));
}
return properties;
}