void ProcessGet(PropertyDefinition property)
{
//Exclude indexers
if (property.HasParameters)
{
return;
}
var getMethod = property.GetMethod;
//Exclude when no get
if (getMethod == null)
{
return;
}
//Exclude when abstract
if (getMethod.IsAbstract)
{
return;
}
var recursiveIlFinder = new RecursiveIlFinder(property.DeclaringType);
recursiveIlFinder.Execute(getMethod);
foreach (var instruction in recursiveIlFinder.Instructions)
{
ProcessInstructionForGet(property, instruction);
}
}