Skip to content

Instantly share code, notes, and snippets.

View ViktorHofer's full-sized avatar

Viktor Hofer ViktorHofer

View GitHub Profile
@ViktorHofer
ViktorHofer / serializables.txt
Last active August 31, 2017 13:05
Reflactable layout of serializable types in .NET Core
Microsoft.Internal.Tuple<,>
Microsoft.Internal.Tuple<>
System.__RestrictedErrorObject
System.AggregateException
System.Array
System.ArraySegment<>
System.Attribute
System.Boolean
System.Byte
System.Char
2017-10-28T00:17:23 : Verbose : Visual Studio Installer (1.14.112.1012 : update5) ["C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe"]
2017-10-28T00:17:25 : Verbose : Creating VS Telemetry Survey
2017-10-28T00:17:26 : Verbose : Received the application ready notification
2017-10-28T00:17:26 : Verbose : LoggerIpcRpcService listening to ipc channel: LoggerService
2017-10-28T00:17:26 : Verbose : FeaturesIpcRpcService listening to ipc channel: FeaturesProxy
2017-10-28T00:17:26 : Verbose : Telemetry Session ID: 781fc32e-84e2-4c89-9e13-0723e30e9a0a
2017-10-28T00:17:26 : Verbose : Service creation finished
2017-10-28T00:17:26 : Verbose : Starting ServiceHub Remote Settings client.
2017-10-28T00:17:28 : Verbose : Window ready
2017-10-28T00:17:29 : Verbose : Getting installed product summaries. [installerId: SetupEngine]
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Toolchains.CsProj;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Toolchains.CsProj;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Toolchains.CustomCoreClr;
using System.Collections.Generic;
internal readonly struct TypeSerializableValue
{
public readonly string Base64Blob;
public readonly TargetFrameworkMoniker Platform;
public TypeSerializableValue(string base64Blob, TargetFrameworkMoniker platform)
{
Base64Blob = base64Blob;
Platform = platform;
}
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Code;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Toolchains.CsProj;
using System;
using System.Text.RegularExpressions;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
namespace regexperf
{
public class RegexBench
{
private readonly static Regex _regex = new Regex("[cgt]gggtaaa|tttaccc[acg]", RegexOptions.Compiled);