Lines Matching refs:field

111                 (field, index) =>
112 new FieldDescriptor(field, file, this, index, generatedCodeInfo?.PropertyNames[index], null));
113 fieldsInNumberOrder = new ReadOnlyCollection<FieldDescriptor>(fieldsInDeclarationOrder.OrderBy(field => field.FieldNumber).ToArray());
114 // TODO: Use field => field.Proto.JsonName when we're confident it's appropriate. (And then use it in the formatter, too.)
123 foreach (var field in fields)
125 map[field.Name] = field;
126 map[field.JsonName] = field;
174 /// if a message containing a map field is introspected, the list of nested messages will include
175 /// an auto-generated nested key/value pair message for the field. This is not represented in any
197 /// if a message containing a map field is introspected, the list of nested messages will include
198 /// an auto-generated nested key/value pair message for the field. No message parser object is created for
227 /// A collection of fields, which can be retrieved by name or field number.
250 /// An unmodifiable list of the "oneof" field collections in this message type.
265 /// Finds a field by field name.
267 /// <param name="name">The unqualified name of the field (e.g. "foo").</param>
268 /// <returns>The field's descriptor, or null if not found.</returns>
272 /// Finds a field by field number.
274 /// <param name="number">The field number within this message type.</param>
275 /// <returns>The field's descriptor, or null if not found.</returns>
330 foreach (FieldDescriptor field in fieldsInDeclarationOrder)
332 field.CrossLink();
344 /// A collection to simplify retrieving the field accessor for a particular field.
362 /// Returns the fields in the message as an immutable list, in ascending field number
364 /// index in the list to the field number; to retrieve a field by field number, it is better
372 /// Returns a read-only dictionary mapping the field names in this message as they're available
373 /// in the JSON representation to the field descriptors. For example, a field <c>foo_bar</c>
375 /// <c>foo_bar</c>, both referring to the same field.
380 /// Retrieves the descriptor for the field with the given number.
382 /// <param name="number">Number of the field to retrieve the descriptor for</param>
383 /// <returns>The accessor for the given field</returns>
384 /// <exception cref="KeyNotFoundException">The message descriptor does not contain a field
393 throw new KeyNotFoundException("No such field number");
400 /// Retrieves the descriptor for the field with the given name.
402 /// <param name="name">Name of the field to retrieve the descriptor for</param>
403 /// <returns>The descriptor for the given field</returns>
404 /// <exception cref="KeyNotFoundException">The message descriptor does not contain a field
413 throw new KeyNotFoundException("No such field name");