diff --git a/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/17.14.28/index.json b/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/18.0.2/index.json similarity index 100% rename from Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/17.14.28/index.json rename to Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/18.0.2/index.json diff --git a/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/17.14.28/package.nuspec b/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/18.0.2/package.nuspec similarity index 92% rename from Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/17.14.28/package.nuspec rename to Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/18.0.2/package.nuspec index 1906f435..a44eb270 100644 --- a/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/17.14.28/package.nuspec +++ b/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/18.0.2/package.nuspec @@ -2,7 +2,7 @@ Microsoft.NET.StringTools - 17.14.28 + 18.0.2 Microsoft true MIT @@ -15,14 +15,14 @@ © Microsoft Corporation. All rights reserved. MSBuild true - + - + diff --git a/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/17.14.28/readme.md b/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/18.0.2/readme.md similarity index 83% rename from Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/17.14.28/readme.md rename to Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/18.0.2/readme.md index 66709100..7f3bfb5f 100644 --- a/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/17.14.28/readme.md +++ b/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/18.0.2/readme.md @@ -1,4 +1,4 @@ -Microsoft.NET.StringTools [17.14.28](https://www.nuget.org/packages/Microsoft.NET.StringTools/17.14.28) +Microsoft.NET.StringTools [18.0.2](https://www.nuget.org/packages/Microsoft.NET.StringTools/18.0.2) -------------------- Used by: NerdbankMessagePack diff --git a/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/17.14.28/repository-LICENSE b/Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/18.0.2/repository-LICENSE similarity index 100% rename from Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/17.14.28/repository-LICENSE rename to Build/third-party-libraries/packages/nuget.org/microsoft.net.stringtools/18.0.2/repository-LICENSE diff --git a/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.11.54-rc/index.json b/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.12.4-rc/index.json similarity index 94% rename from Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.11.54-rc/index.json rename to Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.12.4-rc/index.json index 6fe67d78..7b822b96 100644 --- a/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.11.54-rc/index.json +++ b/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.12.4-rc/index.json @@ -18,7 +18,7 @@ "Dependencies": [ { "Name": "Microsoft.NET.StringTools", - "Version": "17.14.28" + "Version": "18.0.2" }, { "Name": "Microsoft.VisualStudio.Validation", @@ -26,7 +26,7 @@ }, { "Name": "PolyType", - "Version": "1.0.0-rc.7" + "Version": "1.0.0-rc.9" }, { "Name": "System.IO.Pipelines", diff --git a/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.11.54-rc/package.nuspec b/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.12.4-rc/package.nuspec similarity index 77% rename from Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.11.54-rc/package.nuspec rename to Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.12.4-rc/package.nuspec index 56179a60..a764a689 100644 --- a/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.11.54-rc/package.nuspec +++ b/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.12.4-rc/package.nuspec @@ -2,7 +2,7 @@ Nerdbank.MessagePack - 0.11.54-rc + 0.12.4-rc Andrew Arnott MIT https://licenses.nuget.org/MIT @@ -14,37 +14,36 @@ Premium support for trimming and Native AOT, secure deserialization of untrusted data, async serialization, streaming deserialization, skip serializing of default values, reference preservation, and support for reference cycles. Also features an automatic structural equality API. - https://github.com/AArnott/Nerdbank.MessagePack/releases/tag/v0.11.54-rc + https://github.com/AArnott/Nerdbank.MessagePack/releases/tag/v0.12.4-rc © Andrew Arnott. All rights reserved. MsgPack MessagePack Serialization Serializer Unity structural-equality secure-hash - + - + - + - + - + - + - - + - + - + diff --git a/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.11.54-rc/readme.md b/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.12.4-rc/readme.md similarity index 86% rename from Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.11.54-rc/readme.md rename to Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.12.4-rc/readme.md index 785bada3..3f7094ed 100644 --- a/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.11.54-rc/readme.md +++ b/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.12.4-rc/readme.md @@ -1,4 +1,4 @@ -Nerdbank.MessagePack [0.11.54-rc](https://www.nuget.org/packages/Nerdbank.MessagePack/0.11.54-rc) +Nerdbank.MessagePack [0.12.4-rc](https://www.nuget.org/packages/Nerdbank.MessagePack/0.12.4-rc) -------------------- Used by: NerdbankMessagePack @@ -24,9 +24,9 @@ Dependencies 4 |Name|Version| |----------|:----| -|[Microsoft.NET.StringTools](../../../../packages/nuget.org/microsoft.net.stringtools/17.14.28)|17.14.28| +|[Microsoft.NET.StringTools](../../../../packages/nuget.org/microsoft.net.stringtools/18.0.2)|18.0.2| |[Microsoft.VisualStudio.Validation](../../../../packages/nuget.org/microsoft.visualstudio.validation/17.13.22)|17.13.22| -|[PolyType](../../../../packages/nuget.org/polytype/1.0.0-rc.7)|1.0.0-rc.7| +|[PolyType](../../../../packages/nuget.org/polytype/1.0.0-rc.9)|1.0.0-rc.9| |[System.IO.Pipelines](../../../../packages/nuget.org/system.io.pipelines/8.0.0)|8.0.0| *This page was generated by a tool.* \ No newline at end of file diff --git a/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.11.54-rc/repository-LICENSE b/Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.12.4-rc/repository-LICENSE similarity index 100% rename from Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.11.54-rc/repository-LICENSE rename to Build/third-party-libraries/packages/nuget.org/nerdbank.messagepack/0.12.4-rc/repository-LICENSE diff --git a/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.7/index.json b/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.9/index.json similarity index 100% rename from Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.7/index.json rename to Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.9/index.json diff --git a/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.7/package.nuspec b/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.9/package.nuspec similarity index 91% rename from Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.7/package.nuspec rename to Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.9/package.nuspec index dcd83367..2af45472 100644 --- a/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.7/package.nuspec +++ b/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.9/package.nuspec @@ -2,7 +2,7 @@ PolyType - 1.0.0-rc.7 + 1.0.0-rc.9 Eirik Tsarpalis MIT https://licenses.nuget.org/MIT @@ -10,10 +10,10 @@ README.md https://eiriktsarpalis.github.io/PolyType/ Practical generic programming for C# - https://github.com/eiriktsarpalis/PolyType/releases/tag/v1.0.0-rc.7 + https://github.com/eiriktsarpalis/PolyType/releases/tag/v1.0.0-rc.9 2024 generic programming, source generator, polytypic - + @@ -23,6 +23,7 @@ + diff --git a/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.7/readme.md b/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.9/readme.md similarity index 85% rename from Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.7/readme.md rename to Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.9/readme.md index c00e0cf4..454ab564 100644 --- a/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.7/readme.md +++ b/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.9/readme.md @@ -1,4 +1,4 @@ -PolyType [1.0.0-rc.7](https://www.nuget.org/packages/PolyType/1.0.0-rc.7) +PolyType [1.0.0-rc.9](https://www.nuget.org/packages/PolyType/1.0.0-rc.9) -------------------- Used by: NerdbankMessagePack diff --git a/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.7/repository-LICENSE b/Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.9/repository-LICENSE similarity index 100% rename from Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.7/repository-LICENSE rename to Build/third-party-libraries/packages/nuget.org/polytype/1.0.0-rc.9/repository-LICENSE diff --git a/Build/third-party-libraries/readme.md b/Build/third-party-libraries/readme.md index 819548cb..ba26af10 100644 --- a/Build/third-party-libraries/readme.md +++ b/Build/third-party-libraries/readme.md @@ -60,7 +60,7 @@ Packages 133 |[Microsoft.NET.ILLink.Tasks](packages/nuget.org/microsoft.net.illink.tasks/8.0.22)|8.0.22|[nuget.org](https://www.nuget.org/packages/Microsoft.NET.ILLink.Tasks/8.0.22)|[MIT](licenses/mit)|AspNetCore, ClientDI, Core, Emit, MemoryPack, MessagePack, NerdbankMessagePack| |[Microsoft.NET.ILLink.Tasks](packages/nuget.org/microsoft.net.illink.tasks/9.0.11)|9.0.11|[nuget.org](https://www.nuget.org/packages/Microsoft.NET.ILLink.Tasks/9.0.11)|[MIT](licenses/mit)|AspNetCore, ClientDI, Core, Emit, MemoryPack, MessagePack, NerdbankMessagePack| |[Microsoft.NET.StringTools](packages/nuget.org/microsoft.net.stringtools/17.11.4)|17.11.4|[nuget.org](https://www.nuget.org/packages/Microsoft.NET.StringTools/17.11.4)|[MIT](licenses/mit)|MessagePack| -|[Microsoft.NET.StringTools](packages/nuget.org/microsoft.net.stringtools/17.14.28)|17.14.28|[nuget.org](https://www.nuget.org/packages/Microsoft.NET.StringTools/17.14.28)|[MIT](licenses/mit)|NerdbankMessagePack| +|[Microsoft.NET.StringTools](packages/nuget.org/microsoft.net.stringtools/18.0.2)|18.0.2|[nuget.org](https://www.nuget.org/packages/Microsoft.NET.StringTools/18.0.2)|[MIT](licenses/mit)|NerdbankMessagePack| |[Microsoft.NET.Test.Sdk](packages/nuget.org/microsoft.net.test.sdk/18.0.1)|18.0.1|[nuget.org](https://www.nuget.org/packages/Microsoft.NET.Test.Sdk/18.0.1)|[MIT](licenses/mit)|AspNetCore internal, AspNetCoreNSwag internal, AspNetCoreSwashbuckle internal, ClientDI internal, Core internal, DesignTime internal, Emit internal, MemoryPack internal, MessagePack internal, NerdbankMessagePack internal, SelfHost internal| |[Microsoft.NETFramework.ReferenceAssemblies](packages/nuget.org/microsoft.netframework.referenceassemblies/1.0.3)|1.0.3|[nuget.org](https://www.nuget.org/packages/Microsoft.NETFramework.ReferenceAssemblies/1.0.3)|[MIT](licenses/mit)|ClientDI internal, Core, DesignTime internal, Emit, ProtoBuf, SelfHost| |[Microsoft.OpenApi](packages/nuget.org/microsoft.openapi/2.3.0)|2.3.0|[nuget.org](https://www.nuget.org/packages/Microsoft.OpenApi/2.3.0)|[MIT](licenses/mit)|AspNetCoreSwashbuckle| @@ -78,7 +78,7 @@ Packages 133 |[Mono.Reflection](packages/nuget.org/mono.reflection/2.0.0)|2.0.0|[nuget.org](https://www.nuget.org/packages/Mono.Reflection/2.0.0)|[MIT](licenses/mit)|Core internal| |[Moq](packages/nuget.org/moq/4.20.72)|4.20.72|[nuget.org](https://www.nuget.org/packages/Moq/4.20.72)|[BSD-3-Clause](licenses/bsd-3-clause)|AspNetCore internal, AspNetCoreNSwag internal, AspNetCoreSwashbuckle internal, ClientDI internal, Core internal, DesignTime internal, Emit internal, MemoryPack internal, MessagePack internal, NerdbankMessagePack internal, SelfHost internal| |[Namotion.Reflection](packages/nuget.org/namotion.reflection/3.4.3)|3.4.3|[nuget.org](https://www.nuget.org/packages/Namotion.Reflection/3.4.3)|[MIT](licenses/mit)|AspNetCoreNSwag| -|[Nerdbank.MessagePack](packages/nuget.org/nerdbank.messagepack/0.11.54-rc)|0.11.54-rc|[nuget.org](https://www.nuget.org/packages/Nerdbank.MessagePack/0.11.54-rc)|[MIT](licenses/mit)|NerdbankMessagePack| +|[Nerdbank.MessagePack](packages/nuget.org/nerdbank.messagepack/0.12.4-rc)|0.12.4-rc|[nuget.org](https://www.nuget.org/packages/Nerdbank.MessagePack/0.12.4-rc)|[MIT](licenses/mit)|NerdbankMessagePack| |[NETStandard.Library](packages/nuget.org/netstandard.library/2.0.3)|2.0.3|[nuget.org](https://www.nuget.org/packages/NETStandard.Library/2.0.3)|[MIT](licenses/mit)|ClientDI, Core, DesignTime, Emit, MessagePack, NerdbankMessagePack, ProtoBuf, SelfHost| |[Newtonsoft.Json](packages/nuget.org/newtonsoft.json/13.0.3)|13.0.3|[nuget.org](https://www.nuget.org/packages/Newtonsoft.Json/13.0.3)|[MIT](licenses/mit)|AspNetCoreNSwag| |[Newtonsoft.Json](packages/nuget.org/newtonsoft.json/13.0.4)|13.0.4|[nuget.org](https://www.nuget.org/packages/Newtonsoft.Json/13.0.4)|[MIT](licenses/mit)|AspNetCore internal, AspNetCoreNSwag internal, AspNetCoreSwashbuckle internal, ClientDI internal, Core internal, DesignTime internal, Emit internal, MemoryPack internal, MessagePack internal, NerdbankMessagePack internal, SelfHost internal| @@ -94,7 +94,7 @@ Packages 133 |[NSwag.Generation.AspNetCore](packages/nuget.org/nswag.generation.aspnetcore/14.6.3)|14.6.3|[nuget.org](https://www.nuget.org/packages/NSwag.Generation.AspNetCore/14.6.3)|[MIT](licenses/mit)|AspNetCoreNSwag| |[NUnit](packages/nuget.org/nunit/4.4.0)|4.4.0|[nuget.org](https://www.nuget.org/packages/NUnit/4.4.0)|[MIT](licenses/mit)|AspNetCore internal, AspNetCoreNSwag internal, AspNetCoreSwashbuckle internal, ClientDI internal, Core internal, DesignTime internal, Emit internal, MemoryPack internal, MessagePack internal, NerdbankMessagePack internal, SelfHost internal| |[NUnit3TestAdapter](packages/nuget.org/nunit3testadapter/5.2.0)|5.2.0|[nuget.org](https://www.nuget.org/packages/NUnit3TestAdapter/5.2.0)|[MIT](licenses/mit)|AspNetCore internal, AspNetCoreNSwag internal, AspNetCoreSwashbuckle internal, ClientDI internal, Core internal, DesignTime internal, Emit internal, MemoryPack internal, MessagePack internal, NerdbankMessagePack internal, SelfHost internal| -|[PolyType](packages/nuget.org/polytype/1.0.0-rc.7)|1.0.0-rc.7|[nuget.org](https://www.nuget.org/packages/PolyType/1.0.0-rc.7)|[MIT](licenses/mit)|NerdbankMessagePack| +|[PolyType](packages/nuget.org/polytype/1.0.0-rc.9)|1.0.0-rc.9|[nuget.org](https://www.nuget.org/packages/PolyType/1.0.0-rc.9)|[MIT](licenses/mit)|NerdbankMessagePack| |[protobuf-net](packages/nuget.org/protobuf-net/3.2.56)|3.2.56|[nuget.org](https://www.nuget.org/packages/protobuf-net/3.2.56)|[Apache-2.0](licenses/apache-2.0)|ProtoBuf| |[protobuf-net.Core](packages/nuget.org/protobuf-net.core/3.2.56)|3.2.56|[nuget.org](https://www.nuget.org/packages/protobuf-net.Core/3.2.56)|[Apache-2.0](licenses/apache-2.0)|ProtoBuf| |[Shouldly](packages/nuget.org/shouldly/4.3.0)|4.3.0|[nuget.org](https://www.nuget.org/packages/Shouldly/4.3.0)|[BSD-3-Clause](licenses/bsd-3-clause)|AspNetCore internal, AspNetCoreNSwag internal, AspNetCoreSwashbuckle internal, ClientDI internal, Core internal, DesignTime internal, Emit internal, MemoryPack internal, MessagePack internal, NerdbankMessagePack internal, SelfHost internal| diff --git a/Examples/Directory.Packages.props b/Examples/Directory.Packages.props index 922a0b8f..500e7fd5 100644 --- a/Examples/Directory.Packages.props +++ b/Examples/Directory.Packages.props @@ -52,7 +52,7 @@ - + diff --git a/Sources/Directory.Packages.props b/Sources/Directory.Packages.props index 3486ef38..a8066454 100644 --- a/Sources/Directory.Packages.props +++ b/Sources/Directory.Packages.props @@ -22,7 +22,7 @@ - + diff --git a/Sources/ServiceModel.Grpc.Nerdbank.MessagePackMarshaller/Configuration/Internal/MessageShapeInstance.cs b/Sources/ServiceModel.Grpc.Nerdbank.MessagePackMarshaller/Configuration/Internal/MessageShapeInstance.cs index 0cb4861e..a3b3973f 100644 --- a/Sources/ServiceModel.Grpc.Nerdbank.MessagePackMarshaller/Configuration/Internal/MessageShapeInstance.cs +++ b/Sources/ServiceModel.Grpc.Nerdbank.MessagePackMarshaller/Configuration/Internal/MessageShapeInstance.cs @@ -40,8 +40,8 @@ public ITypeShape ToShape() Provider = _provider, IsRecordType = false, IsTupleType = false, - CreatePropertiesFunc = CreateProperties, - CreateConstructorFunc = CreateConstructor + PropertiesFactory = CreateProperties, + ConstructorFactory = CreateConstructor }; return _value; @@ -56,15 +56,15 @@ private static void SetReserved(ref TMessage message, object? value) private IConstructorShape CreateConstructor() => new SourceGenConstructorShape { DeclaringType = _value!, - DefaultConstructorFunc = static () => new TMessage(), + DefaultConstructor = static () => new TMessage(), IsPublic = true }; - private IPropertyShape[] CreateProperties() + private IEnumerable CreateProperties() { if (_properties.Length == 0) { - return Array.Empty(); + return Enumerable.Empty(); } var result = new IPropertyShape[_properties.Length + 1];