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