mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +01:00
nullability step 2
This commit is contained in:
parent
3c9c98bc2b
commit
5b8f6722ec
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp
|
||||||
namespace Capnp
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Generic <see cref="ICapnpSerializable"/> implementation, based on a wrapper around <see cref="DeserializerState"/>.
|
/// Generic <see cref="ICapnpSerializable"/> implementation, based on a wrapper around <see cref="DeserializerState"/>.
|
||||||
@ -30,4 +29,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -4,6 +4,8 @@
|
|||||||
<TargetFrameworks>netstandard2.0;netcoreapp2.1;netcoreapp3.0</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;netcoreapp2.1;netcoreapp3.0</TargetFrameworks>
|
||||||
<RootNamespace>Capnp</RootNamespace>
|
<RootNamespace>Capnp</RootNamespace>
|
||||||
<LangVersion>8.0</LangVersion>
|
<LangVersion>8.0</LangVersion>
|
||||||
|
<Nullable>Enable</Nullable>
|
||||||
|
<WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors>
|
||||||
<AssemblyName>Capnp.Net.Runtime</AssemblyName>
|
<AssemblyName>Capnp.Net.Runtime</AssemblyName>
|
||||||
<PackageId>Capnp.Net.Runtime</PackageId>
|
<PackageId>Capnp.Net.Runtime</PackageId>
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||||
|
@ -3,7 +3,6 @@ using System.Collections.Generic;
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -172,4 +171,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -24,4 +23,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,8 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -695,8 +693,7 @@ namespace Capnp
|
|||||||
if (Caps == null)
|
if (Caps == null)
|
||||||
throw new InvalidOperationException("Capability table not set. This is a bug.");
|
throw new InvalidOperationException("Capability table not set. This is a bug.");
|
||||||
|
|
||||||
return Rpc.CapabilityReflection.CreateProxy<T>(Caps[(int)CapabilityIndex]) as T;
|
return (Rpc.CapabilityReflection.CreateProxy<T>(Caps[(int)CapabilityIndex]) as T)!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -227,4 +226,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -3,7 +3,6 @@ using System.Collections;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -37,4 +36,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -87,4 +86,3 @@ namespace Capnp
|
|||||||
public override IReadOnlyList<ushort> CastUShort() => new EmptyList<ushort>();
|
public override IReadOnlyList<ushort> CastUShort() => new EmptyList<ushort>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,14 +2,11 @@
|
|||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Net.Sockets;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -197,4 +194,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.FrameTracing
|
namespace Capnp.FrameTracing
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -32,4 +31,3 @@ namespace Capnp.FrameTracing
|
|||||||
void TraceFrame(FrameDirection direction, WireFrame frame);
|
void TraceFrame(FrameDirection direction, WireFrame frame);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -6,7 +6,6 @@ using System.IO;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.FrameTracing
|
namespace Capnp.FrameTracing
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -246,4 +245,3 @@ namespace Capnp.FrameTracing
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -3,7 +3,6 @@ using System.IO;
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -108,4 +107,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp
|
||||||
namespace Capnp
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This interface is intended to be implemented by schema-generated domain classes which support deserialization from
|
/// This interface is intended to be implemented by schema-generated domain classes which support deserialization from
|
||||||
@ -20,4 +19,3 @@ namespace Capnp
|
|||||||
void Deserialize(DeserializerState state);
|
void Deserialize(DeserializerState state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -28,4 +27,3 @@ namespace Capnp
|
|||||||
bool Allocate(uint nwords, uint preferredSegment, out SegmentSlice slice, bool forcePreferredSegment);
|
bool Allocate(uint nwords, uint preferredSegment, out SegmentSlice slice, bool forcePreferredSegment);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -21,4 +20,3 @@ namespace Capnp
|
|||||||
ulong StructReadData(ulong bitOffset, int bitCount);
|
ulong StructReadData(ulong bitOffset, int bitCount);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -26,4 +25,3 @@ namespace Capnp
|
|||||||
Span<ulong> StructDataSection { get; }
|
Span<ulong> StructDataSection { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -402,4 +401,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp
|
||||||
namespace Capnp
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Enumerates the list element categories which are defined by Cap'n Proto.
|
/// Enumerates the list element categories which are defined by Cap'n Proto.
|
||||||
@ -47,4 +46,3 @@ namespace Capnp
|
|||||||
ListOfStructs = 7
|
ListOfStructs = 7
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,7 +2,6 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -78,4 +77,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -3,7 +3,6 @@ using System.Collections;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -97,4 +96,3 @@ namespace Capnp
|
|||||||
IEnumerator IEnumerable.GetEnumerator() => this.ToArray().GetEnumerator();
|
IEnumerator IEnumerable.GetEnumerator() => this.ToArray().GetEnumerator();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,9 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -71,4 +69,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,7 +2,6 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -109,4 +108,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -3,7 +3,6 @@ using System.Collections;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -65,4 +64,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -32,4 +31,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,7 +2,6 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -90,4 +89,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,10 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -116,4 +113,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable enable
|
|
@ -4,7 +4,6 @@ using System.Collections.Generic;
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -233,4 +232,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,9 +2,7 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -95,4 +93,3 @@ namespace Capnp
|
|||||||
IEnumerator IEnumerable.GetEnumerator() => Data.ToArray().GetEnumerator();
|
IEnumerator IEnumerable.GetEnumerator() => Data.ToArray().GetEnumerator();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,9 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -80,4 +78,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -3,7 +3,6 @@ using System.Collections;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -94,4 +93,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,7 +2,6 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -110,5 +109,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#nullable restore
|
|
@ -1,7 +1,5 @@
|
|||||||
using System;
|
using Microsoft.Extensions.Logging;
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -22,4 +20,3 @@ namespace Capnp
|
|||||||
public static ILogger CreateLogger<T>() => LoggerFactory.CreateLogger<T>();
|
public static ILogger CreateLogger<T>() => LoggerFactory.CreateLogger<T>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,9 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -102,4 +99,3 @@ namespace Capnp
|
|||||||
internal List<Rpc.ConsumedCapability?>? Caps => _capTable;
|
internal List<Rpc.ConsumedCapability?>? Caps => _capTable;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -72,4 +71,3 @@ namespace Capnp
|
|||||||
Value = 16
|
Value = 16
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,8 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
class PrimitiveCoder
|
class PrimitiveCoder
|
||||||
@ -46,4 +43,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,9 +2,7 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -72,4 +70,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,8 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -104,4 +102,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp.Rpc
|
||||||
namespace Capnp.Rpc
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Helper struct to support tail calls
|
/// Helper struct to support tail calls
|
||||||
@ -42,4 +41,3 @@ namespace Capnp.Rpc
|
|||||||
public PendingQuestion? Counterquestion => _obj as PendingQuestion;
|
public PendingQuestion? Counterquestion => _obj as PendingQuestion;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp.Rpc
|
||||||
namespace Capnp.Rpc
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Generic Proxy implementation which exposes the (usually protected) Call method.
|
/// Generic Proxy implementation which exposes the (usually protected) Call method.
|
||||||
@ -51,4 +50,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,9 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -287,4 +285,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp.Rpc
|
||||||
namespace Capnp.Rpc
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// State of an RPC connection
|
/// State of an RPC connection
|
||||||
@ -23,4 +22,3 @@ namespace Capnp.Rpc
|
|||||||
Down
|
Down
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,9 +1,4 @@
|
|||||||
using System;
|
namespace Capnp.Rpc
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Base class for a low-level capability at consumer side. It is created by the <see cref="RpcEngine"/>. An application does not directly interact with it
|
/// Base class for a low-level capability at consumer side. It is created by the <see cref="RpcEngine"/>. An application does not directly interact with it
|
||||||
@ -32,4 +27,3 @@ namespace Capnp.Rpc
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,7 +1,6 @@
|
|||||||
using Capnp.FrameTracing;
|
using Capnp.FrameTracing;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -59,4 +58,3 @@ namespace Capnp.Rpc
|
|||||||
void Close();
|
void Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp.Rpc
|
||||||
namespace Capnp.Rpc
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A uni-directional endpoint, used in conjunction with the <see cref="RpcEngine"/>.
|
/// A uni-directional endpoint, used in conjunction with the <see cref="RpcEngine"/>.
|
||||||
@ -17,4 +16,3 @@ namespace Capnp.Rpc
|
|||||||
void Dismiss();
|
void Dismiss();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp.Rpc
|
||||||
namespace Capnp.Rpc
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A mono skeleton (as opposed to <see cref="PolySkeleton"/>) is a skeleton which implements one particular RPC interface.
|
/// A mono skeleton (as opposed to <see cref="PolySkeleton"/>) is a skeleton which implements one particular RPC interface.
|
||||||
@ -12,4 +11,3 @@ namespace Capnp.Rpc
|
|||||||
ulong InterfaceId { get; }
|
ulong InterfaceId { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -26,4 +25,3 @@ namespace Capnp.Rpc
|
|||||||
ConsumedCapability? Access(MemberAccessPath access);
|
ConsumedCapability? Access(MemberAccessPath access);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,7 +2,6 @@
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -23,4 +22,3 @@ namespace Capnp.Rpc
|
|||||||
DeserializerState args, CancellationToken cancellationToken = default);
|
DeserializerState args, CancellationToken cancellationToken = default);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,6 +1,5 @@
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -14,4 +13,3 @@ namespace Capnp.Rpc
|
|||||||
Task<Proxy> WhenResolved { get; }
|
Task<Proxy> WhenResolved { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,9 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
internal interface IRpcEndpoint
|
internal interface IRpcEndpoint
|
||||||
@ -20,4 +17,3 @@ namespace Capnp.Rpc
|
|||||||
void DeleteQuestion(PendingQuestion question);
|
void DeleteQuestion(PendingQuestion question);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -3,7 +3,6 @@ using System.Runtime.CompilerServices;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -253,4 +252,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,7 +1,4 @@
|
|||||||
using System.Threading.Tasks;
|
namespace Capnp.Rpc
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Low-level capability which as imported from a remote peer.
|
/// Low-level capability which as imported from a remote peer.
|
||||||
@ -53,4 +50,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,11 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc.Interception
|
namespace Capnp.Rpc.Interception
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -357,4 +353,3 @@ namespace Capnp.Rpc.Interception
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp.Rpc.Interception
|
||||||
namespace Capnp.Rpc.Interception
|
|
||||||
{
|
{
|
||||||
class CensorCapability : RefCountingCapability
|
class CensorCapability : RefCountingCapability
|
||||||
{
|
{
|
||||||
@ -43,4 +42,3 @@ namespace Capnp.Rpc.Interception
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc.Interception
|
namespace Capnp.Rpc.Interception
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -22,4 +21,3 @@ namespace Capnp.Rpc.Interception
|
|||||||
void OnReturnFromBob(CallContext callContext);
|
void OnReturnFromBob(CallContext callContext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp.Rpc.Interception
|
||||||
namespace Capnp.Rpc.Interception
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The state of an intercepted call from Alice to Bob.
|
/// The state of an intercepted call from Alice to Bob.
|
||||||
@ -27,4 +26,3 @@ namespace Capnp.Rpc.Interception
|
|||||||
ReturnedToAlice
|
ReturnedToAlice
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,7 +2,6 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc.Interception
|
namespace Capnp.Rpc.Interception
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -114,4 +113,3 @@ namespace Capnp.Rpc.Interception
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp.Rpc
|
||||||
namespace Capnp.Rpc
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Will be thrown if a type did not qualify as capability interface.
|
/// Will be thrown if a type did not qualify as capability interface.
|
||||||
@ -23,4 +22,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,7 +2,6 @@
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
class LazyCapability : RefCountingCapability, IResolvingCapability
|
class LazyCapability : RefCountingCapability, IResolvingCapability
|
||||||
@ -107,4 +106,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,7 +2,6 @@
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
class LocalAnswer : IPromisedAnswer
|
class LocalAnswer : IPromisedAnswer
|
||||||
@ -51,4 +50,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,7 +2,6 @@
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
class LocalAnswerCapability : RefCountingCapability, IResolvingCapability
|
class LocalAnswerCapability : RefCountingCapability, IResolvingCapability
|
||||||
@ -88,4 +87,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,10 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
class LocalCapability : ConsumedCapability
|
class LocalCapability : ConsumedCapability
|
||||||
@ -70,4 +68,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -2,7 +2,6 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -193,4 +192,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,9 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
class PendingAnswer: IDisposable
|
class PendingAnswer: IDisposable
|
||||||
@ -200,4 +198,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,10 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -379,4 +376,3 @@ namespace Capnp.Rpc
|
|||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -3,7 +3,6 @@ using System.Collections.Generic;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -72,4 +71,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,9 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
class PromisedCapability : RemoteResolvingCapability
|
class PromisedCapability : RemoteResolvingCapability
|
||||||
@ -259,4 +257,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,9 +1,7 @@
|
|||||||
using Microsoft.Extensions.Logging;
|
using System;
|
||||||
using System;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -240,4 +238,3 @@ namespace Capnp.Rpc
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,8 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -29,4 +26,3 @@ namespace Capnp.Rpc
|
|||||||
public Type ProxyClass { get; }
|
public Type ProxyClass { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,8 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
abstract class RefCountingCapability: ConsumedCapability
|
abstract class RefCountingCapability: ConsumedCapability
|
||||||
@ -113,4 +111,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,9 +1,6 @@
|
|||||||
using Microsoft.Extensions.Logging;
|
using System;
|
||||||
using System;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
class RemoteAnswerCapability : RemoteResolvingCapability
|
class RemoteAnswerCapability : RemoteResolvingCapability
|
||||||
@ -260,4 +257,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,9 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -42,4 +39,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -3,7 +3,6 @@ using System;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
abstract class RemoteResolvingCapability : RemoteCapability, IResolvingCapability
|
abstract class RemoteResolvingCapability : RemoteCapability, IResolvingCapability
|
||||||
@ -128,4 +127,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp.Rpc
|
||||||
namespace Capnp.Rpc
|
|
||||||
{
|
{
|
||||||
static class ResolvingCapabilityExtensions
|
static class ResolvingCapabilityExtensions
|
||||||
{
|
{
|
||||||
@ -43,4 +42,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -4,13 +4,9 @@ using System.Collections.Concurrent;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -1509,4 +1505,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp.Rpc
|
||||||
namespace Capnp.Rpc
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Thrown when an RPC-related error condition occurs.
|
/// Thrown when an RPC-related error condition occurs.
|
||||||
@ -21,4 +20,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,8 +1,6 @@
|
|||||||
#nullable enable
|
namespace Capnp.Rpc
|
||||||
namespace Capnp.Rpc
|
|
||||||
{
|
{
|
||||||
class RpcUnimplementedException : System.Exception
|
class RpcUnimplementedException : System.Exception
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,12 +1,8 @@
|
|||||||
using Microsoft.Extensions.Logging;
|
using System;
|
||||||
using System;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -300,4 +296,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -33,4 +32,3 @@ namespace Capnp.Rpc
|
|||||||
public Type SkeletonClass { get; }
|
public Type SkeletonClass { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,16 +1,11 @@
|
|||||||
using Capnp.FrameTracing;
|
using Capnp.FrameTracing;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -269,4 +264,3 @@ namespace Capnp.Rpc
|
|||||||
public bool IsWaitingForData => _pump?.IsWaitingForData ?? false;
|
public bool IsWaitingForData => _pump?.IsWaitingForData ?? false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -6,7 +6,6 @@ using System.Net;
|
|||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -322,4 +321,3 @@ namespace Capnp.Rpc
|
|||||||
public event Action<object, ConnectionEventArgs>? OnConnectionChanged;
|
public event Action<object, ConnectionEventArgs>? OnConnectionChanged;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,10 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp.Rpc
|
namespace Capnp.Rpc
|
||||||
{
|
{
|
||||||
class Vine : Skeleton
|
class Vine : Skeleton
|
||||||
@ -71,4 +68,3 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,4 +1,5 @@
|
|||||||
#pragma warning disable CS1591
|
#pragma warning disable CS1591
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
using Capnp;
|
using Capnp;
|
||||||
using Capnp.Rpc;
|
using Capnp.Rpc;
|
||||||
@ -2641,3 +2642,5 @@ namespace Capnp.Rpc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#nullable restore
|
@ -1,5 +1,4 @@
|
|||||||
#nullable enable
|
namespace Capnp
|
||||||
namespace Capnp
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides the security bounds for defeating amplification and stack overflow DoS attacks.
|
/// Provides the security bounds for defeating amplification and stack overflow DoS attacks.
|
||||||
@ -17,4 +16,3 @@ namespace Capnp
|
|||||||
public static int RecursionLimit { get; set; } = 64;
|
public static int RecursionLimit { get; set; } = 64;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,8 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -146,4 +144,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,7 +1,4 @@
|
|||||||
using System;
|
namespace Capnp
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Helper struct to represent the tuple (segment index, offset)
|
/// Helper struct to represent the tuple (segment index, offset)
|
||||||
@ -19,4 +16,3 @@ namespace Capnp
|
|||||||
public int Offset;
|
public int Offset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -340,4 +339,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,10 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -1407,4 +1405,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -26,4 +25,3 @@ namespace Capnp
|
|||||||
public ulong Id { get; }
|
public ulong Id { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -4,7 +4,6 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
#nullable enable
|
|
||||||
internal static class UtilityExtensions
|
internal static class UtilityExtensions
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -80,4 +79,3 @@ namespace Capnp
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -23,4 +22,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
@ -1,8 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
#nullable enable
|
|
||||||
namespace Capnp
|
namespace Capnp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -229,4 +226,3 @@ namespace Capnp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#nullable restore
|
|
Loading…
x
Reference in New Issue
Block a user