https://marketplace.visualstudio.com/items?itemName=EWoodruff.VisualStudioSpellCheckerVS2017andLater
This file contains 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
Newtonsoft.Json can serialize this successfully while System.Text.Json doesn't do it: | |
```cs | |
var la = new List<A> { new B() { I = 1, J = 2 } }; | |
Console.WriteLine(Newtonsoft.Json.JsonConvert.SerializeObject(la)); | |
Console.WriteLine(System.Text.Json.JsonSerializer.Serialize(la)); | |
class A | |
{ | |
public int I { get; set; } |
This file contains 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
ip=`ip address show | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'` |
This file contains 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
[*.cs] | |
# Dereference of a possibly null reference. | |
dotnet_diagnostic.CS8602.severity = error | |
# Object or collection initializer implicitly dereferences possibly null member. | |
dotnet_diagnostic.CS8670.severity = error | |
# Possible null reference assignment. | |
dotnet_diagnostic.CS8601.severity = error | |
# Unboxing a possibly null value. | |
dotnet_diagnostic.CS8605.severity = error | |
# Possible null reference return. |
This file contains 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.InteropServices; | |
using FILETIME=System.Runtime.InteropServices.ComTypes.FILETIME; | |
namespace ConsoleApp4 | |
{ | |
interface ISafeProcessHandle | |
{ | |
} |
This file contains 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 static @:(a: A) : int { 0 } // implicit | |
public static @:>(a: A) : int { 2 } // explicit | |
} |
| | Grouping ||
First Header | Second Header | Third Header |
---|---|---|
Content | Long Cell | |
Content | Cell | Cell |
New section | More | Data | And more | And more | [Prototype table]
This file contains 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
// Dummy - Define ctor | |
var Dummy$ctor = {}; | |
// Dummy - Constructors body | |
Dummy$ctor[""] = function() {} | |
// Dummy - Init | |
function Dummy() { | |
var _nw_self = this; | |
// Dummy - Properties |
This file contains 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 Nemerle.Collections; | |
using System.Console; | |
module Program | |
{ | |
F(l : list[string], | |
f : string -> list[string]) : list[list[string]] | |
{ | |
def impl(l, acc) | |
{ |
This file contains 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.Console; | |
using M; | |
class Test | |
{ | |
public static @()(this _ : this, s : string) : void | |
{ | |
} | |
} |
NewerOlder