michaeledgar / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
0 stars 0 forks source link

Mono build issue - GetPassThru #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[csc] Compiling 79 files to 'protobuf-
net/Protobuf_Serialization_Comparison_Test/bin/Debug/ProtoBuf.dll'.
     [csc] protobuf-net/Protobuf_Serialization_Comparison_Test/protobuf-
net/protobuf-net/Property/PropertyFactory.cs(16,40): error CS0029: Cannot 
implicitly convert type `T' to `T'
     [csc] protobuf-net/Protobuf_Serialization_Comparison_Test/protobuf-
net/protobuf-net/Property/PropertyFactory.cs(16,40): The generic parameter 
`T' of `ProtoBuf.Property.PropertyFactory.GetPassThru<T>()' cannot be 
converted to the generic parameter `T' of 
`ProtoBuf.Property.PropertyFactory.<>c__CompilerGenerated9<T>' (in the 
previous error)
     [csc] protobuf-net/Protobuf_Serialization_Comparison_Test/protobuf-
net/protobuf-net/Property/PropertyFactory.cs(16,40): error CS1662: Cannot 
convert `anonymous method' to delegate type `ProtoBuf.Property.Getter<T,T>' 
because some of the return types in the block are not implicitly 
convertible to the delegate return type
     [csc] Compilation failed: 2 error(s), 0 warnings

Original issue reported on code.google.com by marc.gravell on 23 Sep 2008 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by marc.gravell on 23 Sep 2008 at 6:49

GoogleCodeExporter commented 9 years ago
Tested with Mono

Original comment by marc.gravell on 23 Sep 2008 at 7:35