I'm aware MIT license is permissive, I would still like to ask/verify how to proceed with forking code from .NET runtime libraries.
Reason to fork: in my specific case, code I'm interested in is
internal (not part of public API). If I want to avoid reflection, I see no other option than a) propose API change, b) fork, modify & ship under different name but same license. I'm pretty sure changing public API won't happen (soon/ever), so b it is.
.NET uses MIT license (repo), however additionally every file has following header:
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license.
What I'm bit unsure here is what to do with this header:
- keep it in all files (including those containing my modification, possibly attributing my change to .NET Foundation)
- keep it only in files I haven't modified (= removing header only from files I modified)
- remove from all files no matter what I modified
I plan to distribute my modification under MIT license while mentioning origin of code - I see no issue here.
There are other licenses within .NET runtime 3rd party notice, however it should not be relevant to library I want to modify.