5 references to NativeProviderValueProtocol
Aspire.Hosting.Native.Core.Tests (1)
NativeProviderProtocolTests.cs (1)
130
var fault = Assert.Throws<RpcFault>(() =>
NativeProviderValueProtocol
.ParseReturnedHandle(JsonNode.Parse(wire), type, contract.CoreHandles));
Aspire.Hosting.Native.Server (4)
Rpc\NativeProviderLifecycle.cs (1)
81
NativeProviderValueProtocol
.ValidatePrimitive(result, metadataProjection.ReturnType);
Rpc\NativeProviderRegistry.cs (3)
387
NativeProviderValueProtocol
.ValidatePrimitive(value, type);
415
NativeProviderValueProtocol
.ValidatePrimitive(value, type);
419
var handle =
NativeProviderValueProtocol
.ParseReturnedHandle(value, type, _contract.CoreHandles);