Exemplo n.º 1
0
 public virtual object Read(ref ProtoReader.State state, object value)
 {
     Debug.Assert(value is null); // since replaces
     return(state.ReadUInt16());
 }
Exemplo n.º 2
0
 public override object Read(ref ProtoReader.State state, object value)
 {
     Debug.Assert(value is null); // since replaces
     return((char)state.ReadUInt16());
 }