public override bool Equals(object obj) { NestedB other = obj as NestedB; if (other == null) { return(false); } return(this.ValueB == other.ValueB && this.ValueB2 == other.ValueB2); }
public async Task Test2() { var pipe = new Pipe(); var to = new NestedB(); var read = Read(pipe); await Write(to, pipe).ConfigureAwait(false); var json = await read; var actual = json.ToString(); Assert.IsNotNull(actual); }