Closed haacked closed 10 years ago
jake
build fails.
SimpleJson.cs(1653,52): error CS0246: The type or namespace name 'IReadOnlyCollection' could not be found (are you missing a using directive or an assembly reference?) [z:\projects\github\simple-json\src\SimpleJson\SimpleJson-WP7.csproj] SimpleJson.cs(1654,52): error CS0246: The type or namespace name 'IReadOnlyList ' could not be found (are you missing a using directive or an assembly referenc e?) [z:\projects\github\simple-json\src\SimpleJson\SimpleJson-WP7.csproj]
Weird. THose built on my machine. I force pushed an update that just does the change to the .NET 4.5 projects.
thanks
v0.32.0 with readonly collection support has been published to nuget.
I also added a short doc in readme about the new SIMPLE_JSON_READONLY_COLLECTIONS
flag as well as in SimpleJson.cs
file.
Thanks! :thumbsup:
This also adds a new compiler constant:
SIMPLE_JSON_READONLY_COLLECTIONS
for platforms that supportIReadOnlyList<>
andIReadOnlyCollection<>
/cc @shiftkey