53 references to UIPermission
mscorlib (17)
system\console.cs (16)
571
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
622
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
761
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
802
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
829
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
890
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
1039
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
1099
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
1213
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
1283
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
1325
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
1357
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
1411
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
1643
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
1807
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
1824
new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows).Demand();
system\security\cryptography\utils.cs (1)
489
UIPermission uiPermission = new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows);
PresentationCore (3)
Core\CSharp\MS\Internal\Automation\EventMap.cs (1)
304
new
UIPermission
(UIPermissionWindow.AllWindows).Assert();
Core\CSharp\System\Windows\Input\InputMethod.cs (1)
1763
(new
UIPermission
(UIPermissionWindow.AllWindows)).Assert();//Blessed Assert
Shared\MS\Internal\SecurityHelper.cs (1)
997
_allWindowsUIPermission = new
UIPermission
(UIPermissionWindow.AllWindows);
PresentationFramework (21)
src\Framework\Microsoft\Win32\OpenFileDialog.cs (1)
340
new
UIPermission
(UIPermissionWindow.AllWindows).Assert();
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
226
UIPermission uip = new
UIPermission
(UIPermissionWindow.AllWindows);
src\Framework\System\Windows\Controls\Menu.cs (1)
157
(new
UIPermission
(UIPermissionWindow.AllWindows)).Assert(); //Blessed Assert
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
3485
new
UIPermission
(UIPermissionWindow.AllWindows).Assert(); //BlessedAssert
3656
new
UIPermission
(UIPermissionWindow.AllWindows).Assert(); // BlessedAssert:
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
822
(new
UIPermission
(UIPermissionWindow.AllWindows)).Assert(); // Blessed assert
src\Framework\System\windows\Documents\CaretElement.cs (1)
991
new
UIPermission
(UIPermissionWindow.AllWindows).Assert(); //BlessedAssert
src\Framework\System\Windows\Documents\ImmComposition.cs (5)
244
new
UIPermission
(UIPermissionWindow.AllWindows).Assert();//Blessed Assert
378
new
UIPermission
(UIPermissionWindow.AllWindows).Assert();//Blessed Assert
398
new
UIPermission
(UIPermissionWindow.AllWindows).Assert();//Blessed Assert
843
new
UIPermission
(UIPermissionWindow.AllWindows).Assert();//Blessed Assert
1924
new
UIPermission
(UIPermissionWindow.AllWindows).Assert();//Blessed Assert
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
319
new
UIPermission
(UIPermissionWindow.AllWindows).Assert(); // BlessedAssert
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
693
new
UIPermission
(UIPermissionWindow.AllWindows).Assert(); //BlessedAssert
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1648
new
UIPermission
(UIPermissionWindow.AllWindows).Assert(); // BlessedAssert
src\Framework\System\Windows\Documents\TextStore.cs (2)
2510
new
UIPermission
(UIPermissionWindow.AllWindows).Assert(); // BlessedAssert
3237
(new
UIPermission
(UIPermissionWindow.AllWindows)).Assert();//BlessedAssert
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
953
permissionSet.AddPermission(new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows));
987
permissionSet.AddPermission(new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows));
src\Framework\System\Windows\Window.cs (1)
5880
(new
UIPermission
(UIPermissionWindow.AllWindows)).Assert();
src\Shared\MS\Internal\SecurityHelper.cs (1)
997
_allWindowsUIPermission = new
UIPermission
(UIPermissionWindow.AllWindows);
System (2)
compmod\system\diagnostics\DefaultTraceListener.cs (1)
220
new
UIPermission
(UIPermissionWindow.SafeSubWindows).Demand();
sys\system\Media\SoundPlayer.cs (1)
731
safeSubWindows = new
UIPermission
(UIPermissionWindow.SafeSubWindows);
System.Drawing (3)
commonui\System\Drawing\Graphics.cs (1)
915
(new System.Security.Permissions.
UIPermission
(System.Security.Permissions.UIPermissionWindow.AllWindows)).Demand();
commonui\System\Drawing\IntSecurity.cs (2)
10
private static readonly UIPermission AllWindows = new
UIPermission
(UIPermissionWindow.AllWindows);
11
private static readonly UIPermission SafeSubWindows = new
UIPermission
(UIPermissionWindow.SafeSubWindows);
System.Security (2)
system\security\cryptography\cryptoapi.cs (2)
2879
UIPermission uiPermission = new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows);
2895
UIPermission uiPermission = new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\WinFormsSecurity.cs (3)
136
allWindows = new
UIPermission
(UIPermissionWindow.AllWindows);
351
safeSubWindows = new
UIPermission
(UIPermissionWindow.SafeSubWindows);
360
safeTopLevelWindows = new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows);
WindowsBase (2)
Shared\MS\Internal\SecurityHelper.cs (1)
997
_allWindowsUIPermission = new
UIPermission
(UIPermissionWindow.AllWindows);
Shared\MS\Win32\HwndWrapper.cs (1)
169
new
UIPermission
(UIPermissionWindow.AllWindows).Assert(); //BlessedAssert to call Dispose