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