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 |
|---|---|---|---|---|---|---|---|---|---|
src/Nerdbank.MessagePack/SecureHash/SipHash.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 from: https://github.com/paya-cz/siphash
//// Author: Pavel Werl
//// License: Public Domain
//// SipHash website: https://131002.... | 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/SecureHash/StructuralAggregatingEqualityComparer`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
#pragma warning disable CS8604 // Possible null reference argument.
#pragma warning disable CS8767 // null ref annotations
#endif
using System.Collection... | 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/SecureHash/StructuralByteArrayEqualityComparer.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.SecureHash;
/// <summary>
/// A full content comparison and hash of a byte buffer.
/// </su... | 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/SecureHash/StructuralCustomEqualityComparer`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
#pragma warning disable CS8604 // Possible null reference argument.
#pragma warning disable CS8767 // null ref annotations
#endif
using System.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/SecureHash/StructuralDictionaryEqualityComparer`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.
#if !NET
#pragma warning disable CS8604 // Possible null reference argument.
#pragma warning disable CS8767 // null ref annotations
#endif
using System.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/SecureHash/StructuralEnumerableEqualityComparer`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
#pragma warning disable CS8604 // Possible null reference argument.
#pragma warning disable CS8767 // null ref annotations
#endif
using System.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/SecureHash/StructuralIReadOnlyListEqualityComparer`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
#pragma warning disable CS8604 // Possible null reference argument.
#pragma warning disable CS8767 // null ref annotations
#endif
using System.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/SecureHash/StructuralOptionalEqualityComparer`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
#pragma warning disable CS8604 // Possible null reference argument.
#pragma warning disable CS8767 // null ref annotations
#endif
using System.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/SecureHash/StructuralPropertyEqualityComparer`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
#pragma warning disable CS8604 // Possible null reference argument.
#pragma warning disable CS8767 // null ref annotations
#endif
using System.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/SecureHash/StructuralReadOnlySequenceOfByteEqualityComparer.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.SecureHash;
/// <summary>
/// A structural comparer for <see cref="ReadOnlySequence{T}"/> o... | 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/SecureHash/StructuralUnionCaseEqualityComparer`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
#pragma warning disable CS8604 // Possible null reference argument.
#pragma warning disable CS8767 // null ref annotations
#endif
using System.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/SecureHash/StructuralUnionEqualityComparer`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
#pragma warning disable CS8604 // Possible null reference argument.
#pragma warning disable CS8767 // null ref annotations
#endif
using System.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/SecureHash/StructuralVisitor.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 PolyType.Utilities;
namespace Nerdbank.MessagePack.SecureHash;
/// <summary>
/// A visitor that creates an <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/SecureHash/SurrogateEqualityComparer`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
#pragma warning disable CS8604 // Possible null reference argument.
#pragma warning disable CS8767 // Nullability of type of parameter doesn't match overr... | 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/SecureHash/SurrogateSecureEqualityComparer`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.Diagnostics.CodeAnalysis;
namespace Nerdbank.MessagePack.SecureHash;
/// <summary>
/// A <see cref="SecureEqualityComparer{T}"/> that operates on va... | 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/SequencePool`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.
// This file was originally derived from https://github.com/MessagePack-CSharp/MessagePack-CSharp/
namespace Nerdbank.MessagePack;
/// <summary>
/// A pool of <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 |
src/Nerdbank.MessagePack/SequenceReader`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.Diagnostics;
using System.Runtime.CompilerServices;
namespace Nerdbank.MessagePack;
/// <summary>
/// A .NET Framework implementation of 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 |
src/Nerdbank.MessagePack/Sequence`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.
// This is a copy of the Sequence<T> class from the Nerdbank.Streams library.
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection;
using... | 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/SerializationContext.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 System.Diagnostics;
using System.Runtime.CompilerServices;
using Microsoft;
namespace Nerdbank.MessagePack;
/// <summar... | 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/SerializeDefaultValuesPolicy.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;
/// <summary>
/// Specifies the policy for serializing default values.
/// </summary>
[Flags]
public enum SerializeDefaultValuesPo... | 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/SerializerConfiguration.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;
/// <summary>
/// An immutable configuration object that describes how to serialize and deser... | 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/SkipToPathViaExpression.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.Linq.Expressions;
using System.Reflection;
using Microsoft;
namespace Nerdbank.MessagePack;
/// <summary>
/// A helper that can synchronously skip 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 |
src/Nerdbank.MessagePack/StandardVisitor.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 DuckTyping // Experimental API
using System.Collections.Frozen;
using System.ComponentModel;
using System.Diagnostics;
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/StreamBufferWriter.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;
namespace Nerdbank.MessagePack;
/// <summary>
/// Adapts a <see cref="Stream"/> to operate as an <see cref="IBufferWriter{T}"/>.
/// </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/StreamingDeserializer`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.Linq.Expressions;
using System.Reflection;
using Microsoft;
namespace Nerdbank.MessagePack;
/// <summary>
/// Manages searching for a sequence withi... | 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/StringEncoding.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;
namespace Nerdbank.MessagePack;
/// <summary>
/// Shareable values related to string encoding.
/// </summary>
internal 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 |
src/Nerdbank.MessagePack/StructuralEqualityComparer.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.SecureHash;
using PolyType.Utilities;
namespace Nerdbank.MessagePack;
/// <summary>
/// Provides deep, by-value implementations of <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 |
src/Nerdbank.MessagePack/StructuralEqualityComparerExtensions.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 !DOCFX
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
namespace Nerdbank.MessagePack;
/// <summary>
/// Extension members for the <see ... | 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/UnusedDataPacket.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;
namespace Nerdbank.MessagePack;
/// <summary>
/// When used as the type of a property or field on a data type,
/// captures deserialize... | 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/UseComparerAttribute.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;
/// <summary>
/// Specifies a comparer to be used for the keyed collections on the decorat... | 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/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 Nerdbank.MessagePack.Converters;
global using Nerdbank.MessagePack.Utilities;
global using PolyType;
global using PolyTyp... | 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/Utilities/BufferWriterExtensions.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 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/Utilities/ByteMemoryEqualityComparer.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.Utilities;
/// <summary>Defines an equality comparer for byte spans.</summary>
internal class ByteMemoryEqualityComparer : IEquality... | 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/Utilities/MemoryExtensions.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.Utilities;
/// <summary>
/// Extension methods for the <see cref="ReadOnlySpan{T}"/> and <see cref="ReadOnlyMemory{T}"/> types.
///... | 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/Utilities/ReadOnlySequenceExtensions.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 is a copy of the Sequence<T> class from the Nerdbank.Streams library.
using Microsoft;
namespace Nerdbank.MessagePack.Utilities;
/// <summary>
/// Extens... | 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/Utilities/SequenceReaderExtensions.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/
namespace Nerdbank.MessagePack.Utilities;
/// <summary>
/// Ext... | 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/Utilities/SpanDictionary.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/eiriktsarpalis/PolyType/
// with Eirik Tsarpalis getting credit for the original implementation.
#pragm... | 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/Utilities/SpanEqualityComparer.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/eiriktsarpalis/PolyType/
// with Eirik Tsarpalis getting credit for the original implementation.
#pragm... | 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/VisitorError.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.Text;
namespace Nerdbank.MessagePack;
/// <summary>
/// Represents an error encountered while constructing or... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotCompatibilityTest/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.
System.Console.WriteLine("This test is run by \"dotnet publish -r [RID]-x64\" rather than by executing the program.");
| AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Converters/RectangleConverter.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
using Nerdbank.MessagePack;
namespace AotNativeConsole.Conv... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Converters/Vector2Converter.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
using Nerdbank.MessagePack;
namespace AotNativeConsole.Conv... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/ManyModels.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
using AotNativeConsole.Converters;
using AotNativeConsole.Mod... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Models/Animals/Animal.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
using Nerdbank.MessagePack;
using PolyType;
namespace AotNa... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Models/Animals/AnimalTypes.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
namespace AotNativeConsole.Models.Animals;
public enum Anim... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Models/Animals/Axolotl.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
using Nerdbank.MessagePack;
namespace AotNativeConsole.Mode... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Models/Animals/BlueJay.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
using Nerdbank.MessagePack;
namespace AotNativeConsole.Mode... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Models/Animals/Capybara.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
namespace AotNativeConsole.Models.Animals;
public sealed cl... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Models/Animals/KomodoDragon.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
using Nerdbank.MessagePack;
namespace AotNativeConsole.Mode... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Models/Animals/Manatee.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
using Nerdbank.MessagePack;
namespace AotNativeConsole.Mode... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Models/Animals/RedPanda.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
namespace AotNativeConsole.Models.Animals;
public class Red... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Models/Animals/SnowLeopard.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
using Nerdbank.MessagePack;
namespace AotNativeConsole.Mode... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/Models/MyShape.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://github.com/morfah/MessagePackCompareTest
// Copyright (c) 2025 morfah
using System.Diagnostics.CodeAnalysis;
using AotNativeConsole... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/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.
////#define COLDSTARTTEST
#if COLDSTARTTEST
TimeSpan first = OneOff(Visit_LargeDataModel);
TimeSpan second = OneOff(Visit_LargeDataModel);
Console.WriteLine($"Fi... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/AotNativeConsole/StreamingTree.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;
internal static class StreamingTree
{
internal static async Task RunAsync()
{
Tree tree = new()
{
Fruits = [new Fruit(3), new 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 |
test/AotNativeConsole/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.Diagnostics;
global using System.Drawing;
global using System.Numerics;
global using Nerdbank.MessagePack;
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 |
test/Benchmarks/ArraysOfMultipleCategoryPrimitives.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.Runtime.CompilerServices;
using System.Runtime.InteropServices;
/// <summary>
/// long, int, short, sbyte, ulong, uint, and ushort values ar... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Benchmarks/ArraysOfPrimitives.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
[MemoryDiagnoser]
[GroupBenchmarksBy(BenchmarkDotNet.Configs.BenchmarkLogicalGroupRule.ByCategory)]
public partial class ArraysOfPrimitives
{
private con... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Benchmarks/Data.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 STJ = System.Text.Json;
internal static class Data
{
private static ReadOnlySequence<byte> SerializeJson<T>(T? value)
{
Sequence seq ... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Benchmarks/DataModels/LargeDataModel.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 SA1649 // File name must match first type name
#pragma warning disable SA1402 // File may only contain a single type
#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 |
test/Benchmarks/PocoClass.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
[GenerateShape, MsgPackCSharp.MessagePackObject(keyAsPropertyName: true)]
public partial cla... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Benchmarks/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 BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
BenchmarkSwitcher switcher = new(typeof(Program).Assembly);
#if DEBUG
switcher.Run(args, new DebugI... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Benchmarks/STJSourceGenerationContext.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.Serialization;
namespace Benchmarks;
[JsonSerializable(typeof(PocoMap))]
[JsonSerializable(typeof(PocoMapInit))]
[JsonSerializable(typeof(... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Benchmarks/SimplePoco.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 Benchmarks;
using JsonNet = Newtonsoft.Json;
using STJ = System.Text.Json;
[MemoryDiagnoser]
[GroupBenchmarksBy(BenchmarkDotNet.Configs.BenchmarkLo... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Benchmarks/StringInterning.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.
[MemoryDiagnoser]
public partial class StringInterning
{
private static readonly MessagePackSerializer NonInterning = new() { InternStrings = false };
private 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 |
test/Benchmarks/SyncVsAsyncArrays.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;
[MemoryDiagnoser]
[GroupBenchmarksBy(BenchmarkDotNet.Configs.BenchmarkLogicalGroupRule.ByCategory)]
[CategoriesColumn]
[GenerateShapeFo... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Benchmarks/SyncVsAsyncPoco.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.IO.Pipelines;
using Benchmarks;
using STJ = System.Text.Json;
[MemoryDiagnoser]
[GroupBenchmarksBy(BenchmarkDotNet.Configs.BenchmarkLogicalG... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Benchmarks/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 BenchmarkDotNet.Attributes;
global using Nerdbank.MessagePack;
global using Nerdbank.Streams;
global using PolyType;
glob... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Benchmarks/Visitor.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.
[MemoryDiagnoser]
public partial class Visitor
{
[Benchmark]
public void Visit_LargeDataModel()
{
MessagePackSerializer serializer = new();
_ = serializer.G... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Benchmarks/update-benchmarks-report.ps1 | PowerShell | <#
.SYNOPSIS
This script updates the perf.md document with the latest benchmark results.
.DESCRIPTION
This script updates the perf.md document with the latest benchmark results.
It reads the CSV report generated by BenchmarkDotNet and generates a markdown file with the results.
The markdown file is used... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.Analyzers.Tests/ConverterAnalyzersTests.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 VerifyCS = CodeFixVerifier<Nerdbank.MessagePack.Analyzers.ConverterAnalyzers, Microsoft.CodeAnalysis.Testing.EmptyCodeFixProvider>;
public class ConverterAn... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.Analyzers.Tests/DotNetApiUsageAnalyzerTests.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 VerifyCS = CodeFixVerifier<Nerdbank.MessagePack.Analyzers.DotNetApiUsageAnalyzer, Microsoft.CodeAnalysis.Testing.EmptyCodeFixProvider>;
public class DotNetA... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.Analyzers.Tests/KeyAttributeUseAnalyzerTests.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 VerifyCS = CodeFixVerifier<Nerdbank.MessagePack.Analyzers.KeyAttributeUseAnalyzer, Microsoft.CodeAnalysis.Testing.EmptyCodeFixProvider>;
public class KeyAttr... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.Analyzers.Tests/MessagePackConverterAttributeAnalyzerTests.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 VerifyCS = CodeFixVerifier<Nerdbank.MessagePack.Analyzers.MessagePackConverterAttributeAnalyzer, Microsoft.CodeAnalysis.Testing.EmptyCodeFixProvider>;
publi... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.Analyzers.Tests/MigrationAnalyzerTests.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 VerifyCS = CodeFixVerifier<Nerdbank.MessagePack.Analyzers.MigrationAnalyzer, Nerdbank.MessagePack.Analyzers.CodeFixes.... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.Analyzers.Tests/RefParametersForRefStructsAnalyzerTests.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 VerifyCS = CodeFixVerifier<Nerdbank.MessagePack.Analyzers.RefParametersForRefStructsAnalyzer, Microsoft.CodeAnalysis.Testing.EmptyCodeFixProvider>;
public c... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.Analyzers.Tests/UnusedDataPacketAnalyzerTests.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 VerifyCS = CodeFixVerifier<Nerdbank.MessagePack.Analyzers.UnusedDataPacketAnalyzer, Microsoft.CodeAnalysis.Testing.EmptyCodeFixProvider>;
public class Unuse... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.Analyzers.Tests/UseComparerAttributeAnalyzerTests.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 VerifyCS = CodeFixVerifier<Nerdbank.MessagePack.Analyzers.UseComparerAttributeAnalyzer, Microsoft.CodeAnalysis.Testing.EmptyCodeFixProvider>;
public class Us... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.Analyzers.Tests/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.CodeFixes;
global using Microsoft.CodeAnalysis.CSharp;
global using Microsoft.CodeAnalysis... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.Analyzers.Tests/Verifiers/CodeFixVerifier`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.Diagnostics.CodeAnalysis;
using System.Reflection;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Testing;
using Microsoft.CodeAnal... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.Analyzers.Tests/Verifiers/ReferencesHelper.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;
internal static class ReferencesHelper
{
#if NET
internal static ReferenceAssemblies References = ReferenceAssemblies.Net.Net80;
#else
internal ... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.AspNetCoreMvcFormatter.Tests/AspNetCoreMvcFormatterTest.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.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstra... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.AspNetCoreMvcFormatter.Tests/Polyfills.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.
internal static class Polyfills
{
#if !NET
internal static Task CopyToAsync(this Stream source, Stream destination, CancellationToken cancellationToken = default)... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.AspNetCoreMvcFormatter.Tests/User.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.
public class User
{
public int UserId { get; set; }
public string? FullName { get; set; }
public int Age { get; set; }
public string? Description { 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 |
test/Nerdbank.MessagePack.SignalR.Tests/HostedSignalR.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 Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.SignalR;
using Microsoft.AspNetCore.SignalR.Client;
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 |
test/Nerdbank.MessagePack.SignalR.Tests/IntegrationTestCollection.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 Xunit;
/// <summary>
/// Defines the test collection for integration tests that share the same fixture.
/// </summary>
[CollectionDefinition("Integr... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/IntegrationTestFixture.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 Microsoft.AspNetCore.SignalR.Client;
using Microsoft.AspNetCore.TestHost;
using Xunit;
/// <summary>
/// Shared fixture for integration tests that p... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/IntegrationTestHub.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;
/// <summary>
/// Test hub that provides various method signatures for integration testi... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/IntegrationTests.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 Microsoft.AspNetCore.SignalR;
using Microsoft.AspNetCore.SignalR.Client;
using PolyType;
using Xunit;
/// <summary>
/// Integration tests that invol... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/MessagePackHubProtocolTests.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.Connections;
using Microsoft.AspNetCore.SignalR.Protocol;
using Nerdbank.MessagePack;
using Nerdbank.Streams;
using PolyType;
using Xunit... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/MockInvocationBinder.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;
internal class MockInvocationBinder : IInvocationBinder
{
internal Dictionary<string, IReadOnlyList<Type>> ParameterTypes { g... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/MockSignalRBuilder.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;
internal class MockSignalRBuilder : ISignalRBuilder
{
public IServiceCollecti... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/SerializationTests.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;
using Microsoft.AspNetCore.SignalR.Protocol;
using Nerdbank.MessagePack;
using Nerdbank.MessagePack.SignalR;
using PolyType;
using Xunit;
public ... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/ServiceCollectionExtensionsTests.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.Protocol;
using Microsoft.Extensions.DependencyInjection;
using PolyType;
using Xunit;
namespace Nerdbank.MessagePack.SignalR.Te... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/SimpleValidationTest.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.Connections;
using Microsoft.AspNetCore.SignalR.Protocol;
using Microsoft.Extensions.DependencyInjection;
using Nerdbank.MessagePack;
usi... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/TestModels.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 PolyType;
/// <summary>
/// Enum for testing enum serialization.
/// </summary>
public... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/TestUtilities.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.Protocol;
using Microsoft.Extensions.DependencyInjection;
using Nerdbank.MessagePack;
using Nerdbank.MessagePack.SignalR;
using P... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.SignalR.Tests/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;
| AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.TUnit/EnumTests.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.
public abstract partial class EnumTests : MessagePackSerializerTestBase
{
public enum Simple
{
One,
Two,
Three,
}
public enum CaseInsensitiveCollisions
... | AArnott/Nerdbank.MessagePack | 144 | A feature-packed .NET MessagePack serialization library with great performance and simplicity. msgpack.io[C#] | C# | AArnott | Andrew Arnott | Microsoft |
test/Nerdbank.MessagePack.TUnit/MessagePackSerializerTestBase.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;
using System.Text.Json.Nodes;
using System.Text.RegularExpressions;
public abstract partial class MessagePackSerializer... | 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.