Switch to MIT license for files copied from Roslyn#13305
Switch to MIT license for files copied from Roslyn#13305anmenaga merged 1 commit intoPowerShell:masterfrom
Conversation
|
@xtqqczze Please rebase to pass CIs. |
|
@iSazonov @daxian-dbw These files are wrapped with |
Since dotnet/roslyn#37797 Roslyn has used MIT license. Presumably we can now change the copright header of these files. Follow-up: PowerShell#6134
8e653f5 to
a74d902
Compare
|
They are for searching assemblies in GAC in the Parser, but I cannot remember exactly for what now. |
They are used in these files: |
|
Our ALC Resolver uses TryFindInGAC() method to search in GAC. The referenced code is for using assembly statement - I'd expect it would search in GAC too. |
|
I was under the impression that the GAC functionality is effectively nonexistent for .NET Core? Has that changed again in .NET 5? |
|
|
|
We have GlobalAssemblyCache in GlobalAssemblyCache.cs file. I see the .Net document mentions UTF7 - we should review this. |
Issue opened: #13358 |
|
@iSazonov MicrosoftDocs/PowerShell-Docs#6422, MicrosoftDocs/PowerShell-Docs#6446 suggests there is no GAC in PowerShell 6 and higher, should we open an issue to review GAC functionality? |
|
@xtqqczze Feel free to open new issue. |
|
I don't know enough about this to open an issue, pinging @rjmholt. |
This is effectively true, but I believe pwsh.exe still keeps some .NET Framework GAC fallback functionality on Windows to support particular Windows modules... @adityapatwardhan is the right person to ask here |
|
🎉 Handy links: |
PR Summary
Since dotnet/roslyn#37797 Roslyn has used MIT license. Presumably we can now update the copyright header of these files.
Also add a comment explaining this code is from Roslyn.
There may be additional code copied from Roslyn, I found the details on these files from #6134 which I cross-checked with https://github.com/dotnet/roslyn
PR Context
Follow-up: #6134
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.