This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Numerics; | |
// <PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.4.0" /> | |
using static System.Runtime.CompilerServices.Unsafe; | |
namespace TheAbyss | |
{ | |
class Program | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
namespace AirBreather.Madness | |
{ | |
[StructLayout(LayoutKind.Sequential, Pack = 1)] | |
public struct SlenderList<T> | |
{ | |
private const int MAX_CNT = 4; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ComponentModel; | |
using GeoAPI; | |
using GeoAPI.Geometries; | |
using NetTopologySuite.Geometries; | |
using NetTopologySuite.IO; | |
namespace ConsoleApp1 | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A | |
{ | |
public event EventHandler Foo; | |
public void RaiseFoo() => this.Foo?.Invoke(this, EventArgs.Empty); | |
} | |
class B | |
{ | |
public int Val; | |
public void Subscribe(A a) => a.Foo += this.Handler; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Globalization; | |
using System.Linq; | |
using System.Xml.Linq; | |
namespace GpxCore | |
{ | |
public sealed class Gpx | |
{ | |
public const string GpxNamespace = "http://www.topografix.com/GPX/1/1"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using NetTopologySuite.Features; | |
using NetTopologySuite.IO; | |
using Newtonsoft.Json.Linq; | |
namespace Sample | |
{ | |
internal static class Program |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Xml; | |
using System.Xml.Serialization; | |
namespace NetTopologySuite.IO | |
{ | |
public static class GpxSerialization | |
{ | |
private static readonly XmlSerializer GpxSerializer = new XmlSerializer(typeof(gpxType)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Runtime.InteropServices; | |
namespace WeirdStuff | |
{ | |
[StructLayout(LayoutKind.Auto)] | |
public struct NullableDictKey<T> where T : struct | |
{ | |
private T? value; | |
public NullableDictKey(T? value) => this.value = value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Licensed to SharpSoftware under one or more contributor | |
* license agreements. See the NOTICE file distributed with this work for | |
* additional information regarding copyright ownership. | |
* | |
* SharpSoftware licenses this file to you under the Apache License, | |
* Version 2.0 (the "License"); you may not use this file except in | |
* compliance with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1>------ Build started: Project: Reminiscence, Configuration: Debug Any CPU ------ | |
1>Build started 3/29/2017 8:51:38 AM. | |
1>Building with tools version "15.0". | |
1>Project file contains ToolsVersion="". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="15.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=293424. | |
1>Target _SetBuildInnerTarget: | |
1> Set Property: InnerTargets=Build | |
1>Target DispatchToInnerBuilds: | |
1> Added Item(s): | |
1> _TargetFramework= | |
1> portable40-net403+sl5+win8+wp8 |