file_path stringlengths 3 280 | file_language stringclasses 66
values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108
values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
tools/artifacts/symbols.ps1 | PowerShell | $BinPath = [System.IO.Path]::GetFullPath("$PSScriptRoot/../../bin")
$3rdPartyPath = [System.IO.Path]::GetFullPath("$PSScriptRoot/../../obj/SymbolsPackages")
if (!(Test-Path $BinPath)) { return }
$symbolfiles = & "$PSScriptRoot/../Get-SymbolFiles.ps1" -Path $BinPath | Get-Unique
$3rdPartyFiles = & "$PSScriptRoot/../Get-... | AArnott/Nerdbank.JsonRpc | 0 | A PolyType-based, NativeAOT ready JSON-RPC implementation | C# | AArnott | Andrew Arnott | Microsoft |
tools/artifacts/testResults.ps1 | PowerShell | [CmdletBinding()]
Param(
)
$result = @{}
$testRoot = Resolve-Path "$PSScriptRoot\..\..\test"
$result[$testRoot] = (Get-ChildItem "$testRoot\TestResults" -Recurse -Directory | Get-ChildItem -Recurse -File)
$artifactStaging = & "$PSScriptRoot/../Get-ArtifactsStagingDirectory.ps1"
$testlogsPath = Join-Path $artifactSta... | AArnott/Nerdbank.JsonRpc | 0 | A PolyType-based, NativeAOT ready JSON-RPC implementation | C# | AArnott | Andrew Arnott | Microsoft |
tools/artifacts/test_symbols.ps1 | PowerShell | $BinPath = [System.IO.Path]::GetFullPath("$PSScriptRoot/../../bin")
if (!(Test-Path $BinPath)) { return }
$symbolfiles = & "$PSScriptRoot/../Get-SymbolFiles.ps1" -Path $BinPath -Tests | Get-Unique
@{
"$BinPath" = $SymbolFiles;
}
| AArnott/Nerdbank.JsonRpc | 0 | A PolyType-based, NativeAOT ready JSON-RPC implementation | C# | AArnott | Andrew Arnott | Microsoft |
tools/dotnet-test-cloud.ps1 | PowerShell | #!/usr/bin/env pwsh
<#
.SYNOPSIS
Runs tests as they are run in cloud test runs.
.PARAMETER Configuration
The configuration within which to run tests
.PARAMETER Agent
The name of the agent. This is used in preparing test run titles.
.PARAMETER PublishResults
A switch to publish results to Azure Pipeline... | AArnott/Nerdbank.JsonRpc | 0 | A PolyType-based, NativeAOT ready JSON-RPC implementation | C# | AArnott | Andrew Arnott | Microsoft |
tools/publish-CodeCov.ps1 | PowerShell | <#
.SYNOPSIS
Uploads code coverage to codecov.io
.PARAMETER CodeCovToken
Code coverage token to use
.PARAMETER PathToCodeCoverage
Path to root of code coverage files
.PARAMETER Name
Name to upload with codecoverge
.PARAMETER Flags
Flags to upload with codecoverge
#>
[CmdletBinding()]
Param (
[Pa... | AArnott/Nerdbank.JsonRpc | 0 | A PolyType-based, NativeAOT ready JSON-RPC implementation | C# | AArnott | Andrew Arnott | Microsoft |
tools/variables/DotNetSdkVersion.ps1 | PowerShell | $globalJson = Get-Content -LiteralPath "$PSScriptRoot\..\..\global.json" | ConvertFrom-Json
$globalJson.sdk.version
| AArnott/Nerdbank.JsonRpc | 0 | A PolyType-based, NativeAOT ready JSON-RPC implementation | C# | AArnott | Andrew Arnott | Microsoft |
tools/variables/_all.ps1 | PowerShell | #!/usr/bin/env pwsh
<#
.SYNOPSIS
This script returns a hashtable of build variables that should be set
at the start of a build or release definition's execution.
#>
[CmdletBinding(SupportsShouldProcess = $true)]
param (
)
$vars = @{}
Get-ChildItem "$PSScriptRoot\*.ps1" -Exclude "_*" |% {
Write-Host "Com... | AArnott/Nerdbank.JsonRpc | 0 | A PolyType-based, NativeAOT ready JSON-RPC implementation | C# | AArnott | Andrew Arnott | Microsoft |
tools/variables/_define.ps1 | PowerShell | <#
.SYNOPSIS
This script translates the variables returned by the _all.ps1 script
into commands that instruct Azure Pipelines to actually set those variables for other pipeline tasks to consume.
The build or release definition may have set these variables to override
what the build would do. So only se... | AArnott/Nerdbank.JsonRpc | 0 | A PolyType-based, NativeAOT ready JSON-RPC implementation | C# | AArnott | Andrew Arnott | Microsoft |
init.ps1 | PowerShell | #!/usr/bin/env pwsh
<#
.SYNOPSIS
Installs dependencies required to build and test the projects in this repository.
.DESCRIPTION
This MAY not require elevation, as the SDK and runtimes are installed to a per-user location,
unless the `-InstallLocality` switch is specified directing to a per-repo or per-mach... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/AspNetMvc/Controllers/HomeController.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.AspNetCore.Mvc;
[Controller]
public class HomeController : Controller
{
public IActionResult Index() => this.View();
}
| AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/AspNetMvc/Controllers/PersonController.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.AspNetCore.Mvc;
using PolyType;
namespace AspNetMvc.Controllers;
#region Controller
[Route("api/v1/[controller]")]
[Produces("application/x-msgpac... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/AspNetMvc/Program.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma warning disable CS8321 // Local function is declared but never used
using Microsoft.AspNetCore.Mvc;
using Nerdbank.MessagePack.AspNetCoreMvcFormatter;
usin... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/SignalR/ChatHub.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
using Microsoft.AspNetCore.SignalR;
#region Sample
public class ChatHub : Hub
{
public async Task SendMessage(string use... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/SignalR/Client.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.AspNetCore.SignalR.Client;
using Nerdbank.MessagePack;
using Nerdbank.MessagePack.SignalR;
using PolyType;
static partial class Client
{
static... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/SignalR/Program.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Nerdbank.MessagePack;
using Nerdbank.MessagePack.SignalR;
using PolyType;
class Program
{
static void Main(string[] args) => BasicSample(args);
sta... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/VogenDataTypes/Customer.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Vogen;
namespace VogenDataTypes;
[ValueObject<int>]
public partial struct CustomerId;
public record Customer
{
public required CustomerId Id { get; se... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/AnalyzerDocs/NBMsgPack033.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples.AnalyzerDocs.NBMsgPack033
{
internal record SomeCustomType(int SeedCount);
namespace Defective
{
internal class MyCustomConv... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/AnalyzerDocs/NBMsgPack034.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples.AnalyzerDocs.NBMsgPack034
{
internal record SomeCustomType(int SeedCount);
namespace Defective
{
internal class MyCustomConv... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/AnalyzerDocs/NBMsgPack035.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples.AnalyzerDocs.NBMsgPack035
{
internal record SomeCustomType(int SeedCount);
namespace Defective
{
internal class MyCustomConv... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/AnalyzerDocs/NBMsgPack036.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples.AnalyzerDocs.NBMsgPack036
{
internal record SomeCustomType(int SeedCount);
namespace Defective
{
internal class MyCustomConv... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/AnalyzerDocs/NBMsgPack037.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples.AnalyzerDocs.NBMsgPack037
{
internal class SomeCustomType;
namespace Defective
{
#pragma warning disable NBMsgPack037
#regio... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/AnalyzerDocs/NBMsgPack050.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples.AnalyzerDocs.NBMsgPack050
{
namespace Defective
{
#pragma warning disable NBMsgPack050
internal class SomeClass
{
... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/AnalyzerDocs/NBMsgPack051.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples.AnalyzerDocs.NBMsgPack051
{
#if NET
namespace Defective
{
#pragma warning disable NBMsgPack051
#region Defective
[Genera... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/AnalyzerDocs/NBMsgPack070.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if !NET
#pragma warning disable CS8767
#endif
using System.Diagnostics.CodeAnalysis;
namespace Samples.AnalyzerDocs.NBMsgPack070
{
public class MyComparer<T>... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/AnalyzerDocs/NBMsgPack071.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples.AnalyzerDocs.NBMsgPack071
{
namespace Defective
{
#pragma warning disable NBMsgPack071
#region Defective
[GenerateShape]
... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/AnalyzerDocs/NBMsgPack072.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples.AnalyzerDocs.NBMsgPack072
{
namespace Defective
{
#pragma warning disable NBMsgPack072
#region Defective
[GenerateShape]
... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/AnalyzerDocs/NBMsgPack073.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples.AnalyzerDocs.NBMsgPack073
{
namespace Defective
{
#pragma warning disable NBMsgPack073
#region Defective
[GenerateShape]
... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/ApplyingSerializationContext.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
partial class ApplyingSerializationContext
{
void ApplyingContext()
{
#region ApplyingStartingContext
MessagePackSerializer serializer = ne... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/BuiltInConverters.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace OptionalConverters;
internal class BuiltInConverters
{
#region STJOptionalConverters
private static readonly MessagePackSerializer Serializer = ... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/ConsumeVogenWithAssemblyIsolation.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using VogenDataTypes;
#region Sample
partial class VogenConsumer
{
static MessagePackSerializer serializer = new();
#pragma warning disable NBMsgPack051 // We... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/ConsumeVogenWithReflectionProvider.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using PolyType.ReflectionProvider;
using Vogen;
namespace ConsumeVogenWithMarshalers
{
#region DataTypes
[ValueObject<int>]
public partial struct Custo... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/Converters/BinaryDataConverter.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples.Converters;
#region Converter
/// <summary>
/// Converts a <see cref="BinaryData"/> object to and from MessagePack.
/// </summary>
/// <remarks>... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/Converters/OneOfConverter.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text.Json.Nodes;
using OneOf;
namespace Samples.Converters;
#region Converter
/// <summary>
/// Converts a <see cref="OneOf{T0, T1}"/> object to and ... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/CustomConverterFactory.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace CustomConverterFactory
{
#region NonGeneric
internal class NonGenericCustomConverterFactory : IMessagePackConverterFactory
{
// speci... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/CustomConverters.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma warning disable SA1202 // 'public' members should come before 'internal' members
using System.Reflection;
namespace CustomConverter
{
#region YourOwn... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/CustomizingSerialization.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
partial class IncludingExcludingMembers
{
#region IncludingExcludingMembers
class MyType
{
[PropertyShape(Ignore = true)] // exclude this proper... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/GettingStarted.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
partial class SimpleUsage
{
#region SimpleRecord
[GenerateShape]
public partial record ARecord(string AString, bool ABoolean);
#endregion
#regi... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/Performance.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Numerics;
partial class Performance
{
MessagePackSerializer serializer = new();
void LoadsJustRight()
{
#region LoadsJustRight
... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/PrimitiveDeserialization.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Dynamic;
namespace PrimitiveDeserialization
{
internal partial class PrimitiveDeserialization
{
void DeserializeDynamicPrimitives(Mes... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/Security.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
partial class Security
{
void SetMaxDepth()
{
#region SetMaxDepth
var serializer = new MessagePackSerializer
{
Starting... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/SimpleSerialization.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Nerdbank.Streams;
using PolyType.ReflectionProvider;
namespace Samples
{
partial class TypelessSerialization
{
#region NonGenericSerializeDe... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/StreamingDeserialization.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO.Pipelines;
namespace StreamingDeserialization
{
partial class TopLevelStreamingEnumeration
{
#region TopLevelStreamingEnumeration
... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/StructuralEquality.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples;
internal partial class StructuralEquality
{
#region StructuralEquality
void Sample()
{
var data1a = new MyData { A = "foo",... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/SurrogateTypes.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace OnlyOriginalType
{
#region OnlyOriginalType
[GenerateShape]
public partial class OriginalType
{
private int a;
private in... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/TargetedDeserialization.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Samples;
internal partial class TargetedDeserialization
{
private readonly MessagePackSerializer serializer = new();
internal void Demo(byte[] m... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/TypeShapePatterns.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using PolyType.ReflectionProvider;
partial class SourceGenerated
{
#region NaturallyAttributed
[GenerateShape]
public partial record Tree(string Name,... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/Unions.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Sample1
{
class LossyFarm
{
#region LossyFarm
public class Farm
{
public List<Animal> Animals { get; set; } = ... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/cs/Usings.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
global using Nerdbank.MessagePack;
global using PolyType;
global using PolyType.Abstractions;
| AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
samples/fs/Program.fs | F# | open Nerdbank.MessagePack
open PolyType
open PolyType.ReflectionProvider
type Animal =
| Cow of name: string * weight: int
| Horse of name: string * speed: int
| Dog of name: string * color: string
type Farm = { Animals: Animal list }
let farm = {
Animals = [
Cow("Bessie", 1500)
Hors... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/AssemblyInfo.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.InteropServices;
[assembly: DefaultDllImportSearchPaths(DllImportSearchPath.SafeDirectories)]
| AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers.CodeFixes/MigrationCodeFix.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Mi... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers.CodeFixes/Usings.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
global using Microsoft.CodeAnalysis;
global using Microsoft.CodeAnalysis.Diagnostics;
| AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/AnalyzerUtilities.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Nerdbank.MessagePack.Analyzers;
public static class AnalyzerUtilities
{
public static I... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/Constants.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Nerdbank.MessagePack.Analyzers;
public static class Constants
{
public static class PropertyShapeAttribute
{
public const string TypeName = "Propert... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/ConverterAnalyzers.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Frozen;
using System.Diagnostics;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.F... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/DotNetApiUsageAnalyzer.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Concurrent;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Operations;
namespace Nerdbank.MessagePack.Analyzers;
[Diagnostic... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/KeyAttributeUseAnalyzer.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Nerdbank.MessagePack.Analyzers;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class KeyAttributeUseAnalyzer : DiagnosticAnalyzer
{
public const str... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/MessagePackCSharpReferenceSymbols.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.CodeAnalysis;
namespace Nerdbank.MessagePack.Analyzers;
public record MessagePackCSharpReferenceSymbols(
INamedTypeSymbol MessagePackSe... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/MessagePackConverterAttributeAnalyzer.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Nerdbank.MessagePack.Analyzers;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class MessagePackConverterAttributeAnalyzer : DiagnosticAnalyzer
{
pu... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/MigrationAnalyzer.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Nerdbank.MessagePack.Analyzers;
[DiagnosticAnalyzer(LanguageNames.CSha... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/RefParametersForRefStructsAnalyzer.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Frozen;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Nerdbank.MessagePack.Analyzers;
[DiagnosticAnalyzer(LanguageNames.CSharp)]... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/ReferenceSymbols.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.CodeAnalysis;
namespace Nerdbank.MessagePack.Analyzers;
public record ReferenceSymbols(
INamedTypeSymbol MessagePackSerializer,
INamed... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/UnusedDataPacketAnalyzer.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Nerdbank.MessagePack.Analyzers;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class UnusedDataPacketAnalyzer : DiagnosticAnalyzer
{
public const st... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/UseComparerAttributeAnalyzer.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Nerdbank.MessagePack.Analyzers;
/// <summary>
/// Analyzes uses of the <c>UseComparerAttribute</c> to ensure that it is applied correctly.
/// </summary... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.Analyzers/Usings.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
global using System.Collections.Immutable;
global using Microsoft.CodeAnalysis;
global using Microsoft.CodeAnalysis.Diagnostics;
| AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.AspNetCoreMvcFormatter/MessagePackInputFormatter.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO.Pipelines;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Formatters;
using PolyType;
using PolyTy... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.AspNetCoreMvcFormatter/MessagePackOutputFormatter.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO.Pipelines;
using Microsoft.AspNetCore.Mvc.Formatters;
using PolyType;
using PolyType.ReflectionProvider;
namespace Nerdbank.MessagePack.AspNetCore... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.SignalR/BinaryMessageFormatter.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// Originally taken from https://source.dot.net/#Microsoft.AspNetCore.SignalR.Protocols.MessagePack/src/SignalR/common/Shared/BinaryMessageFormatter.cs,eb01b8ec760... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.SignalR/MessagePackHubProtocol.Reader.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.CodeAnalysis;
using System.Runtime.ExceptionServices;
using System.Text;
using Microsoft.AspNetCore.SignalR;
namespace Nerdbank.MessagePa... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.SignalR/MessagePackHubProtocol.Writer.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
namespace Nerdbank.MessagePack.SignalR;
/// <content>Contains the serialize methods of the class.</content>
internal partial ... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.SignalR/MessagePackHubProtocol.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Microsoft;
using Microsoft.AspNetCore.Connections;
using Microsoft.AspNetCore.SignalR;
names... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.SignalR/ServiceCollectionExtensions.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.AspNetCore.SignalR;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Nerdbank.M... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack.SignalR/Usings.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
global using System.Buffers;
global using Microsoft.AspNetCore.SignalR.Protocol;
global using Nerdbank.Streams;
global using PolyType;
| AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/BufferMemoryWriter.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// This file was originally derived from https://github.com/MessagePack-CSharp/MessagePack-CSharp/
using System.Runtime.CompilerServices;
using Microsoft;
namespa... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/BufferWriter.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// This file was originally derived from https://github.com/MessagePack-CSharp/MessagePack-CSharp/
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Comp... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/ConverterCache.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using PolyType.Utilities;
namespace Nerdbank.MessagePack;
/// <summary>
/// Tracks all inputs to ... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/ConverterCollection.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections;
using System.Collections.Frozen;
using System.Collections.Immutable;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Compiler... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/ConverterContext.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics;
using System.Runtime.CompilerServices;
using Microsoft;
namespace Nerdbank.MessagePack;
/// <summary>
/// Context in which a <see cref=... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/ConverterResult.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma warning disable SA1402 // File may only contain a single type
#pragma warning disable SA1649 // File name should match first type name
using System.Diagno... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/ConverterTypeCollection.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections;
using System.Collections.Frozen;
using System.Collections.Immutable;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Compiler... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/ArrayConverterUtilities.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Nerdbank.MessagePack.Converters;
/// <summary>
/// Utilities for array converters.
/// </summary>
internal static class ArrayConverterUtilities
{
/// <... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/ArrayConverter`1.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text.Json.Nodes;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
/// Serializes and deserializes a 1-rank array.
/// </summary>
/// <typepa... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/ArrayRank2FlattenedConverter`1.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if !NET
using System.Text.Json.Nodes;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
/// Converts 2-dimensional arrays by flattening them into a sing... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/ArrayRank2NestedConverter`1.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if !NET
using System.Text.Json.Nodes;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
/// Converts 2-dimensional arrays by nesting them into individua... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/ArrayRank3FlattenedConverter`1.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if !NET
using System.Text.Json.Nodes;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
/// Converts 3-dimensional arrays by flattening them into a sing... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/ArrayRank3NestedConverter`1.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if !NET
using System.Text.Json.Nodes;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
/// Converts 3-dimensional arrays by nesting them into individua... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/ArrayWithFlattenedDimensionsConverter`2.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if NET
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text.Json.Nodes;
namespa... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/ArrayWithNestedDimensionsConverter`2.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if NET
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/ArraysOfPrimitivesConverters.Generated.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#nullable enable
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Text.Json.Nodes;
using Microsoft;
namespace Nerdbank.Me... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/ArraysOfPrimitivesConverters.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.InteropServices;
using Microsoft;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
/// Contains a bunch of converters for arrays of ... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/BclConverters.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma warning disable SA1600 // Elements should be documented
#pragma warning disable SA1649 // File name should match first type name
#pragma warning disable SA... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/CommonRecords.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma warning disable SA1402 // File may only contain a single type
#pragma warning disable SA1649 // File name should match first type name
using System.Collect... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/DelayedConverterFactory.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text.Json.Nodes;
using PolyType.Utilities;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
/// A factory for delayed converters (those that... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/DictionaryConverter`3.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma warning disable SA1402 // File may only contain a single type
using System.Text.Json.Nodes;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
///... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/EnumAsOrdinalConverter`2.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text;
using System.Text.Json.Nodes;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
/// Serializes <see langword="enum" /> types as their u... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/EnumAsStringConverter`2.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text.Json.Nodes;
using Microsoft;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
/// Serializes <see langword="enum" /> types as a string ... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/EnumerableConverter`2.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma warning disable SA1402 // File may only contain a single type
using System.Text.Json.Nodes;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
///... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/ExpandoObjectConverter.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Dynamic;
using System.Text.Json.Nodes;
namespace Nerdbank.MessagePack.Converters;
/// <summary>
/// A converter for <see cref="ExpandoObject"/>.
///... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/HardwareAccelerated.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if NET
using System.Buffers.Binary;
using System.Diagnostics.CodeAnalysis;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.Int... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
src/Nerdbank.MessagePack/Converters/IntConverters.cs | C# | // Copyright (c) Andrew Arnott. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
/* THIS (.cs) FILE IS GENERATED. DO NOT CHANGE IT.
* CHANGE THE .tt FILE INSTEAD. */
#pragma warning disable SA1121 // Simplify type syntax
#pragma warning disabl... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.