@ -38,10 +38,10 @@ namespace Google.Protobuf.Reflection
/// These are constructed as required, and are not long-lived. Hand-written code should
/// never need to use this type.
/// </summary>
public sealed class GeneratedCod eInfo
public sealed class GeneratedClrTyp eInfo
{
private static readonly string [ ] EmptyNames = new string [ 0 ] ;
private static readonly GeneratedCod eInfo [ ] EmptyCodeInfo = new GeneratedCod eInfo [ 0 ] ;
private static readonly GeneratedClrTyp eInfo [ ] EmptyCodeInfo = new GeneratedClrTyp eInfo [ 0 ] ;
/// <summary>
/// Irrelevant for file descriptors; the CLR type for the message for message descriptors.
@ -70,7 +70,7 @@ namespace Google.Protobuf.Reflection
/// The reflection information for types within this file/message descriptor. Elements may be null
/// if there is no corresponding generated type, e.g. for map entry types.
/// </summary>
public GeneratedCod eInfo [ ] NestedTypes { get ; }
public GeneratedClrTyp eInfo [ ] NestedTypes { get ; }
/// <summary>
/// The CLR types for enums within this file/message descriptor.
@ -78,11 +78,11 @@ namespace Google.Protobuf.Reflection
public Type [ ] NestedEnums { get ; }
/// <summary>
/// Creates a GeneratedCod eInfo for a message descriptor, with nested types, nested enums, the CLR type, property names and oneof names.
/// Creates a GeneratedClrTyp eInfo for a message descriptor, with nested types, nested enums, the CLR type, property names and oneof names.
/// Each array parameter may be null, to indicate a lack of values.
/// The parameter order is designed to make it feasible to format the generated code readably.
/// </summary>
public GeneratedCod eInfo ( Type clrType , MessageParser parser , string [ ] propertyNames , string [ ] oneofNames , Type [ ] nestedEnums , GeneratedCod eInfo [ ] nestedTypes )
public GeneratedClrTyp eInfo ( Type clrType , MessageParser parser , string [ ] propertyNames , string [ ] oneofNames , Type [ ] nestedEnums , GeneratedClrTyp eInfo [ ] nestedTypes )
{
NestedTypes = nestedTypes ? ? EmptyCodeInfo ;
NestedEnums = nestedEnums ? ? ReflectionUtil . EmptyTypes ;
@ -93,9 +93,9 @@ namespace Google.Protobuf.Reflection
}
/// <summary>
/// Creates a GeneratedCod eInfo for a file descriptor, with only types and enums.
/// Creates a GeneratedClrTyp eInfo for a file descriptor, with only types and enums.
/// </summary>
public GeneratedCod eInfo ( Type [ ] nestedEnums , GeneratedCod eInfo [ ] nestedTypes )
public GeneratedClrTyp eInfo ( Type [ ] nestedEnums , GeneratedClrTyp eInfo [ ] nestedTypes )
: this ( null , null , null , null , nestedEnums , nestedTypes )
{
}