177 references to UnmanagedCode
System.Windows.Forms (177)
winforms\Managed\System\WinForms\AccessibleObject.cs (107)
1263IntSecurity.UnmanagedCode.Demand(); 1422IntSecurity.UnmanagedCode.Demand(); 1472IntSecurity.UnmanagedCode.Demand(); 1897IntSecurity.UnmanagedCode.Demand(); 2022IntSecurity.UnmanagedCode.Demand(); 2099IntSecurity.UnmanagedCode.Demand(); 2837IntSecurity.UnmanagedCode.Assert(); 2857IntSecurity.UnmanagedCode.Assert(); 2913IntSecurity.UnmanagedCode.Assert(); 2987IntSecurity.UnmanagedCode.Assert(); 3129IntSecurity.UnmanagedCode.Assert(); 3134IntSecurity.UnmanagedCode.Assert(); 3139IntSecurity.UnmanagedCode.Assert(); 3144IntSecurity.UnmanagedCode.Assert(); 3149IntSecurity.UnmanagedCode.Assert(); 3154IntSecurity.UnmanagedCode.Assert(); 3159IntSecurity.UnmanagedCode.Assert(); 3164IntSecurity.UnmanagedCode.Assert(); 3169IntSecurity.UnmanagedCode.Assert(); 3174IntSecurity.UnmanagedCode.Assert(); 3179IntSecurity.UnmanagedCode.Assert(); 3184IntSecurity.UnmanagedCode.Assert(); 3189IntSecurity.UnmanagedCode.Assert(); 3194IntSecurity.UnmanagedCode.Assert(); 3199IntSecurity.UnmanagedCode.Assert(); 3204 IntSecurity.UnmanagedCode.Assert(); 3209IntSecurity.UnmanagedCode.Assert(); 3214IntSecurity.UnmanagedCode.Assert(); 3219IntSecurity.UnmanagedCode.Assert(); 3224IntSecurity.UnmanagedCode.Assert(); 3229IntSecurity.UnmanagedCode.Assert(); 3238IntSecurity.UnmanagedCode.Assert(); 3243IntSecurity.UnmanagedCode.Assert(); 3248IntSecurity.UnmanagedCode.Assert(); 3253IntSecurity.UnmanagedCode.Assert(); 3262IntSecurity.UnmanagedCode.Assert(); 3267IntSecurity.UnmanagedCode.Assert(); 3316IntSecurity.UnmanagedCode.Demand(); 3332IntSecurity.UnmanagedCode.Assert(); 3349IntSecurity.UnmanagedCode.Assert(); 3355IntSecurity.UnmanagedCode.Assert(); 3365IntSecurity.UnmanagedCode.Assert(); 3371IntSecurity.UnmanagedCode.Assert(); 3381IntSecurity.UnmanagedCode.Assert(); 3388IntSecurity.UnmanagedCode.Assert(); 3394IntSecurity.UnmanagedCode.Assert(); 3447IntSecurity.UnmanagedCode.Assert(); 3456IntSecurity.UnmanagedCode.Assert(); 3461IntSecurity.UnmanagedCode.Assert(); 3466IntSecurity.UnmanagedCode.Assert(); 3471IntSecurity.UnmanagedCode.Assert(); 3477IntSecurity.UnmanagedCode.Assert(); 3484IntSecurity.UnmanagedCode.Assert(); 3498IntSecurity.UnmanagedCode.Assert(); 3503IntSecurity.UnmanagedCode.Assert(); 3513IntSecurity.UnmanagedCode.Assert(); 3520IntSecurity.UnmanagedCode.Assert(); 3527IntSecurity.UnmanagedCode.Assert(); 3534IntSecurity.UnmanagedCode.Assert(); 3541IntSecurity.UnmanagedCode.Assert(); 3548IntSecurity.UnmanagedCode.Assert(); 3555IntSecurity.UnmanagedCode.Assert(); 3562IntSecurity.UnmanagedCode.Assert(); 3569IntSecurity.UnmanagedCode.Assert(); 3575IntSecurity.UnmanagedCode.Assert(); 3580IntSecurity.UnmanagedCode.Assert(); 3585IntSecurity.UnmanagedCode.Assert(); 3590IntSecurity.UnmanagedCode.Assert(); 3595IntSecurity.UnmanagedCode.Assert(); 3604IntSecurity.UnmanagedCode.Assert(); 3614IntSecurity.UnmanagedCode.Assert(); 3621IntSecurity.UnmanagedCode.Assert(); 3627IntSecurity.UnmanagedCode.Assert(); 3637IntSecurity.UnmanagedCode.Assert(); 3644IntSecurity.UnmanagedCode.Assert(); 3651IntSecurity.UnmanagedCode.Assert(); 3658IntSecurity.UnmanagedCode.Assert(); 3665IntSecurity.UnmanagedCode.Assert(); 3672IntSecurity.UnmanagedCode.Assert(); 3678IntSecurity.UnmanagedCode.Assert(); 3687IntSecurity.UnmanagedCode.Assert(); 3692IntSecurity.UnmanagedCode.Assert(); 3698IntSecurity.UnmanagedCode.Assert(); 3708IntSecurity.UnmanagedCode.Assert(); 3714IntSecurity.UnmanagedCode.Assert(); 3724IntSecurity.UnmanagedCode.Assert(); 3729IntSecurity.UnmanagedCode.Assert(); 3735IntSecurity.UnmanagedCode.Assert(); 3745IntSecurity.UnmanagedCode.Assert(); 3750IntSecurity.UnmanagedCode.Assert(); 3759IntSecurity.UnmanagedCode.Assert(); 3765IntSecurity.UnmanagedCode.Assert(); 3772IntSecurity.UnmanagedCode.Assert(); 3783IntSecurity.UnmanagedCode.Assert(); 3790IntSecurity.UnmanagedCode.Assert(); 3797IntSecurity.UnmanagedCode.Assert(); 3804IntSecurity.UnmanagedCode.Assert(); 3811IntSecurity.UnmanagedCode.Assert(); 3831IntSecurity.UnmanagedCode.Assert(); 3842IntSecurity.UnmanagedCode.Assert(); 3854IntSecurity.UnmanagedCode.Assert(); 3868IntSecurity.UnmanagedCode.Assert(); 3876IntSecurity.UnmanagedCode.Assert(); 3884IntSecurity.UnmanagedCode.Assert(); 3894IntSecurity.UnmanagedCode.Assert(); 3905IntSecurity.UnmanagedCode.Assert(); 3921IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\Application.cs (1)
862IntSecurity.UnmanagedCode.Demand();
winforms\Managed\System\WinForms\AxHost.cs (1)
6849IntSecurity.UnmanagedCode.Demand();
winforms\Managed\System\WinForms\BindingContext.cs (3)
51IntSecurity.UnmanagedCode.Demand(); 65IntSecurity.UnmanagedCode.Demand(); 381IntSecurity.UnmanagedCode.Demand();
winforms\Managed\System\WinForms\Clipboard.cs (1)
167IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\ComboBox.cs (3)
3932IntSecurity.UnmanagedCode.Assert(); 3964IntSecurity.UnmanagedCode.Assert(); 3981IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\Control.cs (31)
7797IntSecurity.UnmanagedCode.Demand(); 8775IntSecurity.UnmanagedCode.Assert(); 12044IntSecurity.UnmanagedCode.Demand(); 13037IntSecurity.UnmanagedCode.Assert(); 13059IntSecurity.UnmanagedCode.Assert(); 13108IntSecurity.UnmanagedCode.Assert(); 16831IntSecurity.UnmanagedCode.Assert(); 17198IntSecurity.UnmanagedCode.Assert(); 17262IntSecurity.UnmanagedCode.Assert(); 17318IntSecurity.UnmanagedCode.Assert(); 17566IntSecurity.UnmanagedCode.Assert(); 17585IntSecurity.UnmanagedCode.Assert(); 17629IntSecurity.UnmanagedCode.Assert(); 17664IntSecurity.UnmanagedCode.Assert(); 17688IntSecurity.UnmanagedCode.Assert(); 17988IntSecurity.UnmanagedCode.Assert(); 18010IntSecurity.UnmanagedCode.Assert(); 18085IntSecurity.UnmanagedCode.Assert(); 18162IntSecurity.UnmanagedCode.Assert(); 18562IntSecurity.UnmanagedCode.Assert(); 18594IntSecurity.UnmanagedCode.Assert(); 18654IntSecurity.UnmanagedCode.Assert(); 18687IntSecurity.UnmanagedCode.Assert(); 18713IntSecurity.UnmanagedCode.Assert(); 18753IntSecurity.UnmanagedCode.Assert(); 18870IntSecurity.UnmanagedCode.Assert(); 18891IntSecurity.UnmanagedCode.Demand(); 18990IntSecurity.UnmanagedCode.Assert(); 19437IntSecurity.UnmanagedCode.Assert(); 19465IntSecurity.UnmanagedCode.Assert(); 19635IntSecurity.UnmanagedCode.Demand();
winforms\Managed\System\WinForms\Cursor.cs (2)
103IntSecurity.UnmanagedCode.Demand(); 225IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\DataGridView.cs (1)
2852IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\DataObject.cs (5)
1405IntSecurity.UnmanagedCode.Assert(); 1550IntSecurity.UnmanagedCode.Assert(); 1606IntSecurity.UnmanagedCode.Assert(); 2003IntSecurity.UnmanagedCode.Assert(); 2016IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\FontDialog.cs (1)
689IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\Help.cs (2)
194IntSecurity.UnmanagedCode.Demand(); 295IntSecurity.UnmanagedCode.Demand();
winforms\Managed\System\WinForms\ListBox.cs (1)
2277IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\ListView.cs (1)
6228IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
3178IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\Message.cs (1)
150IntSecurity.UnmanagedCode.Demand();
winforms\Managed\System\WinForms\MessageBox.cs (1)
447IntSecurity.UnmanagedCode.Demand();
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
192IntSecurity.UnmanagedCode.Demand();
winforms\Managed\System\WinForms\RichTextBox.cs (2)
3258IntSecurity.UnmanagedCode.Demand(); 3820IntSecurity.UnmanagedCode.Demand();
winforms\Managed\System\WinForms\SendKeys.cs (1)
872IntSecurity.UnmanagedCode.Demand();
winforms\Managed\System\WinForms\SplitContainer.cs (1)
2178IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\Splitter.cs (1)
982IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\TextBox.cs (1)
846IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\TreeView.cs (1)
3134IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\WinFormsSecurity.cs (6)
97affectMachineState = UnmanagedCode; 106affectThreadBehavior = UnmanagedCode; 125temp.SetPermission(IntSecurity.UnmanagedCode); 164clipboardWrite.SetPermission(IntSecurity.UnmanagedCode); 333objectFromWin32Handle = UnmanagedCode; 369sendMessages = UnmanagedCode;