SubItemToken.cs 395 B

123456789101112131415
  1. 
  2. namespace ProtoBuf
  3. {
  4. /// <summary>
  5. /// Used to hold particulars relating to nested objects. This is opaque to the caller - simply
  6. /// give back the token you are given at the end of an object.
  7. /// </summary>
  8. public struct SubItemToken
  9. {
  10. internal readonly int value;
  11. internal SubItemToken(int value) {
  12. this.value = value;
  13. }
  14. }
  15. }