Implemented interface member:
method
Assert
System.Security.IStackWalk.Assert()
583 references to Assert
mscorlib (50)
system\appdomain.cs (1)
188new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).Assert();
system\cfgparser.cs (1)
277(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).Assert();
system\diagnostics\eventing\eventprovider.cs (1)
544(new RegistryPermission(RegistryPermissionAccess.Read, regKey)).Assert();
system\diagnostics\eventing\eventsource.cs (1)
3804(new ReflectionPermission(ReflectionPermissionFlag.MemberAccess)).Assert();
system\diagnostics\stacktrace.cs (2)
134new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).Assert(); 135new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
system\exception.cs (1)
918sp.Assert();
system\io\filestream.cs (1)
911new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
system\io\isolatedstorage\isolatedstorage.cs (3)
571GetControlEvidencePermission().Assert(); 625GetControlEvidencePermission().Assert(); 712GetControlEvidencePermission().Assert();
system\io\isolatedstorage\isolatedstoragefile.cs (22)
506m_fiop.Assert(); 556m_fiop.Assert(); 600m_fiop.Assert(); 638m_fiop.Assert(); 708m_fiop.Assert(); 749m_fiop.Assert(); 790m_fiop.Assert(); 858m_fiop.Assert(); 990m_fiop.Assert(); 1056m_fiop.Assert(); 1138m_fiop.Assert(); 1208m_fiop.Assert(); 1241m_fiop.Assert(); 1324FileIOPermissionAccess.AllAccess, rootDir).Assert(); 1346FileIOPermissionAccess.AllAccess, domainRoot).Assert(); 1367m_fiop.Assert(); 1563FileIOPermissionAccess.Write, rootDir).Assert(); 1651GetGlobalFileIOPerm(scope).Assert(); 1876fp.Assert(); 1994new FileIOPermission(FileIOPermissionAccess.AllAccess, rootDir).Assert(); 2052new FileIOPermission(FileIOPermissionAccess.AllAccess, rootDir).Assert(); 2614m_fiop.Assert();
system\io\isolatedstorage\isolatedstoragefilestream.cs (1)
167fiop.Assert();
system\reflection\assembly.cs (1)
2089new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
system\reflection\emit\modulebuilder.cs (1)
1444new EnvironmentPermission(PermissionState.Unrestricted).Assert();
system\resources\filebasedresourcegroveler.cs (1)
54new System.Security.Permissions.FileIOPermission(System.Security.Permissions.PermissionState.Unrestricted).Assert();
system\runtime\remoting\configuration.cs (2)
321new FileIOPermission(FileIOPermissionAccess.Read, longFileName).Assert(); 1700new FileIOPermission(PermissionState.Unrestricted).Assert();
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (2)
1365sfileIOPermission.Assert(); 1389sfileIOPermission.Assert();
system\security\cryptography\cryptoconfig.cs (1)
917new FileIOPermission(FileIOPermissionAccess.Read, machineConfigFile).Assert();
system\security\permissions\principalpermission.cs (1)
465new SecurityPermission(SecurityPermissionFlag.ControlPrincipal).Assert();
system\security\permissiontoken.cs (2)
161s_reflectPerm.Assert(); 249s_reflectPerm.Assert();
system\security\policy\applicationsecuritymanager.cs (1)
170new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).Assert();
system\security\policy\pefileevidencefactory.cs (1)
153new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).Assert();
system\security\util\xmlutil.cs (3)
415new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).Assert(); 487new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).Assert(); 621new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).Assert();
PresentationCore (41)
Core\CSharp\MS\Internal\AppModel\CustomCredentialPolicy.cs (1)
85new SecurityPermission(SecurityPermissionFlag.ControlPolicy).Assert(); // BlessedAssert:
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (2)
301p1.Assert(); 312p2.Assert();
Core\CSharp\MS\Internal\Automation\EventMap.cs (1)
304new UIPermission(UIPermissionWindow.AllWindows).Assert();
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (2)
103registryPermission.Assert(); // BlessedAssert 217SecurityHelper.CreateUriDiscoveryPermission(criticalSxSFontsLocation).Assert();
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (2)
430environmentPermission.Assert(); //Blessed Assert 1084new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); //Blessed Assert
Core\CSharp\MS\Internal\FontCache\FontSource.cs (2)
192new FileIOPermission(FileIOPermissionAccess.Read, _fontUri.LocalPath).Assert(); //Blessed Assert 443new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); //Blessed Assert
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
526new WebPermission(PermissionState.Unrestricted).Assert(); // Blessed
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (1)
649new WebPermission(PermissionState.Unrestricted).Assert(); // Blessed
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (1)
118(new EnvironmentPermission(EnvironmentPermissionAccess.Read, "USERNAME")).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Clipboard.cs (1)
619(new UIPermission(UIPermissionClipboard.AllClipboard)).Assert();//BlessedAssert
Core\CSharp\System\Windows\DataObject.cs (3)
3659new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert 3679new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert 3698new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Diagnostics\VisualDiagnostics.cs (2)
245new EnvironmentPermission(EnvironmentPermissionAccess.Read, environmentVariable).Assert(); 386new RegistryPermission(RegistryPermissionAccess.Read, c_devmodeRegKeyFullPath).Assert();
Core\CSharp\System\Windows\Input\InputMethod.cs (2)
1763(new UIPermission(UIPermissionWindow.AllWindows)).Assert();//Blessed Assert 1923sp.Assert();//Blessed Assert
Core\CSharp\System\Windows\Input\MouseDevice.cs (1)
2199new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (2)
492sp.Assert();//Blessed Assert 1059permission.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\HwndSource.cs (2)
2125new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 2897new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
Core\CSharp\System\Windows\Interop\HwndStylusInputProvider.cs (1)
45(new UIPermission(PermissionState.Unrestricted)).Assert();
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (3)
1381(new WebPermission(NetworkAccess.Connect, BindUriHelper.UriToString(uri))).Assert(); // BlessedAssert 1421(new WebPermission(NetworkAccess.Connect, BindUriHelper.UriToString(uri))).Assert(); // BlessedAssert 1467(new FileIOPermission(FileIOPermissionAccess.Read, uri.LocalPath)).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (2)
151new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert 234(new WebPermission(NetworkAccess.Connect, BindUriHelper.UriToString(uri))).Assert(); // BlessedAssert
Core\CSharp\System\Windows\Media\MediaContextNotificationWindow.cs (1)
264(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).Assert();
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (2)
990new WebPermission(NetworkAccess.Connect, BindUriHelper.UriToString(uriToOpen)).Assert(); 997new FileIOPermission(FileIOPermissionAccess.Read, appBase.LocalPath).Assert();// BlessedAssert
Shared\MS\Internal\SafeSecurityHelper.cs (2)
382regPerm.Assert();//BlessedAssert 443regPerm.Assert();//BlessedAssert
Shared\MS\Internal\SecurityHelper.cs (1)
413new FileIOPermission(PermissionState.Unrestricted).Assert();// BlessedAssert
PresentationFramework (77)
src\Framework\Microsoft\Win32\FileDialog.cs (1)
1236(new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, fileName)).Assert();
src\Framework\Microsoft\Win32\OpenFileDialog.cs (4)
111(new FileIOPermission(FileIOPermissionAccess.Read, filename)).Assert(); 168(new FileIOPermission(FileIOPermissionAccess.Read, filename)).Assert(); 340new UIPermission(UIPermissionWindow.AllWindows).Assert(); 471new SecurityPermission(PermissionState.Unrestricted).Assert();
src\Framework\Microsoft\Win32\SaveFileDialog.cs (3)
109filename)).Assert();//BlessedAssert 276(new FileIOPermission(PermissionState.Unrestricted)).Assert();//BlessedAssert 413new SecurityPermission(PermissionState.Unrestricted).Assert();
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
634new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).Assert();
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (3)
455new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert: 500new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert: 526new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (3)
79new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();//BlessedAssert 106(new FileIOPermission(PermissionState.Unrestricted)).Assert();//BlessedAssert 153(new RegistryPermission(RegistryPermissionAccess.Read, KILL_BIT_REGISTRY_HIVE + KILL_BIT_REGISTRY_LOCATION)).Assert();//BlessedAssert
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (1)
168filePermission.Assert();
src\Framework\MS\Internal\AppModel\Journaling.cs (1)
726new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).Assert();
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (1)
280new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
src\Framework\MS\Internal\AppModel\ReturnEventSaver.cs (1)
151new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).Assert(); // BlessedAssert
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (4)
227uip.Assert();//Blessed Assert to set owner handle and to set styles 674new UIPermission(PermissionState.Unrestricted).Assert(); //BlessedAssert 687new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); //BlessedAssert 1036printp.Assert();//Blessed Assert to get PrintQueue and call GetPrintCapabilities
src\Framework\MS\Internal\DataStreams.cs (1)
163new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).Assert();
src\Framework\MS\Internal\Ink\ISFClipboardData.cs (1)
86(new UIPermission(UIPermissionClipboard.AllClipboard)).Assert();//BlessedAssert
src\Framework\MS\Internal\Printing\PrintDlgExMarshaler.cs (3)
377SystemDrawingHelper.NewDefaultPrintingPermission().Assert(); //BlessedAssert 454SystemDrawingHelper.NewDefaultPrintingPermission().Assert(); //BlessedAssert 915SystemDrawingHelper.NewDefaultPrintingPermission().Assert(); //BlessedAssert
src\Framework\MS\Internal\Printing\Win32PrintDialog.cs (1)
332SystemDrawingHelper.NewDefaultPrintingPermission().Assert(); //BlessedAssert
src\Framework\System\Windows\Controls\DataGrid.cs (2)
8347(new UIPermission(UIPermissionClipboard.AllClipboard)).Assert(); 8363(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode)).Assert();
src\Framework\System\Windows\Controls\InkCanvas.cs (3)
2149( new UIPermission(UIPermissionClipboard.AllClipboard) ).Assert();//BlessedAssert 2255(new UIPermission(UIPermissionClipboard.AllClipboard)).Assert();//BlessedAssert 2610new 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 (3)
2792new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); //Blessed Assert 3485new UIPermission(UIPermissionWindow.AllWindows).Assert(); //BlessedAssert 3656new UIPermission(UIPermissionWindow.AllWindows).Assert(); // BlessedAssert:
src\Framework\System\Windows\Controls\WebBrowser.cs (2)
822(new UIPermission(UIPermissionWindow.AllWindows)).Assert(); // Blessed assert 1463(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).Assert();
src\Framework\System\windows\Documents\CaretElement.cs (1)
991new UIPermission(UIPermissionWindow.AllWindows).Assert(); //BlessedAssert
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
1169perm.Assert();
src\Framework\System\Windows\Documents\ImmComposition.cs (7)
244new UIPermission(UIPermissionWindow.AllWindows).Assert();//Blessed Assert 327new UIPermission(PermissionState.Unrestricted).Assert(); // BlessedAssert 378new UIPermission(UIPermissionWindow.AllWindows).Assert();//Blessed Assert 398new UIPermission(UIPermissionWindow.AllWindows).Assert();//Blessed Assert 843new UIPermission(UIPermissionWindow.AllWindows).Assert();//Blessed Assert 1924new UIPermission(UIPermissionWindow.AllWindows).Assert();//Blessed Assert 1940new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();//Blessed Assert
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (1)
368new FileIOPermission(FileIOPermissionAccess.Read, trustedFolder).Assert();
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
242(new UIPermission(UIPermissionClipboard.AllClipboard)).Assert();//BlessedAssert
src\Framework\System\Windows\Documents\Speller.cs (2)
1669new EnvironmentPermission(PermissionState.Unrestricted).Assert(); 1705new FileIOPermission(PermissionState.Unrestricted).Assert();
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
319new UIPermission(UIPermissionWindow.AllWindows).Assert(); // BlessedAssert
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (2)
71new UIPermission(UIPermissionClipboard.AllClipboard).Assert(); //BlessedAssert 105(new UIPermission(UIPermissionClipboard.AllClipboard)).Assert();//BlessedAssert
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
693new UIPermission(UIPermissionWindow.AllWindows).Assert(); //BlessedAssert
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1648new UIPermission(UIPermissionWindow.AllWindows).Assert(); // BlessedAssert
src\Framework\System\Windows\Documents\TextServicesHost.cs (1)
307secperm.Assert();
src\Framework\System\Windows\Documents\TextStore.cs (2)
2510new UIPermission(UIPermissionWindow.AllWindows).Assert(); // BlessedAssert 3237(new UIPermission(UIPermissionWindow.AllWindows)).Assert();//BlessedAssert
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (2)
64fiop.Assert(); 295new FileIOPermission(FileIOPermissionAccess.Read, trustedFolder).Assert();
src\Framework\System\Windows\FrameworkTemplate.cs (1)
979_templateHolder.LoadPermission.Assert();
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
1174new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).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 (1)
122(new SecurityPermission(PermissionState.Unrestricted)).Assert(); //BlessedAssert
src\Framework\System\Windows\Interop\HwndHost.cs (2)
1035new UIPermission(PermissionState.Unrestricted).Assert(); //BlessedAssert: 1060new UIPermission(PermissionState.Unrestricted).Assert(); //BlessedAssert:
src\Framework\System\Windows\Markup\XamlReader.cs (1)
1030loadPermission.Assert();
src\Framework\System\Windows\ResourceDictionary.cs (1)
1404_xamlLoadPermission.Assert();
src\Framework\System\Windows\SystemResources.cs (1)
982loadPermission.Assert();
src\Framework\System\Windows\TemplateContent.cs (1)
396LoadPermission.Assert();
src\Framework\System\Windows\Window.cs (1)
5880(new UIPermission(UIPermissionWindow.AllWindows)).Assert();
src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
382regPerm.Assert();//BlessedAssert
src\Shared\MS\Internal\SecurityHelper.cs (2)
1183(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).Assert(); 1223(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).Assert();
System (70)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
3381perm1.Assert(); 3491perm.Assert();
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
2812perm1.Assert(); 2915perm.Assert();
compmod\microsoft\win32\SystemEvents.cs (2)
1042new RegistryPermission(PermissionState.Unrestricted).Assert(); 1209fiop.Assert();
compmod\system\codedom\compiler\CodeCompiler.cs (2)
330perm1.Assert(); 408perm.Assert();
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (3)
99perm.Assert(); 134perm.Assert(); 162perm.Assert();
compmod\system\componentmodel\IntSecurity.cs (1)
22fiop.Assert();
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (2)
421IntSecurity.FullReflection.Assert(); 524IntSecurity.FullReflection.Assert();
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (2)
1639IntSecurity.FullReflection.Assert(); 1665IntSecurity.FullReflection.Assert();
compmod\system\componentmodel\TypeDescriptor.cs (1)
478IntSecurity.FullReflection.Assert();
compmod\system\diagnostics\TraceInternal.cs (1)
61new EnvironmentPermission(EnvironmentPermissionAccess.Read, "Path").Assert();
net\System\Net\_Connection.cs (1)
3795(new WebPermission(NetworkAccess.Connect, proxy)).Assert();
net\System\Net\_FtpControlStream.cs (2)
690new SocketPermission(PermissionState.Unrestricted).Assert(); 1108new SocketPermission(PermissionState.Unrestricted).Assert();
net\System\Net\_NetworkingPerfCounters.cs (1)
186perfCounterPermission.Assert();
net\System\Net\Configuration\DefaultProxySection.cs (2)
169new SecurityPermission(SecurityPermissionFlag.ControlPrincipal | SecurityPermissionFlag.UnmanagedCode).Assert(); 215new SecurityPermission(SecurityPermissionFlag.ControlPrincipal | SecurityPermissionFlag.UnmanagedCode).Assert();
net\System\Net\Configuration\UriSection.cs (2)
159new FileIOPermission(PermissionState.Unrestricted).Assert(); 207new FileIOPermission(PermissionState.Unrestricted).Assert();
net\System\Net\Configuration\UriSectionReader.cs (1)
60new FileIOPermission(FileIOPermissionAccess.Read, configFilePath).Assert();
net\System\Net\HttpWebRequest.cs (1)
5453new ReflectionPermission(PermissionState.Unrestricted).Assert();
net\System\Net\NetWebProxyFinder.cs (1)
224ExceptionHelper.WebPermissionUnrestricted.Assert();
net\System\Net\Sockets\Socket.cs (3)
1443ExceptionHelper.UnmanagedPermission.Assert(); 3623ExceptionHelper.UnmanagedPermission.Assert(); 9326ExceptionHelper.UnmanagedPermission.Assert();
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
429new FileIOPermission(PermissionState.Unrestricted).Assert();
regex\system\text\regularexpressions\compiledregexrunnerfactory.cs (1)
31new ReflectionPermission(PermissionState.Unrestricted).Assert();
regex\system\text\regularexpressions\RegexCompiler.cs (4)
137new ReflectionPermission(PermissionState.Unrestricted).Assert(); 199new ReflectionPermission(PermissionState.Unrestricted).Assert(); 237new ReflectionPermission(PermissionState.Unrestricted).Assert(); 3082new ReflectionPermission(PermissionState.Unrestricted).Assert();
security\system\security\cryptography\x509\x509certificate2collection.cs (4)
182sp.Assert(); 214sp.Assert(); 253sp.Assert(); 284sp.Assert();
security\system\security\cryptography\x509\x509utils.cs (1)
346sp.Assert();
services\io\system\io\FileSystemWatcher.cs (2)
947new EnvironmentPermission(PermissionState.Unrestricted).Assert(); 1003secPermission.Assert();
services\monitoring\system\diagnosticts\CounterSampleCalculator.cs (1)
232new FileIOPermission(PermissionState.Unrestricted).Assert();
services\monitoring\system\diagnosticts\EventLog.cs (4)
168new EventLogPermission(EventLogPermissionAccess.Write, oldLog.machineName).Assert(); 198new EventLogPermission(EventLogPermissionAccess.Write, oldLog.machineName).Assert(); 310new EventLogPermission(EventLogPermissionAccess.Write, oldLog.machineName).Assert(); 1040new System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode).Assert();
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (10)
191environmentPermission.Assert(); 230environmentPermission.Assert(); 358permission.Assert(); 459registryPermission.Assert(); 515permission.Assert(); 554registryPermission.Assert(); 898new RegistryPermission(PermissionState.Unrestricted).Assert(); 1145new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 1192new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 1231new RegistryPermission(PermissionState.Unrestricted).Assert();
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (4)
49new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 613registryPermission.Assert(); 938new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 1552new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
services\monitoring\system\diagnosticts\SharedUtils.cs (2)
53securityPermission.Assert(); 232registryPermission.Assert();
sys\system\io\ports\SerialPort.cs (1)
678registryPermission.Assert();
sys\system\Media\SoundPlayer.cs (2)
273System.ComponentModel.IntSecurity.UnmanagedCode.Assert(); 288System.ComponentModel.IntSecurity.UnmanagedCode.Assert();
sys\system\Media\SystemSounds.cs (1)
92IntSecurity.UnmanagedCode.Assert();
System.Activities (3)
System\Activities\Debugger\SourceLocationProvider.cs (1)
139permission.Assert();
System\Activities\XamlIntegration\ActivityXamlServices.cs (2)
497reflectionPerm.Assert(); 556perm.Assert();
System.AddIn (23)
System\Addin\Hosting\ActivationWorker.cs (1)
148permission.Assert();
System\Addin\Hosting\AddInActivator.cs (1)
695permission.Assert();
System\Addin\Hosting\AddInEnvironment.cs (1)
92permission.Assert();
System\Addin\Hosting\AddInIpcChannel.cs (2)
123new System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode).Assert(); 288new System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode).Assert();
System\Addin\Hosting\AddInServer.cs (2)
140new SecurityPermission(SecurityPermissionFlag.ControlAppDomain).Assert(); 173permission.Assert();
System\Addin\Hosting\AddInStore.cs (11)
96permission.Assert(); 244permission.Assert(); 524permission.Assert(); 692permission.Assert(); 768permission.Assert(); 822permission.Assert(); 901permission.Assert(); 1072new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, storeFileName).Assert(); 1133permission.Assert(); 1260permission.Assert(); 1504permission.Assert();
System\Addin\Hosting\InspectionWorker.cs (1)
214permission.Assert();
System\Addin\MiniReflection\TypeInfo.cs (1)
164permission.Assert();
System\Addin\Pipeline\ContractBase.cs (3)
175permission.Assert(); 202permission.Assert(); 274permission.Assert();
System.Configuration (6)
System\Configuration\ClientConfigPaths.cs (2)
353SerializationFormatterPermission.Assert(); 368ControlEvidencePermission.Assert();
System\Configuration\Internal\InternalConfigHost.cs (4)
164new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.PathDiscovery, streamName).Assert(); 207new FileIOPermission(PermissionState.Unrestricted).Assert(); 231new FileIOPermission(FileIOPermissionAccess.AllAccess, dir).Assert(); 295fileIOPerm.Assert();
System.Core (6)
System\IO\Pipes\PipeStream.cs (1)
159new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
System\Security\Cryptography\ECDiffieHellmanCng.cs (2)
95new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 357new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
System\Security\Cryptography\ECDsaCng.cs (3)
76new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 319new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 415new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
System.Data (7)
fx\src\data\System\Data\Common\AdapterUtil.cs (4)
2112(new FileIOPermission(FileIOPermissionAccess.Read, filename)).Assert(); 2124(new FileIOPermission(FileIOPermissionAccess.Read, filename)).Assert(); // MDAC 62038 2185(new RegistryPermission(RegistryPermissionAccess.Read, "HKEY_CLASSES_ROOT\\" + subkey)).Assert(); // MDAC 62028 2205(new RegistryPermission(RegistryPermissionAccess.Read, "HKEY_LOCAL_MACHINE\\" + subkey)).Assert(); // MDAC 62028
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (1)
138new System.Security.Permissions.ReflectionPermission(System.Security.Permissions.ReflectionPermissionFlag.MemberAccess).Assert();
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
784sp.Assert();
fx\src\data\System\Data\XMLSchema.cs (1)
29permission.Assert();
System.Data.SqlXml (1)
System\Xml\Xsl\XsltOld\Compiler.cs (1)
790new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Assert();
System.Drawing (23)
commonui\System\Drawing\Advanced\EncoderParameters.cs (1)
114IntSecurity.UnmanagedCode.Assert();
commonui\System\Drawing\Advanced\Font.cs (2)
561new System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode).Assert(); 887IntSecurity.ObjectFromWin32Handle.Assert();
commonui\System\Drawing\Icon.cs (2)
1013IntSecurity.ObjectFromWin32Handle.Assert(); 1071IntSecurity.ObjectFromWin32Handle.Assert();
commonui\System\Drawing\IntSecurity.cs (1)
50fiop.Assert();
commonui\System\Drawing\Printing\DefaultPrintController.cs (2)
156IntSecurity.UnmanagedCode.Assert(); 185IntSecurity.UnmanagedCode.Assert();
commonui\System\Drawing\Printing\PrintController.cs (2)
164IntSecurity.AllPrinting.Assert(); 308IntSecurity.UnmanagedCode.Assert();
commonui\System\Drawing\Printing\PrintDocument.cs (1)
137new ReflectionPermission(PermissionState.Unrestricted).Assert();
commonui\System\Drawing\Printing\PrinterSettings.cs (5)
239IntSecurity.UnmanagedCode.Assert(); 829IntSecurity.AllPrinting.Assert(); 833IntSecurity.UnmanagedCode.Assert(); 852IntSecurity.UnmanagedCode.Assert(); 907IntSecurity.UnmanagedCode.Assert();
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();
System.Messaging (3)
System\Messaging\AccessControlList.cs (1)
43environmentPermission.Assert();
System\Messaging\MessageQueue.cs (1)
4477permission.Assert();
System\Messaging\MessageQueueCriteria.cs (1)
157permission.Assert();
System.Security (3)
system\security\cryptography\x509\x509ui.cs (1)
101sp.Assert();
system\security\cryptography\x509\x509utils.cs (1)
190sp.Assert();
system\security\cryptography\xml\utils.cs (1)
878sp.Assert();
System.Web (9)
Compilation\BuildManager.cs (2)
3383new FileIOPermission(FileIOPermissionAccess.AllAccess, HttpRuntime.CodegenDirInternal).Assert(); 3394new FileIOPermission(FileIOPermissionAccess.AllAccess, HttpRuntime.CodegenDirInternal).Assert();
Configuration\HttpCapabilitiesSectionHandler.cs (1)
303fiop.Assert();
Configuration\serverconfig.cs (1)
81new RegistryPermission(RegistryPermissionAccess.Read, "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\InetStp").Assert();
FileChangesMonitor.cs (1)
1491new FileIOPermission(FileIOPermissionAccess.PathDiscovery, alias).Assert();
Hosting\HostingEnvironment.cs (1)
621new EnvironmentPermission(PermissionState.Unrestricted).Assert();
HttpInputStream.cs (1)
223new FileIOPermission(FileIOPermissionAccess.AllAccess, tempDir).Assert();
HttpRuntime.cs (1)
2282new EnvironmentPermission(PermissionState.Unrestricted).Assert();
UI\Util.cs (1)
508new FileIOPermission(FileIOPermissionAccess.Read, physicalDir).Assert();
System.Web.Mobile (1)
UI\MobileControls\Adapters\HtmlPageAdapter.cs (1)
120(new AspNetHostingPermission(AspNetHostingPermissionLevel.Low)).Assert();
System.Web.Services (1)
System\Web\Services\Protocols\ServerType.cs (1)
33new SecurityPermission(SecurityPermissionFlag.ControlEvidence).Assert();
System.Windows.Forms (238)
winforms\Managed\System\WinForms\AccessibleObject.cs (100)
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(); 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 (7)
205new RegistryPermission(PermissionState.Unrestricted).Assert(); 1047fiop.Assert(); 1198fiop.Assert(); 1413new FileIOPermission(PermissionState.Unrestricted).Assert(); 2606IntSecurity.ManipulateWndProcAndHandles.Assert(); 3251IntSecurity.ModifyFocus.Assert(); 3276new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
winforms\Managed\System\WinForms\ButtonBase.cs (2)
826IntSecurity.AllWindows.Assert(); 850IntSecurity.AllWindows.Assert();
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\ContainerControl.cs (4)
473IntSecurity.ModifyFocus.Assert (); 509IntSecurity.ModifyFocus.Assert (); 822IntSecurity.ModifyFocus.Assert(); 1913IntSecurity.ModifyFocus.Assert();
winforms\Managed\System\WinForms\Control.cs (34)
8775IntSecurity.UnmanagedCode.Assert(); 10175IntSecurity.ModifyFocus.Assert(); 13037IntSecurity.UnmanagedCode.Assert(); 13059IntSecurity.UnmanagedCode.Assert(); 13108IntSecurity.UnmanagedCode.Assert(); 13902IntSecurity.ModifyFocus.Assert(); 16378IntSecurity.ObjectFromWin32Handle.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(); 18953IntSecurity.ObjectFromWin32Handle.Assert(); 18990IntSecurity.UnmanagedCode.Assert(); 19000IntSecurity.ObjectFromWin32Handle.Assert(); 19437IntSecurity.UnmanagedCode.Assert(); 19465IntSecurity.UnmanagedCode.Assert(); 20272fiop.Assert(); 20282new FileIOPermission(FileIOPermissionAccess.Read, path).Assert();
winforms\Managed\System\WinForms\ControlPaint.cs (1)
2069IntSecurity.ObjectFromWin32Handle.Assert();
winforms\Managed\System\WinForms\Cursor.cs (3)
225IntSecurity.UnmanagedCode.Assert(); 267IntSecurity.ObjectFromWin32Handle.Assert(); 626new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
winforms\Managed\System\WinForms\DataGrid.cs (5)
5788IntSecurity.ObjectFromWin32Handle.Assert(); 8291IntSecurity.ModifyFocus.Assert(); 8318IntSecurity.ModifyFocus.Assert(); 8371IntSecurity.ModifyFocus.Assert(); 8426IntSecurity.ModifyFocus.Assert();
winforms\Managed\System\WinForms\DataGridView.cs (1)
2852IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
5448IntSecurity.ObjectFromWin32Handle.Assert(); 20671IntSecurity.ModifyFocus.Assert();
winforms\Managed\System\WinForms\DataGridViewToolTip.cs (1)
63IntSecurity.AllWindows.Assert();
winforms\Managed\System\WinForms\DataObject.cs (6)
1405IntSecurity.UnmanagedCode.Assert(); 1550IntSecurity.UnmanagedCode.Assert(); 1606IntSecurity.UnmanagedCode.Assert(); 1632IntSecurity.ObjectFromWin32Handle.Assert(); 2003IntSecurity.UnmanagedCode.Assert(); 2016IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\FileDialog.cs (1)
689new FileIOPermission(FileIOPermissionAccess.Read, IntSecurity.UnsafeGetFullPath(fileName)).Assert();
winforms\Managed\System\WinForms\FileDialog_Vista.cs (1)
43new EnvironmentPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\FontDialog.cs (2)
565IntSecurity.ObjectFromWin32Handle.Assert(); 689IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\Form.cs (4)
4263fiop.Assert(); 4315new EnvironmentPermission(PermissionState.Unrestricted).Assert(); 5004IntSecurity.AdjustCursorPosition.Assert(); 5760IntSecurity.ModifyFocus.Assert();
winforms\Managed\System\WinForms\GroupBox.cs (1)
723IntSecurity.ModifyFocus.Assert();
winforms\Managed\System\WinForms\Help.cs (2)
352new FileIOPermission(FileIOPermissionAccess.Read, localPath).Assert(); 386new FileIOPermission(FileIOPermissionAccess.Read, localPath).Assert();
winforms\Managed\System\WinForms\ImageList.cs (1)
712IntSecurity.ObjectFromWin32Handle.Assert();
winforms\Managed\System\WinForms\InputLanguage.cs (1)
187new RegistryPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\Label.cs (3)
1401IntSecurity.AllWindows.Assert(); 1428IntSecurity.AllWindows.Assert(); 1648IntSecurity.ModifyFocus.Assert();
winforms\Managed\System\WinForms\LinkLabel.cs (2)
910IntSecurity.ModifyFocus.Assert(); 2714IntSecurity.ObjectFromWin32Handle.Assert();
winforms\Managed\System\WinForms\LinkUtilities.cs (2)
39new RegistryPermission(PermissionState.Unrestricted).Assert(); 131new RegistryPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\ListBox.cs (1)
2277IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\ListView.cs (5)
2339fiop.Assert(); 2885fiop.Assert(); 2987fiop.Assert(); 5776IntSecurity.ObjectFromWin32Handle.Assert(); 6228IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\MaskedTextBox.cs (2)
3159IntSecurity.ClipboardRead.Assert(); 3178IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\MDIControlStrip.cs (1)
132IntSecurity.ObjectFromWin32Handle.Assert();
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (2)
148IntSecurity.AllWindows.Assert(); 181IntSecurity.ModifyFocus.Assert();
winforms\Managed\System\WinForms\MenuItem.cs (2)
1796IntSecurity.ModifyFocus.Assert(); 1836IntSecurity.AllWindows.Assert();
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
205new RegistryPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\NativeWindow.cs (4)
494new RegistryPermission(PermissionState.Unrestricted).Assert(); 639new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 867new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 1168new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();
winforms\Managed\System\WinForms\OpenFileDialog.cs (3)
158new FileIOPermission(FileIOPermissionAccess.Read, IntSecurity.UnsafeGetFullPath(filename)).Assert(); 260new FileIOPermission(PermissionState.Unrestricted).Assert(); 288new FileIOPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\RichTextBox.cs (1)
379new FileIOPermission(FileIOPermissionAccess.Read, path).Assert();
winforms\Managed\System\WinForms\SaveFileDialog.cs (1)
111new FileIOPermission(FileIOPermissionAccess.AllAccess, IntSecurity.UnsafeGetFullPath(filename)).Assert();
winforms\Managed\System\WinForms\SplitContainer.cs (1)
2178IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\Splitter.cs (1)
982IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\SystemInformation.cs (1)
393IntSecurity.ObjectFromWin32Handle.Assert();
winforms\Managed\System\WinForms\TabControl.cs (3)
1940IntSecurity.ModifyFocus.Assert(); 1972IntSecurity.ModifyFocus.Assert(); 2099IntSecurity.ModifyFocus.Assert();
winforms\Managed\System\WinForms\TextBox.cs (1)
846IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (2)
189new FileIOPermission(PermissionState.Unrestricted).Assert(); 258IntSecurity.GetParent.Assert();
winforms\Managed\System\WinForms\ToolStrip.cs (2)
4595IntSecurity.AllWindows.Assert(); 4624IntSecurity.AllWindows.Assert();
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (1)
270IntSecurity.ClipboardRead.Assert();
winforms\Managed\System\WinForms\ToolStripGrip.cs (1)
254IntSecurity.ModifyCursor.Assert();
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
841IntSecurity.ChangeWindowRegionForTopLevel.Assert(); 1141IntSecurity.AdjustCursorPosition.Assert();
winforms\Managed\System\WinForms\ToolTip.cs (2)
2448IntSecurity.ObjectFromWin32Handle.Assert(); 2618IntSecurity.ObjectFromWin32Handle.Assert();
winforms\Managed\System\WinForms\TreeView.cs (1)
3134IntSecurity.UnmanagedCode.Assert();
winforms\Managed\System\WinForms\TrustManager.cs (2)
253new RegistryPermission(PermissionState.Unrestricted).Assert(); 784new RegistryPermission(PermissionState.Unrestricted).Assert();
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (2)
723IntSecurity.AllWindows.Assert(); 743IntSecurity.AllWindows.Assert();
winforms\Managed\System\WinForms\UserControl.cs (1)
350IntSecurity.ModifyFocus.Assert();
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
696IntSecurity.ObjectFromWin32Handle.Assert();
winforms\Managed\System\WinForms\WinFormsSecurity.cs (1)
491fiop.Assert();
System.Workflow.Runtime (1)
PerformanceCounterManager.cs (1)
233new System.Security.Permissions.SecurityPermission(System.Security.Permissions.PermissionState.Unrestricted).Assert();
System.Xml (8)
System\Xml\Serialization\Compilation.cs (4)
245new EventLogPermission(PermissionState.Unrestricted).Assert(); 293FileIOPermission.Assert(); 454FileIOPermission.Assert(); 509FileIOPermission.Assert();
System\Xml\Serialization\Compiler.cs (2)
80TempAssembly.FileIOPermission.Assert(); 104TempAssembly.FileIOPermission.Assert();
System\Xml\Serialization\XmlSerializationWriter.cs (1)
3255UnrestrictedFileIOPermission.Assert();
System\Xml\Xslt\XslCompiledTransform.cs (1)
279new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).Assert();
WindowsBase (12)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
224permission.Assert();
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
949permission.Assert();
Base\System\Diagnostics\PresentationTraceSources.cs (1)
141new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert
Base\System\IO\Packaging\PackUriHelper.cs (1)
693permobj.Assert(); //BlessedAssert:
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
429new FileIOPermission(PermissionState.Unrestricted).Assert();
Shared\MS\Internal\Registry.cs (1)
50new RegistryPermission(RegistryPermissionAccess.Read, keyPath).Assert();
Shared\MS\Internal\SecurityHelper.cs (1)
1395new RegistryPermission(RegistryPermissionAccess.Read, baseRegistryKey.Name + @"\" + keyName).Assert();
Shared\MS\Utility\Trace.cs (1)
155new RegistryPermission(RegistryPermissionAccess.Read, regKey).Assert();
Shared\MS\Win32\HwndWrapper.cs (1)
169new UIPermission(UIPermissionWindow.AllWindows).Assert(); //BlessedAssert to call Dispose
Shared\MS\Win32\ManagedWndProcTracker.cs (1)
101new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); // BlessedAssert:
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (2)
579new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert(); 619new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Assert();