92 instantiations of UIPermission
mscorlib (24)
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);
system\security\permissions\permissionattributes.cs (2)
736
return new
UIPermission
( PermissionState.Unrestricted );
740
return new
UIPermission
( m_windowFlag, m_clipboardFlag );
system\security\permissions\uipermission.cs (3)
288
return new
UIPermission
(isectWindowFlags, isectClipboardFlags);
311
return new
UIPermission
(isectWindowFlags, isectClipboardFlags);
316
return new
UIPermission
(this.m_windowFlag, this.m_clipboardFlag);
system\security\securitymanager.cs (1)
565
new
UIPermission
(PermissionState.Unrestricted)
system\security\util\xmlutil.cs (1)
255
return new
UIPermission
( permState );
PresentationCore (12)
Core\CSharp\MS\Internal\Automation\EventMap.cs (1)
304
new
UIPermission
(UIPermissionWindow.AllWindows).Assert();
Core\CSharp\System\Windows\Clipboard.cs (1)
619
(new
UIPermission
(UIPermissionClipboard.AllClipboard)).Assert();//BlessedAssert
Core\CSharp\System\Windows\Input\Command\ApplicationCommands.cs (1)
265
permissions.AddPermission(new
UIPermission
(UIPermissionClipboard.AllClipboard));
Core\CSharp\System\Windows\Input\InputMethod.cs (1)
1763
(new
UIPermission
(UIPermissionWindow.AllWindows)).Assert();//Blessed Assert
Core\CSharp\System\Windows\Interop\HwndAppCommandInputProvider.cs (1)
23
(new
UIPermission
(PermissionState.Unrestricted)).Assert();
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (1)
28
(new
UIPermission
(PermissionState.Unrestricted)).Assert();
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (1)
27
(new
UIPermission
(PermissionState.Unrestricted)).Assert();
Core\CSharp\System\Windows\Interop\HwndStylusInputProvider.cs (1)
45
(new
UIPermission
(PermissionState.Unrestricted)).Assert();
Shared\MS\Internal\SecurityHelper.cs (4)
658
_uiPermissionAllClipboard = new
UIPermission
(UIPermissionClipboard.AllClipboard);
997
_allWindowsUIPermission = new
UIPermission
(UIPermissionWindow.AllWindows);
1078
_unrestrictedUIPermission = new
UIPermission
(PermissionState.Unrestricted);
1093
_appDomainGrantedUnrestrictedUIPermission = AppDomainHasPermission(new
UIPermission
(PermissionState.Unrestricted));
PresentationFramework (41)
src\Framework\Microsoft\Win32\OpenFileDialog.cs (1)
340
new
UIPermission
(UIPermissionWindow.AllWindows).Assert();
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (2)
226
UIPermission uip = new
UIPermission
(UIPermissionWindow.AllWindows);
674
new
UIPermission
(PermissionState.Unrestricted).Assert(); //BlessedAssert
src\Framework\MS\Internal\Ink\ISFClipboardData.cs (1)
86
(new
UIPermission
(UIPermissionClipboard.AllClipboard)).Assert();//BlessedAssert
src\Framework\System\Windows\Controls\DataGrid.cs (1)
8347
(new
UIPermission
(UIPermissionClipboard.AllClipboard)).Assert();
src\Framework\System\Windows\Controls\InkCanvas.cs (4)
2149
( new
UIPermission
(UIPermissionClipboard.AllClipboard) ).Assert();//BlessedAssert
2255
(new
UIPermission
(UIPermissionClipboard.AllClipboard)).Assert();//BlessedAssert
2273
ps.AddPermission(new
UIPermission
(UIPermissionClipboard.AllClipboard));
2610
new
UIPermission
(UIPermissionClipboard.AllClipboard).Assert(); // BlessedAssert:
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 (6)
244
new
UIPermission
(UIPermissionWindow.AllWindows).Assert();//Blessed Assert
327
new
UIPermission
(PermissionState.Unrestricted).Assert(); // BlessedAssert
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\RubberbandSelector.cs (2)
242
(new
UIPermission
(UIPermissionClipboard.AllClipboard)).Assert();//BlessedAssert
263
ps.AddPermission(new
UIPermission
(UIPermissionClipboard.AllClipboard));
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
319
new
UIPermission
(UIPermissionWindow.AllWindows).Assert(); // BlessedAssert
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (4)
71
new
UIPermission
(UIPermissionClipboard.AllClipboard).Assert(); //BlessedAssert
105
(new
UIPermission
(UIPermissionClipboard.AllClipboard)).Assert();//BlessedAssert
355
new
UIPermission
(UIPermissionClipboard.OwnClipboard).Demand();
426
new
UIPermission
(UIPermissionClipboard.OwnClipboard).Demand();
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\BrowserInteropHelper.cs (1)
365
(new
UIPermission
(PermissionState.Unrestricted)).Assert(); // Blessed assert
src\Framework\System\Windows\Interop\DocobjHost.cs (4)
953
permissionSet.AddPermission(new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows));
954
permissionSet.AddPermission(new
UIPermission
(UIPermissionClipboard.OwnClipboard));
987
permissionSet.AddPermission(new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows));
988
permissionSet.AddPermission(new
UIPermission
(UIPermissionClipboard.OwnClipboard));
src\Framework\System\Windows\Interop\HwndHost.cs (2)
1035
new
UIPermission
(PermissionState.Unrestricted).Assert(); //BlessedAssert:
1060
new
UIPermission
(PermissionState.Unrestricted).Assert(); //BlessedAssert:
src\Framework\System\Windows\Window.cs (1)
5880
(new
UIPermission
(UIPermissionWindow.AllWindows)).Assert();
src\Shared\MS\Internal\SecurityHelper.cs (2)
997
_allWindowsUIPermission = new
UIPermission
(UIPermissionWindow.AllWindows);
1078
_unrestrictedUIPermission = new
UIPermission
(PermissionState.Unrestricted);
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 (5)
winforms\Managed\System\WinForms\WinFormsSecurity.cs (5)
136
allWindows = new
UIPermission
(UIPermissionWindow.AllWindows);
145
clipboardRead = new
UIPermission
(UIPermissionClipboard.AllClipboard);
154
clipboardOwn = new
UIPermission
(UIPermissionClipboard.OwnClipboard);
351
safeSubWindows = new
UIPermission
(UIPermissionWindow.SafeSubWindows);
360
safeTopLevelWindows = new
UIPermission
(UIPermissionWindow.SafeTopLevelWindows);
WindowsBase (3)
Shared\MS\Internal\SecurityHelper.cs (2)
997
_allWindowsUIPermission = new
UIPermission
(UIPermissionWindow.AllWindows);
1078
_unrestrictedUIPermission = new
UIPermission
(PermissionState.Unrestricted);
Shared\MS\Win32\HwndWrapper.cs (1)
169
new
UIPermission
(UIPermissionWindow.AllWindows).Assert(); //BlessedAssert to call Dispose
47 references to UIPermission
mscorlib (8)
system\security\cryptography\utils.cs (1)
489
UIPermission
uiPermission = new UIPermission(UIPermissionWindow.SafeTopLevelWindows);
system\security\permissions\uipermission.cs (7)
250
UIPermission
operand = (
UIPermission
)target;
282
UIPermission
operand = (
UIPermission
)target;
305
UIPermission
operand = (
UIPermission
)target;
366
return
UIPermission
.GetTokenIndex();
PresentationCore (10)
Core\CSharp\MS\Internal\Automation\EventMap.cs (1)
313
UIPermission
.RevertAssert();
Core\CSharp\System\Windows\Clipboard.cs (1)
626
UIPermission
.RevertAssert();
Core\CSharp\System\Windows\Input\InputMethod.cs (1)
1770
UIPermission
.RevertAssert();
Core\CSharp\System\Windows\Interop\HwndAppCommandInputProvider.cs (1)
30
UIPermission
.RevertAssert();
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (1)
35
UIPermission
.RevertAssert();
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (1)
35
UIPermission
.RevertAssert();
Core\CSharp\System\Windows\Interop\HwndStylusInputProvider.cs (1)
55
UIPermission
.RevertAssert();
Shared\MS\Internal\SecurityHelper.cs (3)
662
static
UIPermission
_uiPermissionAllClipboard = null;
1001
static
UIPermission
_allWindowsUIPermission = null;
1082
static
UIPermission
_unrestrictedUIPermission = null;
PresentationFramework (23)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (2)
226
UIPermission
uip = new UIPermission(UIPermissionWindow.AllWindows);
685
UIPermission
.RevertAll();
src\Framework\MS\Internal\Ink\ISFClipboardData.cs (1)
93
UIPermission
.RevertAssert();
src\Framework\System\Windows\Controls\DataGrid.cs (1)
8354
UIPermission
.RevertAssert();
src\Framework\System\Windows\Controls\InkCanvas.cs (2)
2156
UIPermission
.RevertAssert();
2262
UIPermission
.RevertAssert();
src\Framework\System\Windows\Controls\Menu.cs (1)
164
UIPermission
.RevertAssert();
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
3493
UIPermission
.RevertAssert();
3665
UIPermission
.RevertAssert();
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
829
UIPermission
.RevertAssert();
src\Framework\System\windows\Documents\CaretElement.cs (1)
999
UIPermission
.RevertAssert();
src\Framework\System\Windows\Documents\ImmComposition.cs (3)
335
UIPermission
.RevertAssert();
385
UIPermission
.RevertAssert();
405
UIPermission
.RevertAssert();
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
257
UIPermission
.RevertAssert();
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
112
UIPermission
.RevertAssert();
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
701
UIPermission
.RevertAssert();
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1655
UIPermission
.RevertAssert();
src\Framework\System\Windows\Documents\TextStore.cs (1)
3244
UIPermission
.RevertAssert();
src\Framework\System\Windows\Interop\BrowserInteropHelper.cs (1)
373
UIPermission
.RevertAssert();
src\Framework\System\Windows\Window.cs (1)
5890
UIPermission
.RevertAssert();
src\Shared\MS\Internal\SecurityHelper.cs (2)
1001
static
UIPermission
_allWindowsUIPermission = null;
1082
static
UIPermission
_unrestrictedUIPermission = null;
System.Drawing (2)
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);
WindowsBase (2)
Shared\MS\Internal\SecurityHelper.cs (2)
1001
static
UIPermission
_allWindowsUIPermission = null;
1082
static
UIPermission
_unrestrictedUIPermission = null;