154 references to AllWindows
mscorlib (3)
system\security\permissions\uipermission.cs (3)
162
if (flag < UIPermissionWindow.NoWindows || flag > UIPermissionWindow.
AllWindows
)
188
m_windowFlag = UIPermissionWindow.
AllWindows
;
231
return m_windowFlag == UIPermissionWindow.
AllWindows
&& m_clipboardFlag == UIPermissionClipboard.AllClipboard;
PresentationCore (24)
Core\CSharp\MS\Internal\Automation\EventMap.cs (1)
304
new UIPermission(UIPermissionWindow.
AllWindows
).Assert();
Core\CSharp\System\Windows\Generated\ContentElement.cs (1)
235
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
Core\CSharp\System\Windows\Generated\UIElement.cs (1)
235
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
Core\CSharp\System\Windows\Input\InputMethod.cs (1)
1763
(new UIPermission(UIPermissionWindow.
AllWindows
)).Assert();//Blessed Assert
Core\CSharp\System\Windows\Interop\HwndSource.cs (3)
247
[UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.
AllWindows
)]
645
[UIPermissionAttribute(SecurityAction.LinkDemand,Window=UIPermissionWindow.
AllWindows
)]
815
[UIPermissionAttribute(SecurityAction.LinkDemand,Window=UIPermissionWindow.
AllWindows
)]
Core\CSharp\System\Windows\Interop\HwndTarget.cs (3)
272
[UIPermissionAttribute(SecurityAction.LinkDemand,Window=UIPermissionWindow.
AllWindows
)]
722
[UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.
AllWindows
)]
2491
[UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.
AllWindows
)]
Core\CSharp\System\Windows\Interop\IWin32Window.cs (1)
27
[UIPermission(SecurityAction.InheritanceDemand,Window = UIPermissionWindow.
AllWindows
)]
Core\CSharp\System\Windows\Media\Animation\Generated\Animatable.cs (1)
242
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
Core\CSharp\System\Windows\Media\CompositionTarget.cs (2)
42
[UIPermissionAttribute(SecurityAction.InheritanceDemand,Window=UIPermissionWindow.
AllWindows
)]
197
[UIPermissionAttribute(SecurityAction.LinkDemand,Window=UIPermissionWindow.
AllWindows
)]
Core\CSharp\System\Windows\Media\Effects\BitmapEffect.cs (1)
40
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Window = UIPermissionWindow.
AllWindows
)]
Core\CSharp\System\Windows\Media\Effects\Effect.cs (1)
26
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Window = UIPermissionWindow.
AllWindows
)]
Core\CSharp\System\Windows\Media\RenderOptions.cs (1)
253
[UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.
AllWindows
)]
Core\CSharp\System\Windows\Media3D\Generated\Visual3D.cs (1)
242
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
Core\CSharp\System\Windows\PresentationSource.cs (5)
156
[UIPermissionAttribute(SecurityAction.LinkDemand,Window=UIPermissionWindow.
AllWindows
)]
307
[UIPermissionAttribute(SecurityAction.LinkDemand,Window=UIPermissionWindow.
AllWindows
)]
341
[UIPermissionAttribute(SecurityAction.LinkDemand,Window=UIPermissionWindow.
AllWindows
)]
365
[UIPermissionAttribute(SecurityAction.InheritanceDemand, Window = UIPermissionWindow.
AllWindows
)]
366
[UIPermissionAttribute(SecurityAction.LinkDemand, Window = UIPermissionWindow.
AllWindows
)]
Shared\MS\Internal\SecurityHelper.cs (1)
997
_allWindowsUIPermission = new UIPermission(UIPermissionWindow.
AllWindows
);
PresentationFramework (36)
src\Framework\Microsoft\Win32\CommonDialog.cs (1)
47
[UIPermission(SecurityAction.InheritanceDemand, Window = UIPermissionWindow.
AllWindows
)]
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\Shell\JumpList.cs (15)
124
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
133
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
151
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
170
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
188
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
260
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
323
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
336
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
369
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
373
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
390
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
394
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
439
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
461
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
519
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
src\Framework\System\Windows\Window.cs (2)
54
[UIPermissionAttribute(SecurityAction.InheritanceDemand,Window=UIPermissionWindow.
AllWindows
)]
5880
(new UIPermission(UIPermissionWindow.
AllWindows
)).Assert();
src\Shared\MS\Internal\SecurityHelper.cs (1)
997
_allWindowsUIPermission = new UIPermission(UIPermissionWindow.
AllWindows
);
System.Drawing (4)
commonui\System\Drawing\Advanced\GPStream.cs (1)
68
UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
),
commonui\System\Drawing\BufferedGraphicsContext.cs (1)
92
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
commonui\System\Drawing\Graphics.cs (1)
915
(new System.Security.Permissions.UIPermission(System.Security.Permissions.UIPermissionWindow.
AllWindows
)).Demand();
commonui\System\Drawing\IntSecurity.cs (1)
10
private static readonly UIPermission AllWindows = new UIPermission(UIPermissionWindow.
AllWindows
);
System.Windows.Forms (83)
winforms\Managed\System\WinForms\Application.cs (1)
440
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\AxHost.cs (3)
1986
[UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
1996
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
2100
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\Button.cs (1)
371
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\CheckBox.cs (1)
680
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ContainerControl.cs (4)
1160
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
1183
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
1232
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
1320
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ContextMenu.cs (1)
64
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ContextMenuStrip.cs (1)
48
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\Control.cs (12)
5774
UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)
5935
UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
),
6149
UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)
6258
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
7611
[UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
7640
[UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
10448
[UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
10449
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
10479
[UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
10480
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
10757
[UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
10758
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ControlPaint.cs (3)
1769
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
1820
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
1998
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\DataGrid.cs (2)
7471
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
8251
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
20590
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
24547
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1171
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ErrorProvider.cs (2)
204
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
205
[UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\Form.cs (5)
1979
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
4410
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
5314
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
5357
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
5402
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\GroupBox.cs (1)
717
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\Label.cs (1)
1640
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\LinkLabel.cs (1)
1550
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\MainMenu.cs (1)
161
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
1684
UIPermission(SecurityAction.InheritanceDemand, Window = UIPermissionWindow.
AllWindows
)
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
176
UIPermission(SecurityAction.Assert, Window=UIPermissionWindow.
AllWindows
),
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (2)
1610
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
1631
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
3736
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\RadioButton.cs (1)
612
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\SplitContainer.cs (2)
2406
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
2439
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1598
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
35
UIPermission(SecurityAction.Assert, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolStrip.cs (2)
2922
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
3011
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolStripControlHost.cs (3)
1003
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
1004
[UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
1015
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolStripDropDown.cs (3)
1576
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
1608
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
1623
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
197
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (1)
544
[UIPermission(SecurityAction.LinkDemand, Window = UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolStripItem.cs (4)
3429
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
3430
[UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
3456
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
3457
[UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (1)
26
UIPermission(SecurityAction.InheritanceDemand, Window=UIPermissionWindow.
AllWindows
)
winforms\Managed\System\WinForms\ToolStripLabel.cs (1)
341
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolStripManager.cs (5)
159
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
176
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
482
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
538
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
567
[UIPermission(SecurityAction.Demand, Window = UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1162
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
384
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
389
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (2)
445
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
455
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\ToolTip.cs (1)
412
[UIPermission(SecurityAction.Demand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
269
[UIPermission(SecurityAction.LinkDemand, Window = UIPermissionWindow.
AllWindows
)]
378
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
winforms\Managed\System\WinForms\WinFormsSecurity.cs (1)
136
allWindows = new UIPermission(UIPermissionWindow.
AllWindows
);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\WorkflowView.cs (1)
1403
[UIPermission(SecurityAction.Assert, Window = UIPermissionWindow.
AllWindows
)]
WindowsBase (3)
Base\System\Windows\SplashScreen.cs (1)
36
[UIPermission(SecurityAction.LinkDemand, Window=UIPermissionWindow.
AllWindows
)]
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