• Jon Skeet's avatar
    Change where we rename Descriptor.cs to DescriptorProtoFile.cs. · ca89a1a1
    Jon Skeet authored
    We now do this in protoc instead of the generation simpler.
    
    Benefits:
    - Generation script is simpler
    - Detection is simpler as we now only need to care about one filename
    - The embedded descriptor knows itself as "google/protobuf/descriptor.proto" avoiding dependency issues
    
    This PR also makes the "invalid dependency" exception clearer in terms of expected and actual dependencies.
    ca89a1a1
Name
Last commit
Last update
..
DescriptorBase.cs Loading commit data...
DescriptorPool.cs Loading commit data...
DescriptorProtoFile.cs Loading commit data...
DescriptorUtil.cs Loading commit data...
DescriptorValidationException.cs Loading commit data...
EnumDescriptor.cs Loading commit data...
EnumValueDescriptor.cs Loading commit data...
FieldAccessorBase.cs Loading commit data...
FieldDescriptor.cs Loading commit data...
FieldType.cs Loading commit data...
FileDescriptor.cs Loading commit data...
GeneratedCodeInfo.cs Loading commit data...
IDescriptor.cs Loading commit data...
IFieldAccessor.cs Loading commit data...
MapFieldAccessor.cs Loading commit data...
MessageDescriptor.cs Loading commit data...
MethodDescriptor.cs Loading commit data...
OneofAccessor.cs Loading commit data...
OneofDescriptor.cs Loading commit data...
PackageDescriptor.cs Loading commit data...
PartialClasses.cs Loading commit data...
ReflectionUtil.cs Loading commit data...
RepeatedFieldAccessor.cs Loading commit data...
ServiceDescriptor.cs Loading commit data...
SingleFieldAccessor.cs Loading commit data...