Ejemplo n.º 1
0
 private bool NeedToBeFiltered(MethodDefinition method, FieldDefinition field)
 {
     return field.DeclaringType != method.DeclaringType
            || field.IsStatic
            || (field.IsGeneratedCode() && !(field.Name.Contains("BackingField") && (method.IsSetter || method.IsGetter)));
 }