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