116 references to IntSecurity
System.Drawing (116)
commonui\System\Drawing\Advanced\EncoderParameter.cs (2)
453
IntSecurity
.UnmanagedCode.Demand();
497
IntSecurity
.UnmanagedCode.Demand();
commonui\System\Drawing\Advanced\EncoderParameters.cs (1)
114
IntSecurity
.UnmanagedCode.Assert();
commonui\System\Drawing\Advanced\Font.cs (5)
404
IntSecurity
.ObjectFromWin32Handle.Demand();
448
IntSecurity
.ObjectFromWin32Handle.Demand();
487
IntSecurity
.ObjectFromWin32Handle.Demand();
824
IntSecurity
.ObjectFromWin32Handle.Demand();
887
IntSecurity
.ObjectFromWin32Handle.Assert();
commonui\System\Drawing\Advanced\ImageAttributes.cs (1)
567
IntSecurity
.DemandReadFileIO(colorProfileFilename);
commonui\System\Drawing\Advanced\Metafile.cs (18)
64
IntSecurity
.ObjectFromWin32Handle.Demand();
90
IntSecurity
.ObjectFromWin32Handle.Demand();
112
IntSecurity
.DemandReadFileIO(filename);
168
IntSecurity
.ObjectFromWin32Handle.Demand();
232
IntSecurity
.ObjectFromWin32Handle.Demand();
296
IntSecurity
.ObjectFromWin32Handle.Demand();
358
IntSecurity
.DemandReadFileIO(fileName);
359
IntSecurity
.ObjectFromWin32Handle.Demand();
435
IntSecurity
.DemandReadFileIO(fileName);
436
IntSecurity
.ObjectFromWin32Handle.Demand();
516
IntSecurity
.DemandReadFileIO(fileName);
517
IntSecurity
.ObjectFromWin32Handle.Demand();
583
IntSecurity
.ObjectFromWin32Handle.Demand();
649
IntSecurity
.ObjectFromWin32Handle.Demand();
717
IntSecurity
.ObjectFromWin32Handle.Demand();
767
IntSecurity
.ObjectFromWin32Handle.Demand();
791
IntSecurity
.ObjectFromWin32Handle.Demand();
814
IntSecurity
.DemandReadFileIO(fileName);
commonui\System\Drawing\Advanced\PrivateFontCollection.cs (2)
98
IntSecurity
.DemandReadFileIO(filename);
123
IntSecurity
.ObjectFromWin32Handle.Demand();
commonui\System\Drawing\Bitmap.cs (5)
56
IntSecurity
.DemandReadFileIO(filename);
92
IntSecurity
.DemandReadFileIO(filename);
240
IntSecurity
.ObjectFromWin32Handle.Demand();
354
IntSecurity
.ObjectFromWin32Handle.Demand();
373
IntSecurity
.ObjectFromWin32Handle.Demand();
commonui\System\Drawing\Brush.cs (1)
51
IntSecurity
.UnmanagedCode.Demand();
commonui\System\Drawing\BufferedGraphics.cs (1)
146
IntSecurity
.UnmanagedCode.Demand();
commonui\System\Drawing\Design\ToolboxItem.cs (1)
937
IntSecurity
.UnmanagedCode.Demand();
commonui\System\Drawing\Graphics.cs (4)
133
IntSecurity
.ObjectFromWin32Handle.Demand();
172
IntSecurity
.ObjectFromWin32Handle.Demand();
196
IntSecurity
.ObjectFromWin32Handle.Demand();
307
IntSecurity
.Win32HandleManipulation.Demand();
commonui\System\Drawing\Icon.cs (5)
271
IntSecurity
.DemandReadFileIO(filePath);
284
IntSecurity
.ObjectFromWin32Handle.Demand();
560
IntSecurity
.ObjectFromWin32Handle.Demand();
1013
IntSecurity
.ObjectFromWin32Handle.Assert();
1071
IntSecurity
.ObjectFromWin32Handle.Assert();
commonui\System\Drawing\Image.cs (5)
176
IntSecurity
.DemandReadFileIO(filename);
251
IntSecurity
.UnmanagedCode.Demand();
603
IntSecurity
.DemandWriteFileIO(filename);
1322
IntSecurity
.ObjectFromWin32Handle.Demand();
1337
IntSecurity
.ObjectFromWin32Handle.Demand();
commonui\System\Drawing\IntSecurity.cs (2)
66
temp.SetPermission(
IntSecurity
.UnmanagedCode);
67
temp.SetPermission(
IntSecurity
.AllPrinting);
commonui\System\Drawing\Printing\DefaultPrintController.cs (6)
31
IntSecurity
.SafePrinting.Demand();
34
IntSecurity
.DefaultPrinting.Demand();
37
IntSecurity
.AllPrinting.Demand();
99
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
156
IntSecurity
.UnmanagedCode.Assert();
185
IntSecurity
.UnmanagedCode.Assert();
commonui\System\Drawing\Printing\InvalidPrinterException.cs (1)
55
IntSecurity
.AllPrinting.Demand();
commonui\System\Drawing\Printing\PageSettings.cs (7)
67
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
106
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
190
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
208
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
280
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
336
IntSecurity
.AllPrintingAndUnmanagedCode.Demand();
553
IntSecurity
.AllPrintingAndUnmanagedCode.Demand();
commonui\System\Drawing\Printing\PreviewPrintController.cs (3)
35
IntSecurity
.SafePrinting.Demand();
72
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
102
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
commonui\System\Drawing\Printing\PrintController.cs (8)
90
IntSecurity
.SafePrinting.Demand();
111
IntSecurity
.SafePrinting.Demand();
161
if (!
IntSecurity
.HasPermission(
IntSecurity
.AllPrinting)) {
164
IntSecurity
.AllPrinting.Assert();
258
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
281
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
308
IntSecurity
.UnmanagedCode.Assert();
commonui\System\Drawing\Printing\PrintDocument.cs (3)
133
IntSecurity
.SafePrinting.Demand();
174
IntSecurity
.SafePrinting.Demand();
333
IntSecurity
.AllPrinting.Demand();
commonui\System\Drawing\Printing\PrinterSettings.cs (26)
109
IntSecurity
.SafePrinting.Demand();
212
IntSecurity
.AllPrinting.Demand();
239
IntSecurity
.UnmanagedCode.Assert();
385
IntSecurity
.DemandReadFileIO(printFileName);
394
IntSecurity
.DemandWriteFileIO(value);
438
IntSecurity
.AllPrinting.Demand();
480
IntSecurity
.AllPrinting.Demand();
485
IntSecurity
.AllPrinting.Demand();
647
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
684
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
725
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
757
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
829
IntSecurity
.AllPrinting.Assert();
833
IntSecurity
.UnmanagedCode.Assert();
852
IntSecurity
.UnmanagedCode.Assert();
907
IntSecurity
.UnmanagedCode.Assert();
989
IntSecurity
.AllPrintingAndUnmanagedCode.Demand();
1078
IntSecurity
.AllPrintingAndUnmanagedCode.Demand();
1096
IntSecurity
.AllPrintingAndUnmanagedCode.Demand();
1180
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
1223
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
1260
IntSecurity
.AllPrintingAndUnmanagedCode.Assert();
1312
IntSecurity
.AllPrintingAndUnmanagedCode.Demand();
1357
IntSecurity
.AllPrintingAndUnmanagedCode.Demand();
1382
string printerName = (
IntSecurity
.HasPermission(
IntSecurity
.AllPrinting)) ? PrinterName : "<printer name unavailable>";
commonui\System\Drawing\Region.cs (2)
156
IntSecurity
.ObjectFromWin32Handle.Demand();
344
IntSecurity
.ObjectFromWin32Handle.Demand();
commonui\System\Drawing\SystemFonts.cs (7)
44
IntSecurity
.ObjectFromWin32Handle.Assert();
86
IntSecurity
.ObjectFromWin32Handle.Assert();
127
IntSecurity
.ObjectFromWin32Handle.Assert();
168
IntSecurity
.ObjectFromWin32Handle.Assert();
209
IntSecurity
.ObjectFromWin32Handle.Assert();
264
IntSecurity
.ObjectFromWin32Handle.Assert();
362
IntSecurity
.ObjectFromWin32Handle.Assert();