Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upCleanup assemblyinfo #8190
Conversation
iSazonov
requested review from
daxian-dbw,
TravisEz13 and
SteveL-MSFT
Nov 6, 2018
iSazonov
requested a review
from
anmenaga
as a
code owner
Nov 6, 2018
iSazonov
added some commits
Nov 6, 2018
iSazonov
force-pushed the
iSazonov:cleanup-assemblyinfo
branch
to
1172f95
Nov 6, 2018
This comment has been minimized.
This comment has been minimized.
|
Seems Appveyor CI temporary failed. |
This comment has been minimized.
This comment has been minimized.
|
Restarted AppVeyor build. |
anmenaga
reviewed
Nov 8, 2018
| using System.Reflection; | ||
| using System.Runtime.CompilerServices; | ||
|
|
||
| [assembly:InternalsVisibleTo("Microsoft.Windows.DSC.CoreConfProviders,PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
iSazonov
Nov 8, 2018
Author
Collaborator
I don't know. It is for MSFT review.
I believe that internal and private visibility is permissible only in the repo. All other should use only public APIs or IgnoreAccessChecksToAttribute if needed.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
TravisEz13
requested changes
Nov 9, 2018
|
Add DSC intervals visible to back |
This comment has been minimized.
This comment has been minimized.
|
@TravisEz13 Will do. |
This comment has been minimized.
This comment has been minimized.
|
@iSazonov Please push a commit with |
This comment has been minimized.
This comment has been minimized.
|
@TravisEz13 Please update your review. |
This comment has been minimized.
This comment has been minimized.
|
They do use the visibility for testing, but some of it is legacy. |
TravisEz13
reviewed
Nov 14, 2018
| [assembly: InternalsVisibleTo(@"Microsoft.PowerShell.GPowerShell" + @",PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] | ||
| [assembly: InternalsVisibleTo(@"Microsoft.PowerShell.ISECommon" + @",PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] | ||
| [assembly: InternalsVisibleTo(@"Microsoft.PowerShell.Editor" + @",PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] | ||
| [assembly: InternalsVisibleTo(@"powershell_ise" + @",PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
iSazonov
Nov 14, 2018
Author
Collaborator
They all relate to ISE. I think we can safely remove this.
This comment has been minimized.
This comment has been minimized.
adityapatwardhan
approved these changes
Nov 14, 2018
iSazonov
assigned
TravisEz13
Nov 15, 2018
This comment has been minimized.
This comment has been minimized.
|
@TravisEz13 Please update your review. |
iSazonov commentedNov 6, 2018
•
edited
PR Summary
Remove old code from AssemblyInfo.cs
Additional considerations
We could use
IgnoreAccessChecksToAttributeinstead ofInternalsVisibleToAttribute.PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature tests