private bool ShouldSerialize(JsonWriter writer, JsonProperty property, object target)
        {
            if (property.ShouldSerialize == null)
            {
                return(true);
            }

            bool shouldSerialize = property.ShouldSerialize(target);

            if (TraceWriter != null && TraceWriter.LevelFilter >= TraceLevel.Verbose)
            {
                TraceWriter.Trace(TraceLevel.Verbose, JsonPosition.FormatMessage(null, writer.Path, "ShouldSerialize result for property '{0}' on {1}: {2}".FormatWith(CultureInfo.InvariantCulture, property.PropertyName, property.DeclaringType, shouldSerialize)), null);
            }

            return(shouldSerialize);
        }
    private bool ShouldSerialize(JsonProperty property, object target)
    {
      if (property.ShouldSerialize == null)
        return true;

      return property.ShouldSerialize(target);
    }
    private bool ShouldSerialize(JsonWriter writer, JsonProperty property, object target)
    {
      if (property.ShouldSerialize == null)
        return true;

      bool shouldSerialize = property.ShouldSerialize(target);

      if (TraceWriter != null && TraceWriter.LevelFilter >= TraceLevel.Verbose)
        TraceWriter.Trace(TraceLevel.Verbose, JsonPosition.FormatMessage(null, writer.Path, "ShouldSerialize result for property '{0}' on {1}: {2}".FormatWith(CultureInfo.InvariantCulture, property.PropertyName, property.DeclaringType, shouldSerialize)), null);

      return shouldSerialize;
    }
 private bool ShouldSerialize(JsonProperty property, object target)
 {
     return(property.ShouldSerialize == null || property.ShouldSerialize(target));
 }
 // Token: 0x06000C0D RID: 3085
 // RVA: 0x00047C8C File Offset: 0x00045E8C
 private bool ShouldSerialize(JsonWriter writer, JsonProperty property, object target)
 {
     if (property.ShouldSerialize == null)
     {
         return true;
     }
     bool flag = property.ShouldSerialize(target);
     if (this.TraceWriter != null && this.TraceWriter.LevelFilter >= TraceLevel.Verbose)
     {
         this.TraceWriter.Trace(TraceLevel.Verbose, JsonPosition.FormatMessage(null, writer.Path, StringUtils.FormatWith("ShouldSerialize result for property '{0}' on {1}: {2}", CultureInfo.InvariantCulture, property.PropertyName, property.DeclaringType, flag)), null);
     }
     return flag;
 }