SharpLab icon indicating copy to clipboard operation
SharpLab copied to clipboard

.NET language playground

Results 100 SharpLab issues
Sort by recently updated
recently updated
newest added

When inserting code from the IntelliSense menu, all code from the text cursor to the beginning is completely deleted. Nothing is inserted at all. The most difficult thing is that...

:lady_beetle: bug

When I call generic method in IL, it just becomes something like `call /* 2B000001 */`. What I wrote: ```il .class public C { .method public static void M() {...

Code to repro: ```cs using System; Console.WriteLine(Hmh(10)); static string Hmh(int r) { if (r == 0) return typeof(T).AssemblyQualifiedName; return Hmh(r - 1); } ```

## Problem When the undermentioned code snippet is run, you get a blank page (empty <main> tag). Happens with latest Firefox, Chrome and Edge. The try-catch in the code seems...

### Description Combination of `ref struct` and `ref` parameters causes validation to fail for the code below. Making `BinaryReader` a normal non-ref `struct` or making the parameters non-ref causes the...

Currently the F# code compiled with [version 6 of the compiler](https://github.com/ashmind/mirrorsharp/blob/65e40783ed4acd24107eb8e34c6dcd244e9f9bb2/FSharp/FSharp.csproj#L21-L22), we need bump to version 8 Similar https://github.com/ashmind/SharpLab/issues/1229

Some clients (looking at your Azure DevOps) will automatically re-encode Urls, resulting in the `+`s used in the state to be encoded as `%2B`. It would be nice if that...

I very much like to use SharpLab - unfortunately there are some issues from time to time (e.g. the current TypeInitializationException). To solve them fast I would like to contribute...