Lines Matching defs:fields
42 /// Used to keep track of fields which were seen when parsing a protocol message
44 /// occurs when new fields are added to a message type and then messages containing
45 /// those fields are read by old software that was built before the new types were
52 private readonly IDictionary<int, UnknownField> fields;
59 this.fields = new Dictionary<int, UnknownField>();
67 return fields.ContainsKey(field);
92 foreach (KeyValuePair<int, UnknownField> entry in fields)
104 foreach (KeyValuePair<int, UnknownField> entry in fields)
121 IDictionary<int, UnknownField> otherFields = otherSet.fields;
122 if (fields.Count != otherFields.Count)
126 foreach (KeyValuePair<int, UnknownField> leftEntry in fields)
147 foreach (KeyValuePair<int, UnknownField> field in fields)
174 if (fields.TryGetValue(number, out existing))
194 fields[number] = field;
269 /// into unknownFields. If <paramref name="input"/> is configured to discard unknown fields,
292 /// into unknownFields. If <paramref name="ctx"/> is configured to discard unknown fields,
319 /// Merges the fields from <paramref name="other"/> into this set.
327 foreach (KeyValuePair<int, UnknownField> entry in other.fields)
337 /// needed and merges the fields from <paramref name="other"/> into the first set.