public override void WriteEntityRef(string name) { throw new NotSupportedException(SR.Format(SR.JsonMethodNotSupported, "WriteEntityRef")); }