Lines Matching defs:number
227 /// A collection of fields, which can be retrieved by name or field number.
257 /// The number of real "oneof" descriptors in this message type. Every element in <see cref="Oneofs"/>
272 /// Finds a field by field number.
274 /// <param name="number">The field number within this message type.</param>
276 public FieldDescriptor FindFieldByNumber(int number) => File.DescriptorPool.FindFieldByNumber(this, number);
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
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>
385 /// with the given number</exception>
386 public FieldDescriptor this[int number]
390 var fieldDescriptor = messageDescriptor.FindFieldByNumber(number);
393 throw new KeyNotFoundException("No such field number");