public StateBase(JsonWriter outer) { this._outer = outer; }
public InitialState(JsonWriter outer) : base(outer) { }
protected virtual void WriteExpression(object o, TextWriter writer, Expression expr) { // NOTE: we don't dispose of the JsonWriter because we didn't create the text writer JsonWriter jsonWriter = new JsonWriter(writer, !this.Config.IsCompact, this.Config.TypeAliases); WriteComment(jsonWriter, o); ExpressionWriter.Write(jsonWriter, this.Config.OutputTypeInformation, expr); }