-
Notifications
You must be signed in to change notification settings - Fork 938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove *Permission and *Assert.'s from code #40
Comments
I would literally grep for *Assert and *Permission and remove those, then experimentally remove all using statements for System.Security, System.SEcurity.Permissions, and System.Security.Policy and see what if any compile errors you get. Those may be more hits. |
A "remove unused" would clean those unused usings up too in one gesture. |
Before I go too far on this (there's a lot of them), are we absolutely we want to remove all the SecurityPermission/UIPermission/Assert stuff? I understand they're no-op on .net core, but coreclr/corefx keep a few of them for the parts of code that are shared with .net framework. Are we positive we don't need to do the same thing for winforms? |
💭 I'm not sure why we would be removing |
The CAS asserts, not the debug asserts :) For instance, https://github.com/dotnet/winforms/blob/master/src/System.Windows.Forms/src/System/Windows/Forms/WinFormsSecurity.cs#L488 |
Thanks for picking up the issue @kevingosse! I added you to collaborators list. Once you accept, ping me here and I will be able to assign it to you. (assigning to myself temporarily) @dotnet/dotnet-winforms FYI about collaborator trick (with Read permissions) - see https://github.com/dotnet/winforms/settings/collaboration |
@karelz accepted |
No description provided.
The text was updated successfully, but these errors were encountered: