referencesource

Source from the Microsoft .NET Reference Source that represent a subset of the .NET Framework (by microsoft)

Referencesource Alternatives

Similar projects and alternatives to referencesource

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better referencesource alternative or higher similarity.

Suggest an alternative to referencesource

Reviews and mentions

Posts with mentions or reviews of referencesource. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-08.
  • Can you only have 1 license for the whole repo on Github? How does having multiple licenses work?
    For instance, let's look at Microsoft's .Net Framework codebase -- their readme states that "The files in this repository are licensed under the MIT license unless otherwise specified in the file header. If the file header only contains a copyright header (e.g., Copyright (c) Microsoft Corporation. All rights reserved., you can assume the associated file to be MIT-licensed." This is a well-written license; it tells us in plain English exactly what we need to know. We learn that most (but not all) files are MIT licensed, but exceptions are listed in the file header.
  • In LINQ, is reverse().first() is faster than last() given the 2 cases in the description below?
    reddit.com/r/csharp | 2021-10-08
    This is all based off 10 minutes on the .Net reference source site and a bit more than a few years programming C#.
  • Are there any computer engineers out there that I can interview for a school project?
    reddit.com/r/nvidia | 2021-09-26
    In the corporate world, you will receive a brief description of a problem that needs to be solved. You won't have ever done this before, and it's quite possible that nobody else has ever done it at this company either. You should start by reading the existing code that interfaces with whatever you're designing. Then read the API documentation for any 3rd party components you are trying to work with. HOPE that it's complete and accurate. If the libraries are open source, you may need to dig into the code itself. Then you can start trying to design a solution. At some point you will realize that the instructions you were given were unclear/insufficient. At that point in time, realize that, unlike in school, THIS IS NOT YOUR FAULT. The person who tossed this spec over the wall to you didn't have time to think it all the way through. Reach out to them and ask about it. As a junior dev, you might be asking what to do. As you become more senior, you should start to come up with solutions yourself, and then present them as options.
  • C# ms documentation really bad.
    reddit.com/r/csharp | 2021-07-25
    I often prefer the web versions of the source code viewers. You can find Core source at https://source.dot.net/ And framework source at https://referencesource.microsoft.com/
  • Hash Algorithm in .NET Core
    dev.to | 2021-06-28
    But wait, if you’re coming from the .NET Framework, you’ll be expecting RIPEMD160 should be part of the derived classes of HashAlgorithm. However, this time it’s not around 😢. We’re not informed that RIPEMD160 was removed for some reason. You can check can it here. But that’s OK, in my opinion. But anyway, if you’re still interested in looking into it, you can check the source code directly here.
  • Our Most Popular Resources for Developers
    dev.to | 2021-06-15
    Ref12 is a very helpful Visual Studio extension that forwards F12 on .NET Framework class members to ReferenceSource.Microsoft.com, which shows you the source code right there in your browser.
  • Are lists in c# built in generic classes?
    Under the hood a List in C# is an array that gets resized as needed. You can see the source code here: https://referencesource.microsoft.com/#mscorlib/system/collections/generic/list.cs
  • Art of Code : GoTo
    It's just a casual programing style, you don't need to pay attention to it, it's much worth of you time to visit https://referencesource.microsoft.com/ to see how people who make .net framework coding.
  • Should I remove ToList()?
    reddit.com/r/csharp | 2021-05-18
    It's late and I don't really want to peel through the implementation of `GroupBy` (you can if you want to here), but my guess is that attempting to save yourself the allocation of the intermediate list would probably cost you more execution cycles than it's worth (and may even result in more allocations than if you had just done to the `ToList`).
  • Berkshire Hathaway’s Stock Price Is Too Much for Computers
    Another way to think about is that ints are sort of the fundamental building blocks of computer processing. Text is ultimately strings, which is ultimately characters, which are ultimates ints. If you look at C#'s decimal type, you can see that it's actually four ints under the hood.
  • What is the code inside common methods?
    https://github.com/microsoft/referencesource/blob/5697c29004a34d80acdaf5742d7e699022c64ecd/mscorlib/microsoft/win32/win32native.cs#L1091
  • Bitconverter creates tons of garbage
    reddit.com/r/csharp | 2021-05-06
    Alternatively, you could copy what BitConverter does, just without the array allocation.
    reddit.com/r/csharp | 2021-05-06
    https://referencesource.microsoft.com/#mscorlib/system/bitconverter.cs,8640d8adfffb155b
  • Source Browsers: Core vs. Framework
    reddit.com/r/csharp | 2021-04-30
    https://source.dot.net/ https://referencesource.microsoft.com/
  • Why does everything have to use interface?
    reddit.com/r/dotnet | 2021-04-27
    Hmm not exactly. Maybe there's a specific example you're thinking of. Since you mentioned it, IEnumerable has no type constraints. Interfaces aren't part of the picture here.

Stats

Basic referencesource repo stats
45
2,566
0.3
10 months ago

microsoft/referencesource is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

Find remote C# jobs at our new job board 99remotejobs.com. There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.