microsoft/referencesource
View on GitHub ↗ ★ 3,457 C#
Source from the Microsoft .NET Reference Source that represent a subset of the .NET Framework
11 mentions on Hacker News by 11 people: 0 stories, 11 comments · first 2014-12-04 · latest 2026-06-16
20082026
-
…class has not been updated in 12 or so years. At least in the inital subset of framework to core. https://github.com/microsoft/referencesource/commits/main/ms...
comment by bilekas · 2026-06-16 · in Correlated randomness in Slay the Spire 2 -
…list into an array during Task.WhenAll, it may save some memory to use an array directly. Souce: https://github.com/microsoft/referencesource/blob/master/msc...
comment by 0xcoffee · 2024-11-29 · in How much memory do you need in 2024 to run 1M concurrent tasks? -
The .NET source https://github.com/microsoft/referencesource https://github.com/microsoft/dotnet Unity reference source https://github.com/Unity-Technologies/UnityCsReference The above are example of production code. I use these as…
comment by ystad · 2022-10-25 · in Ask HN: Examples of Top C# Code? -
…when it came to lessening the GC pressure. (Sadly I couldn't find it with a quick google). https://github.com/microsoft/referencesource/blob/master/msc...
comment by whizzter · 2021-11-25 · in GC progress from JDK 8 to JDK 17 -
…There's certainly some clever index manipulation going on but nothing that looks too crazy. [1] - https://github.com/microsoft/referencesource/blob/master/Mic...
comment by to11mtm · 2020-03-30 · in A World Without Strings Is Chaos -
….NET Framework is not open source. But a good amount of its source code is available for review: https://github.com/Microsoft/referencesource https://referencesource.microsoft.com/
comment by artimaeis · 2018-09-27 · in The future of Java and OpenJDK updates without Oracle support -
…comprehensive. It would be interesting to see a deeper analysis and comparison of these two. [1]: https://github.com/Microsoft/referencesource/blob/master/msc...
comment by newscracker · 2018-04-12 · in Show HN: SuperString – A fast and memory-optimized string library for C++ -
…you missing that you need? [0] https://blogs.msdn.microsoft.com/dotnet/2017/01/19/net-core-... [1] https://github.com/Microsoft/referencesource [2] https://github.com/dotnet/roslyn
comment by UnoriginalGuy · 2017-02-14 · in Happy 15th Birthday .NET -
The classic .NET framework is available at Reference Source: https://referencesource.microsoft.com/ https://github.com/Microsoft/referencesource It's under a proper Open Source license now too (the MIT license).
comment by WorldMaker · 2017-02-03 · in Let's stop bashing C# -
Yes, the code is MIT licensed. Check it on github: https://github.com/microsoft/referencesource In fact, for the past couple releases mono has replaced a lot of its library code with MS's quite successfully. Full disclosure - I run the…
comment by rodrigokumpera · 2015-11-13 · in Browse the .NET Framework source code online -
The referencesource project seems to be MIT licensed: https://github.com/Microsoft/referencesource/blob/master/LIC...
comment by AntiRush · 2014-12-04 · in Introducing .NET Core