• Jon Skeet's avatar
    Implement reflection properly for fields. · 78ea98f5
    Jon Skeet authored
    - FieldAccessorTable is now non-generic
    - We don't have a static field per message type in the umbrella class. (Message descriptors are accessed via the file descriptor.)
    - Removed the "descriptor assigner" complication from the descriptor fixup; without extensions, we don't need it
    - MapField implements IDictionary (more tests would be good...)
    - RepeatedField implements IList (more tests would be good)
    - Use expression trees to build accessors. (Will need to test this on various platforms... probably need a fallback strategy just using reflection directly.)
    - Added FieldDescriptor.IsMap
    - Added tests for reflection with generated messages
    
    Changes to generated code coming in next commit.
    78ea98f5
Name
Last commit
Last update
..
DescriptorBase.cs Loading commit data...
DescriptorPool.cs Loading commit data...
DescriptorUtil.cs Loading commit data...
DescriptorValidationException.cs Loading commit data...
EnumDescriptor.cs Loading commit data...
EnumValueDescriptor.cs Loading commit data...
FieldDescriptor.cs Loading commit data...
FieldType.cs Loading commit data...
FileDescriptor.cs Loading commit data...
IDescriptor.cs Loading commit data...
IndexedDescriptorBase.cs Loading commit data...
MessageDescriptor.cs Loading commit data...
MethodDescriptor.cs Loading commit data...
OneofDescriptor.cs Loading commit data...
PackageDescriptor.cs Loading commit data...
ServiceDescriptor.cs Loading commit data...