• 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
FileDescriptor.cs 16.4 KB