Implemented interface members:
method
Demand
System.Security.IStackWalk.Demand()
method
Demand
System.Security.IPermission.Demand()
823 references to Demand
mscorlib (132)
microsoft\win32\registrykey.cs (2)
2072
new RegistryPermission(access, path).
Demand
();
2079
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
system\appdomain.cs (1)
3437
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
system\appdomainmanager.cs (1)
68
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
system\AppDomainSetup.cs (1)
829
needFullPath: false).
Demand
();
system\cfgparser.cs (1)
274
(new FileIOPermission( FileIOPermissionAccess.Read, System.IO.Path.GetFullPathInternal( fileName ) )).
Demand
();
system\console.cs (19)
571
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
622
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
761
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
802
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
829
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
890
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
1039
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
1099
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
1213
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
1283
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
1325
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
1357
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
1411
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
1643
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
1807
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
1824
new UIPermission(UIPermissionWindow.SafeTopLevelWindows).
Demand
();
1911
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
1932
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
1955
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
system\delegateserializationholder.cs (2)
32
new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).
Demand
();
248
new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).
Demand
();
system\diagnostics\debugger.cs (3)
77
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
101
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
133
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
system\diagnostics\stackframe.cs (2)
219
perm.
Demand
();
297
perm.
Demand
();
system\environment.cs (18)
362
new EnvironmentPermission(EnvironmentPermissionAccess.Read, "Path").
Demand
();
519
new EnvironmentPermission(EnvironmentPermissionAccess.Read, vars.ToString()).
Demand
();
546
new EnvironmentPermission(EnvironmentPermissionAccess.Read, "COMPUTERNAME").
Demand
();
570
(new EnvironmentPermission(PermissionState.Unrestricted)).
Demand
();
587
new EnvironmentPermission(EnvironmentPermissionAccess.Read, "Path").
Demand
();
628
(new EnvironmentPermission(EnvironmentPermissionAccess.Read, variable)).
Demand
();
667
(new EnvironmentPermission(PermissionState.Unrestricted)).
Demand
();
837
new EnvironmentPermission(EnvironmentPermissionAccess.Read, vars.ToString()).
Demand
();
865
(new EnvironmentPermission(PermissionState.Unrestricted)).
Demand
();
895
new EnvironmentPermission(PermissionState.Unrestricted).
Demand
();
975
new EnvironmentPermission(PermissionState.Unrestricted).
Demand
();
1035
new EnvironmentPermission(PermissionState.Unrestricted).
Demand
();
1107
new EnvironmentPermission(PermissionState.Unrestricted).
Demand
();
1235
new EnvironmentPermission(PermissionState.Unrestricted).
Demand
();
1395
new EnvironmentPermission(EnvironmentPermissionAccess.Read,"UserName").
Demand
();
1501
createPermission.
Demand
();
1551
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, s).
Demand
();
1563
new EnvironmentPermission(EnvironmentPermissionAccess.Read,"UserDomain").
Demand
();
system\io\directory.cs (2)
1019
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
1186
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
system\io\driveinfo.cs (3)
87
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, demandPath).
Demand
();
98
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, demandPath).
Demand
();
263
new FileIOPermission(FileIOPermissionAccess.Write, demandPath).
Demand
();
system\io\file.cs (1)
1337
perm.
Demand
();
system\io\filesystemenumerable.cs (4)
238
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, demandPaths, false, false).
Demand
();
348
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, demandPaths, false, false).
Demand
();
700
new FileIOPermission(FileIOPermissionAccess.Read, new string[] { fullPath }, false, false).
Demand
();
729
new FileIOPermission(FileIOPermissionAccess.Read, new string[] { fullPath + "\\." }, false, false).
Demand
();
system\io\isolatedstorage\isolatedstorage.cs (1)
1154
ip.
Demand
();
system\io\isolatedstorage\isolatedstoragefile.cs (3)
1179
permission.
Demand
();
2349
s_PermAdminUser.
Demand
();
2449
new FileIOPermission(FileIOPermissionAccess.Read, demandPath, false, false).
Demand
();
system\io\path.cs (1)
1063
new EnvironmentPermission(PermissionState.Unrestricted).
Demand
();
system\io\unmanagedmemorystream.cs (2)
168
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
247
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
system\reflection\assembly.cs (8)
587
new FileIOPermission(FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read, path).
Demand
();
609
new FileIOPermission(FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read, path).
Demand
();
1840
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
1859
new FileIOPermission( FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read , urlString.GetFileName() ).
Demand
();
2019
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
2385
new FileIOPermission( FileIOPermissionAccess.PathDiscovery, location ).
Demand
();
2606
new FileIOPermission( FileIOPermissionAccess.PathDiscovery, urlString.GetFileName() ).
Demand
();
2803
new FileIOPermission(access, codeBase).
Demand
();
system\reflection\assemblyname.cs (1)
212
new FileIOPermission( FileIOPermissionAccess.PathDiscovery, fullPath ).
Demand
();
system\reflection\ConstructorInfo.cs (2)
626
new SecurityPermission(SecurityPermissionFlag.SkipVerification).
Demand
();
734
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
system\reflection\emit\assemblybuilder.cs (6)
353
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
717
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
1541
new FileIOPermission(FileIOPermissionAccess.Read, strFullFileName).
Demand
();
1847
new FileIOPermission(FileIOPermissionAccess.Write | FileIOPermissionAccess.Append, assemblyFileName).
Demand
();
1951
new FileIOPermission(FileIOPermissionAccess.Write | FileIOPermissionAccess.Append, strModFileName).
Demand
();
2041
new FileIOPermission(FileIOPermissionAccess.Write | FileIOPermissionAccess.Append, tempRes.m_strFullFileName).
Demand
();
system\reflection\emit\dynamicmethod.cs (4)
465
new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).
Demand
();
502
new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).
Demand
();
507
new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).
Demand
();
794
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
system\reflection\emit\modulebuilder.cs (2)
1005
new FileIOPermission( FileIOPermissionAccess.PathDiscovery, fullyQualifiedName ).
Demand
();
1442
new FileIOPermission(FileIOPermissionAccess.Read, strFullFileName).
Demand
();
system\reflection\module.cs (1)
1107
new FileIOPermission( FileIOPermissionAccess.PathDiscovery, fullyQualifiedName ).
Demand
();
system\rttype.cs (1)
5305
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
system\runtime\interopservices\runtimeenvironment.cs (2)
101
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, dir).
Demand
();
122
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, path).
Demand
();
system\security\accesscontrol\registrysecurity.cs (2)
155
new RegistryPermission(RegistryPermissionAccess.NoAccess, AccessControlActions.View, name).
Demand
();
240
new RegistryPermission(RegistryPermissionAccess.NoAccess, AccessControlActions.Change, keyName).
Demand
();
system\security\accesscontrol\win32.cs (2)
95
new SecurityPermission( SecurityPermissionFlag.UnmanagedCode ).
Demand
();
261
new SecurityPermission( SecurityPermissionFlag.UnmanagedCode ).
Demand
();
system\security\cryptography\dsacryptoserviceprovider.cs (4)
181
kp.
Demand
();
198
kp.
Demand
();
229
kp.
Demand
();
318
kp.
Demand
();
system\security\cryptography\icspasymmetricalgorithm.cs (2)
36
kp.
Demand
();
192
kp.
Demand
();
system\security\cryptography\rsacryptoserviceprovider.cs (5)
233
kp.
Demand
();
252
kp.
Demand
();
292
kp.
Demand
();
360
kp.
Demand
();
434
kp.
Demand
();
system\security\cryptography\utils.cs (6)
219
kp.
Demand
();
228
kp.
Demand
();
341
kp.
Demand
();
361
kp.
Demand
();
432
kp.
Demand
();
490
uiPermission.
Demand
();
system\security\cryptography\x509certificates\x509certificate.cs (4)
752
kp.
Demand
();
794
kp.
Demand
();
828
new FileIOPermission (FileIOPermissionAccess.Read, fullPath).
Demand
();
834
kp.
Demand
();
system\security\permissions\fileiopermission.cs (5)
1009
new FileIOPermission(access, new string[] { fullPath }, checkForDuplicates, needFullPath).
Demand
();
1032
new FileIOPermission(access, fullPathList, checkForDuplicates, needFullPath).
Demand
();
1048
new FileIOPermission(state).
Demand
();
1058
new FileIOPermission(access, control, new string[] { fullPath }, checkForDuplicates, needFullPath).
Demand
();
1071
new FileIOPermission(access, control, fullPathList, checkForDuplicates, needFullPath).
Demand
();
system\security\policy\evidence.cs (6)
365
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
481
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
597
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
812
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
1433
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
1463
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
system\security\securityexception.cs (1)
619
new SecurityPermission(SecurityPermissionFlag.ControlEvidence | SecurityPermissionFlag.ControlPolicy).
Demand
();
system\security\securitymanager.cs (1)
185
perm.
Demand
();
PresentationCore (27)
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (1)
231
(new SecurityPermission(SecurityPermissionFlag.UnmanagedCode)).
Demand
();
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (4)
1082
(new FileIOPermission(FileIOPermissionAccess.Read, toOpen)).
Demand
();
1100
(new FileIOPermission(FileIOPermissionAccess.Read, toOpen)).
Demand
();
1117
(new WebPermission(NetworkAccess.Connect, toOpen)).
Demand
();
1122
(new WebPermission(NetworkAccess.Connect, toOpen)).
Demand
();
Shared\MS\Internal\SecurityHelper.cs (22)
115
_unmanagedCodePermission.
Demand
();
151
CreateUserInitiatedRoutedEventPermission().
Demand
();
452
(new FileIOPermission(FileIOPermissionAccess.Read, uri.LocalPath)).
Demand
();
456
(new WebPermission(NetworkAccess.Connect, BindUriHelper.UriToString(uri))).
Demand
();
493
(new FileIOPermission(FileIOPermissionAccess.Read, contentUri.LocalPath)).
Demand
();
548
permobj.
Demand
();
614
_serializationSecurityPermission.
Demand
();
660
_uiPermissionAllClipboard.
Demand
();
670
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, path).
Demand
();
702
_unrestrictedEnvironmentPermission.
Demand
();
714
permission.
Demand
();
769
permission.
Demand
();
983
_unrestrictedRegistryPermission.
Demand
();
999
_allWindowsUIPermission.
Demand
();
1014
_infrastructurePermission.
Demand
();
1033
imagePermissionToDemand )).
Demand
();
1056
(new MediaPermission(audioPermissionToDemand,videoPermissionToDemand,imagePermissionToDemand)).
Demand
();
1080
_unrestrictedUIPermission.
Demand
();
1111
new FileIOPermission(FileIOPermissionAccess.Read, fileName).
Demand
();
1247
casPermission.
Demand
();
1341
(new FileIOPermission(FileIOPermissionAccess.Read, toOpen)).
Demand
();
1346
new WebPermission(NetworkAccess.Connect, finalUri).
Demand
();
PresentationFramework (25)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
848
new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).
Demand
();
src\Framework\MS\Internal\DataStreams.cs (1)
295
new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).
Demand
(); // prevent any journal metadata de-serialization in partial trust
src\Framework\System\Windows\Controls\WebBrowser.cs (2)
175
(new WebBrowserPermission(WebBrowserPermissionLevel.Safe)).
Demand
();
1222
(new System.Net.WebPermission(PermissionState.Unrestricted)).
Demand
();
src\Framework\System\Windows\DeferrableContent.cs (1)
64
loadPermission.
Demand
();
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
883
(new System.Net.WebPermission(PermissionState.Unrestricted)).
Demand
();
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (1)
1108
fileIOPermission.
Demand
();
src\Framework\System\Windows\Documents\RubberbandSelector.cs (2)
190
(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter | SecurityPermissionFlag.UnmanagedCode)).
Demand
();
192
mediaAccessPermission.
Demand
();
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (2)
355
new UIPermission(UIPermissionClipboard.OwnClipboard).
Demand
();
426
new UIPermission(UIPermissionClipboard.OwnClipboard).
Demand
();
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (4)
248
new FileIOPermission(FileIOPermissionAccess.AllAccess, filePath).
Demand
();
500
new FileIOPermission(FileIOPermissionAccess.Read, lexiconFilePath).
Demand
();
609
new FileIOPermission(FileIOPermissionAccess.AllAccess, filePath).
Demand
();
702
new FileIOPermission(FileIOPermissionAccess.Read, sourcePath).
Demand
();
src\Framework\System\Windows\Interop\BrowserInteropHelper.cs (1)
399
(new WebBrowserPermission(WebBrowserPermissionLevel.Safe)).
Demand
();
src\Framework\System\Windows\TemplateContent.cs (1)
209
loadPermission.
Demand
();
src\Shared\MS\Internal\SecurityHelper.cs (8)
115
_unmanagedCodePermission.
Demand
();
186
CachedWebBrowserPermission.
Demand
();
288
_defaultPrintingPermission.
Demand
();
309
_reflectionPermission.
Demand
();
999
_allWindowsUIPermission.
Demand
();
1080
_unrestrictedUIPermission.
Demand
();
1143
_unrestrictedFileIOPermission.
Demand
();
1157
_fileDialogOpenPermission.
Demand
();
System (197)
compmod\microsoft\csharp\csharpcodeprovider.cs (6)
3374
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
3652
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
3674
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
3696
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
3719
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
3795
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2805
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
compmod\microsoft\win32\SystemEvents.cs (1)
1272
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, executablePath).
Demand
();
compmod\system\codedom\compiler\CodeCompiler.cs (6)
180
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
202
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
224
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
247
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
323
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
487
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
compmod\system\codedom\compiler\Executor.cs (1)
139
IntSecurity.UnmanagedCode.
Demand
();
compmod\system\codedom\compiler\TempFiles.cs (1)
217
new FileIOPermission(FileIOPermissionAccess.AllAccess, full).
Demand
();
compmod\system\componentmodel\Win32Exception.cs (1)
78
IntSecurity.UnmanagedCode.
Demand
();
compmod\system\diagnostics\DefaultTraceListener.cs (1)
220
new UIPermission(UIPermissionWindow.SafeSubWindows).
Demand
();
compmod\system\diagnostics\ListenerElementsCollection.cs (1)
52
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
compmod\system\diagnostics\Trace.cs (2)
34
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
116
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
compmod\system\diagnostics\TraceEventCache.cs (2)
34
new EnvironmentPermission(PermissionState.Unrestricted).
Demand
();
80
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
misc\SecurityUtils.cs (1)
64
MemberAccessPermission.
Demand
();
net\System\Net\_SecureChannel.cs (1)
344
ExceptionHelper.KeyContainerPermissionOpen.
Demand
();
net\System\Net\_SpnDictionary.cs (9)
46
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
109
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
117
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
124
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
139
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
149
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
160
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
172
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
198
new WebPermission(NetworkAccess.Connect, new Uri(key)).
Demand
();
net\System\Net\AuthenticationManager.cs (4)
142
ExceptionHelper.ControlPolicyPermission.
Demand
();
206
ExceptionHelper.UnmanagedPermission.
Demand
();
215
ExceptionHelper.UnmanagedPermission.
Demand
();
224
ExceptionHelper.UnmanagedPermission.
Demand
();
net\System\Net\Configuration\AuthenticationModulesSection.cs (1)
30
ExceptionHelper.UnmanagedPermission.
Demand
();
net\System\Net\Configuration\DefaultProxySection.cs (1)
40
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
net\System\Net\Configuration\HttpWebRequestElement.cs (1)
40
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
net\System\Net\Configuration\RequestCachingSection.cs (1)
94
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
net\System\Net\Configuration\ServicePointManagerElement.cs (1)
44
ExceptionHelper.UnmanagedPermission.
Demand
();
net\System\Net\Configuration\SmtpNetworkElement.cs (1)
43
(new SmtpPermission(SmtpAccess.ConnectToUnrestrictedPort)).
Demand
();
net\System\Net\Configuration\SocketElement.cs (1)
32
ExceptionHelper.UnrestrictedSocketPermission.
Demand
();
net\System\Net\Configuration\WebProxyScriptElement.cs (1)
33
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
net\System\Net\Configuration\WebRequestModulesSection.cs (1)
30
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
net\System\Net\CredentialCache.cs (2)
305
new EnvironmentPermission(EnvironmentPermissionAccess.Read, "USERNAME").
Demand
();
314
new EnvironmentPermission(EnvironmentPermissionAccess.Read, "USERNAME").
Demand
();
net\System\Net\DNS.cs (10)
191
s_DnsPermission.
Demand
();
299
s_DnsPermission.
Demand
();
333
s_DnsPermission.
Demand
();
448
s_DnsPermission.
Demand
();
502
s_DnsPermission.
Demand
();
703
s_DnsPermission.
Demand
();
758
s_DnsPermission.
Demand
();
861
s_DnsPermission.
Demand
();
895
s_DnsPermission.
Demand
();
918
s_DnsPermission.
Demand
();
net\System\Net\FtpWebRequest.cs (4)
272
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
449
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
453
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
517
(new WebPermission(NetworkAccess.Connect, uri)).
Demand
();
net\System\Net\HttpListener.cs (3)
403
new SecurityPermission(SecurityPermissionFlag.ControlPrincipal).
Demand
();
443
new SecurityPermission(SecurityPermissionFlag.ControlPrincipal).
Demand
();
631
(new WebPermission(NetworkAccess.Accept, uriPrefix)).
Demand
();
net\System\Net\HttpListenerContext.cs (1)
78
new SecurityPermission(SecurityPermissionFlag.ControlPrincipal).
Demand
();
net\System\Net\HttpWebRequest.cs (9)
595
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
714
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
746
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
762
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
2691
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
2701
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
5267
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
5498
ExceptionHelper.InfrastructurePermission.
Demand
();
5949
permission.
Demand
();
net\System\Net\Internal.cs (1)
145
((CodeAccessPermission) state).
Demand
();
net\System\Net\IntranetCredentialPolicy.cs (1)
70
ExceptionHelper.ControlPolicyPermission.
Demand
();
net\System\Net\mail\SmtpClient.cs (3)
107
new SmtpPermission(SmtpAccess.Connect).
Demand
();
110
new SmtpPermission(SmtpAccess.ConnectToUnrestrictedPort).
Demand
();
247
new SmtpPermission(SmtpAccess.ConnectToUnrestrictedPort).
Demand
();
net\System\Net\NetworkCredential.cs (4)
108
m_environmentUserNamePermission.
Demand
();
127
ExceptionHelper.UnmanagedPermission.
Demand
();
154
ExceptionHelper.UnmanagedPermission.
Demand
();
175
m_environmentDomainNamePermission.
Demand
();
net\System\Net\NetworkInformation\IPGlobalProperties.cs (1)
16
(new NetworkInformationPermission(NetworkInformationAccess.Read)).
Demand
();
net\System\Net\NetworkInformation\NetworkInterface.cs (1)
11
(new NetworkInformationPermission(NetworkInformationAccess.Read)).
Demand
();
net\System\Net\NetworkInformation\ping.cs (3)
345
(new NetworkInformationPermission(NetworkInformationAccess.Ping)).
Demand
();
478
(new NetworkInformationPermission(NetworkInformationAccess.Ping)).
Demand
();
610
(new NetworkInformationPermission(NetworkInformationAccess.Ping)).
Demand
();
net\System\Net\SecureProtocols\_NegoState.cs (1)
213
ExceptionHelper.ControlPrincipalPermission.
Demand
();
net\System\Net\SecureProtocols\NegotiateStream.cs (1)
417
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
net\System\Net\ServicePoint.cs (2)
99
ExceptionHelper.InfrastructurePermission.
Demand
();
467
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
net\System\Net\ServicePointManager.cs (6)
400
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
416
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
437
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
528
ExceptionHelper.UnmanagedPermission.
Demand
();
556
ExceptionHelper.InfrastructurePermission.
Demand
();
602
ExceptionHelper.UnmanagedPermission.
Demand
();
net\System\Net\Sockets\Socket.cs (9)
174
ExceptionHelper.UnrestrictedSocketPermission.
Demand
();
489
ExceptionHelper.UnmanagedPermission.
Demand
();
888
socketPermission.
Demand
();
902
ExceptionHelper.UnmanagedPermission.
Demand
();
2192
ExceptionHelper.UnmanagedPermission.
Demand
();
2800
ExceptionHelper.UnrestrictedSocketPermission.
Demand
();
5853
ExceptionHelper.UnmanagedPermission.
Demand
();
5934
socketPermission.
Demand
();
5943
ExceptionHelper.UnmanagedPermission.
Demand
();
net\System\Net\webclient.cs (2)
241
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
249
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
net\System\Net\webproxy.cs (2)
417
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
438
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
net\System\Net\WebRequest.cs (5)
364
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
592
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
1075
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
1081
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
1091
ExceptionHelper.WebPermissionUnrestricted.
Demand
();
net\System\UriScheme.cs (1)
169
ExceptionHelper.InfrastructurePermission.
Demand
();
security\system\security\cryptography\cryptoapi.cs (15)
3019
kp.
Demand
();
3422
sp.
Demand
();
3453
sp.
Demand
();
3503
new FileIOPermission(FileIOPermissionAccess.Read, fullPath).
Demand
();
3568
new FileIOPermission(FileIOPermissionAccess.Read, fullPath).
Demand
();
3633
kp.
Demand
();
3707
sp.
Demand
();
3742
sp.
Demand
();
3769
sp.
Demand
();
3804
sp.
Demand
();
3807
sp.
Demand
();
3812
sp.
Demand
();
3817
sp.
Demand
();
3878
kp.
Demand
();
3907
sp.
Demand
();
security\system\security\cryptography\x509\x509certificate2.cs (1)
1171
new FileIOPermission (FileIOPermissionAccess.Read, fullPath).
Demand
();
security\system\security\cryptography\x509\x509chain.cs (1)
188
sp.
Demand
();
services\io\system\io\FileSystemWatcher.cs (1)
968
permission.
Demand
();
services\io\system\io\RenamedEventArgs.cs (1)
51
new FileIOPermission(FileIOPermissionAccess.Read, Path.GetPathRoot(oldFullPath)).
Demand
();
services\monitoring\system\diagnosticts\EventLog.cs (7)
413
permission.
Demand
();
600
permission.
Demand
();
696
permission.
Demand
();
804
permission.
Demand
();
979
permission.
Demand
();
1114
permission.
Demand
();
1126
permission.
Demand
();
services\monitoring\system\diagnosticts\EventLogInternal.cs (26)
175
permission.
Demand
();
197
permission.
Demand
();
263
permission.
Demand
();
312
permission.
Demand
();
326
permission.
Demand
();
343
permission.
Demand
();
356
permission.
Demand
();
374
permission.
Demand
();
405
permission.
Demand
();
429
permission.
Demand
();
450
permission.
Demand
();
458
permission.
Demand
();
511
permission.
Demand
();
540
permission.
Demand
();
588
permission.
Demand
();
596
permission.
Demand
();
608
permission.
Demand
();
628
permission.
Demand
();
659
permission.
Demand
();
814
permission.
Demand
();
1245
permission.
Demand
();
1278
permission.
Demand
();
1351
permission.
Demand
();
1549
permission.
Demand
();
1628
permission.
Demand
();
1656
permission.
Demand
();
services\monitoring\system\diagnosticts\FileVersionInfo.cs (2)
118
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, fileName).
Demand
();
455
new FileIOPermission(FileIOPermissionAccess.Read, fullPath).
Demand
();
services\monitoring\system\diagnosticts\PerformanceCounter.cs (6)
178
permission.
Demand
();
229
permission.
Demand
();
391
permission.
Demand
();
494
permission.
Demand
();
514
permission.
Demand
();
557
permission.
Demand
();
services\monitoring\system\diagnosticts\PerformanceCounterCategory.cs (9)
66
permission.
Demand
();
91
permission.
Demand
();
148
permission.
Demand
();
193
permission.
Demand
();
242
permission.
Demand
();
387
permission.
Demand
();
435
permission.
Demand
();
449
permission.
Demand
();
509
permission.
Demand
();
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
748
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
sys\system\configuration\ClientSettingsStore.cs (1)
497
storagePerm.
Demand
();
sys\system\io\ports\SerialPort.cs (1)
832
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
sys\system\Media\SoundPlayer.cs (6)
125
fiop.
Demand
();
267
perm.
Demand
();
271
System.Media.SoundPlayer.IntSecurity.SafeSubWindows.
Demand
();
286
System.Media.SoundPlayer.IntSecurity.SafeSubWindows.
Demand
();
317
webPerm.
Demand
();
456
IntSecurity.SafeSubWindows.
Demand
();
System.AddIn (10)
System\Addin\Hosting\AddInStore.cs (9)
86
new FileIOPermission(FileIOPermissionAccess.Read, pipelineRootFolderPath).
Demand
();
162
new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.Write, addInsFolderPath).
Demand
();
197
new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.Write, addInsFolderPath).
Demand
();
387
new FileIOPermission(FileIOPermissionAccess.Read | FileIOPermissionAccess.Write, pipelineRootFolderPath).
Demand
();
491
new FileIOPermission(FileIOPermissionAccess.Read, pipelineRootFolderPath).
Demand
();
596
new FileIOPermission(FileIOPermissionAccess.Read, pipelineRootFolderPath).
Demand
();
669
new FileIOPermission(FileIOPermissionAccess.Read, fullPath).
Demand
();
994
permission.
Demand
();
1070
new SecurityPermission(SecurityPermissionFlag.SerializationFormatter).
Demand
();
System\Addin\Pipeline\ContractAdapter.cs (1)
76
new FileIOPermission(FileIOPermissionAccess.Read, pipelineRoot).
Demand
();
System.Configuration (6)
System\Configuration\BaseConfigurationRecord.cs (1)
1771
UnrestrictedConfigPermission.
Demand
();
System\Configuration\ConfigurationFileMap.cs (1)
49
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, filename).
Demand
();
System\Configuration\MgmtConfigurationRecord.cs (1)
1127
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, filepath).
Demand
();
System\Configuration\PropertySourceInfo.cs (1)
39
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, filename).
Demand
();
System\Configuration\TypeUtil.cs (2)
276
s_memberAccessPermission.
Demand
();
284
s_aspNetHostingPermission.
Demand
();
System.Core (54)
System\Diagnostics\Eventing\Reader\EventLogConfiguration.cs (2)
75
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
255
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
System\Diagnostics\Eventing\Reader\EventLogException.cs (1)
76
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
System\Diagnostics\Eventing\Reader\EventLogInformation.cs (1)
42
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
System\Diagnostics\Eventing\Reader\EventLogPropertySelector.cs (2)
41
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
78
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
System\Diagnostics\Eventing\Reader\EventLogReader.cs (6)
113
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
174
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
203
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
256
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
266
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
327
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
System\Diagnostics\Eventing\Reader\EventLogRecord.cs (3)
253
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
362
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
373
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
System\Diagnostics\Eventing\Reader\EventLogSession.cs (7)
74
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
89
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
103
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
116
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
164
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
192
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
214
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
System\Diagnostics\Eventing\Reader\EventLogWatcher.cs (3)
105
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
169
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
214
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (14)
139
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
253
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
284
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
303
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
322
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
410
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
467
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
634
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
669
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
825
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
923
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
959
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
1010
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
1104
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (6)
75
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
152
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
169
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
288
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
491
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
554
EventLogPermissionHolder.GetEventLogPermission().
Demand
();
System\IO\__Error.cs (1)
109
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, new String[] { path }).
Demand
();
System\IO\LogStream.cs (2)
123
new FileIOPermission(secAccess, new String[] { filePath }).
Demand
();
146
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, new String[] { _fileName }).
Demand
();
System\Security\Cryptography\CngKey.cs (5)
432
permission.
Demand
();
469
permission.
Demand
();
593
new KeyContainerPermission(KeyContainerPermissionFlags.Import).
Demand
();
628
permission.
Demand
();
710
permission.
Demand
();
System\Security\Cryptography\ECDsaCng.cs (1)
314
permission.
Demand
();
System.Data (9)
fx\src\data\System\Data\Odbc\OdbcConnection.cs (1)
528
(new OdbcPermission(PermissionState.Unrestricted)).
Demand
();
fx\src\data\System\Data\OleDb\OleDbConnection.cs (1)
630
(new OleDbPermission(PermissionState.Unrestricted)).
Demand
();
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (3)
240
CONNECTIONOBJECTNAME.ExecutePermission.
Demand
();
295
CONNECTIONOBJECTNAME.ExecutePermission.
Demand
();
382
CONNECTIONOBJECTNAME.ExecutePermission.
Demand
();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
1035
(new SqlClientPermission(PermissionState.Unrestricted)).
Demand
();
1789
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
(); // MDAC 66682, 69017
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (2)
542
filePerm.
Demand
();
566
filePerm.
Demand
();
System.Data.Entity (3)
System\Data\Common\Internal\Materialization\Translator.cs (1)
298
LightweightCodeGenerator.MemberAccessReflectionPermission.
Demand
();
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (1)
574
MemberAccessReflectionPermission.
Demand
();
System\Data\Metadata\MetadataCache.cs (1)
590
_filePermissions.
Demand
();
System.Data.Linq (1)
parent\parent\misc\SecurityUtils.cs (1)
64
MemberAccessPermission.
Demand
();
System.Drawing (58)
commonui\System\Drawing\Advanced\EncoderParameter.cs (2)
453
IntSecurity.UnmanagedCode.
Demand
();
497
IntSecurity.UnmanagedCode.
Demand
();
commonui\System\Drawing\Advanced\Font.cs (4)
404
IntSecurity.ObjectFromWin32Handle.
Demand
();
448
IntSecurity.ObjectFromWin32Handle.
Demand
();
487
IntSecurity.ObjectFromWin32Handle.
Demand
();
824
IntSecurity.ObjectFromWin32Handle.
Demand
();
commonui\System\Drawing\Advanced\ImageCodecInfo.cs (2)
71
new System.Security.Permissions.FileIOPermission(System.Security.Permissions.FileIOPermissionAccess.PathDiscovery, dllName).
Demand
();
80
new System.Security.Permissions.FileIOPermission(System.Security.Permissions.FileIOPermissionAccess.PathDiscovery, value).
Demand
();
commonui\System\Drawing\Advanced\Metafile.cs (13)
64
IntSecurity.ObjectFromWin32Handle.
Demand
();
90
IntSecurity.ObjectFromWin32Handle.
Demand
();
168
IntSecurity.ObjectFromWin32Handle.
Demand
();
232
IntSecurity.ObjectFromWin32Handle.
Demand
();
296
IntSecurity.ObjectFromWin32Handle.
Demand
();
359
IntSecurity.ObjectFromWin32Handle.
Demand
();
436
IntSecurity.ObjectFromWin32Handle.
Demand
();
517
IntSecurity.ObjectFromWin32Handle.
Demand
();
583
IntSecurity.ObjectFromWin32Handle.
Demand
();
649
IntSecurity.ObjectFromWin32Handle.
Demand
();
717
IntSecurity.ObjectFromWin32Handle.
Demand
();
767
IntSecurity.ObjectFromWin32Handle.
Demand
();
791
IntSecurity.ObjectFromWin32Handle.
Demand
();
commonui\System\Drawing\Advanced\PrivateFontCollection.cs (1)
123
IntSecurity.ObjectFromWin32Handle.
Demand
();
commonui\System\Drawing\Bitmap.cs (3)
240
IntSecurity.ObjectFromWin32Handle.
Demand
();
354
IntSecurity.ObjectFromWin32Handle.
Demand
();
373
IntSecurity.ObjectFromWin32Handle.
Demand
();
commonui\System\Drawing\Brush.cs (1)
51
IntSecurity.UnmanagedCode.
Demand
();
commonui\System\Drawing\BufferedGraphics.cs (1)
146
IntSecurity.UnmanagedCode.
Demand
();
commonui\System\Drawing\Design\ToolboxItem.cs (1)
937
IntSecurity.UnmanagedCode.
Demand
();
commonui\System\Drawing\Graphics.cs (5)
133
IntSecurity.ObjectFromWin32Handle.
Demand
();
172
IntSecurity.ObjectFromWin32Handle.
Demand
();
196
IntSecurity.ObjectFromWin32Handle.
Demand
();
307
IntSecurity.Win32HandleManipulation.
Demand
();
915
(new System.Security.Permissions.UIPermission(System.Security.Permissions.UIPermissionWindow.AllWindows)).
Demand
();
commonui\System\Drawing\Icon.cs (2)
284
IntSecurity.ObjectFromWin32Handle.
Demand
();
560
IntSecurity.ObjectFromWin32Handle.
Demand
();
commonui\System\Drawing\Image.cs (3)
251
IntSecurity.UnmanagedCode.
Demand
();
1322
IntSecurity.ObjectFromWin32Handle.
Demand
();
1337
IntSecurity.ObjectFromWin32Handle.
Demand
();
commonui\System\Drawing\IntSecurity.cs (3)
30
new FileIOPermission(FileIOPermissionAccess.Read, full).
Demand
();
40
new FileIOPermission(FileIOPermissionAccess.Write, full).
Demand
();
76
permission.
Demand
();
commonui\System\Drawing\Printing\DefaultPrintController.cs (3)
31
IntSecurity.SafePrinting.
Demand
();
34
IntSecurity.DefaultPrinting.
Demand
();
37
IntSecurity.AllPrinting.
Demand
();
commonui\System\Drawing\Printing\InvalidPrinterException.cs (1)
55
IntSecurity.AllPrinting.
Demand
();
commonui\System\Drawing\Printing\PreviewPrintController.cs (1)
35
IntSecurity.SafePrinting.
Demand
();
commonui\System\Drawing\Printing\PrintController.cs (2)
90
IntSecurity.SafePrinting.
Demand
();
111
IntSecurity.SafePrinting.
Demand
();
commonui\System\Drawing\Printing\PrintDocument.cs (3)
133
IntSecurity.SafePrinting.
Demand
();
174
IntSecurity.SafePrinting.
Demand
();
333
IntSecurity.AllPrinting.
Demand
();
commonui\System\Drawing\Printing\PrinterSettings.cs (5)
109
IntSecurity.SafePrinting.
Demand
();
212
IntSecurity.AllPrinting.
Demand
();
438
IntSecurity.AllPrinting.
Demand
();
480
IntSecurity.AllPrinting.
Demand
();
485
IntSecurity.AllPrinting.
Demand
();
commonui\System\Drawing\Region.cs (2)
156
IntSecurity.ObjectFromWin32Handle.
Demand
();
344
IntSecurity.ObjectFromWin32Handle.
Demand
();
System.Management (7)
Instrumentation\Instrumentation.cs (4)
313
SecurityHelper.UnmanagedCode.
Demand
(); // Bug#112640 - Close off any potential use from anything but fully trusted code
374
SecurityHelper.UnmanagedCode.
Demand
(); // Bug#112640 - Close off any potential use from anything but fully trusted code
386
SecurityHelper.UnmanagedCode.
Demand
(); // Bug#112640 - Close off any potential use from anything but fully trusted code
404
SecurityHelper.UnmanagedCode.
Demand
(); // Bug#112640 - Close off any potential use from anything but fully trusted code
Instrumentation\ManagementInstaller.cs (1)
84
ioPermission.
Demand
();
Instrumentation\SchemaRegistration.cs (2)
280
SecurityHelper.UnmanagedCode.
Demand
(); // Bug#112640 - Close off any potential use from anything but fully trusted code
327
SecurityHelper.UnmanagedCode.
Demand
(); // Bug#112640 - Close off any potential use from anything but fully trusted code
System.Messaging (28)
System\Messaging\MessageQueue.cs (27)
371
permission.
Demand
();
395
permission.
Demand
();
1216
permission.
Demand
();
1275
permission.
Demand
();
1336
permission.
Demand
();
1359
permission.
Demand
();
1388
permission.
Demand
();
1665
permission.
Demand
();
1739
permission.
Demand
();
1819
permission.
Demand
();
1850
permission.
Demand
();
1905
permission.
Demand
();
1989
permission.
Demand
();
2008
permission.
Demand
();
2029
permission.
Demand
();
2129
permission.
Demand
();
2377
permission.
Demand
();
2520
permission.
Demand
();
2530
permission.
Demand
();
2933
permission.
Demand
();
2946
permission.
Demand
();
3027
permission.
Demand
();
3037
permission.
Demand
();
3120
permission.
Demand
();
3253
permission.
Demand
();
3387
permission.
Demand
();
3452
permission.
Demand
();
System\Messaging\MessageQueueEnumerator.cs (1)
144
permission.
Demand
();
System.Net (92)
net\PeerToPeer\Cloud.cs (1)
195
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
net\PeerToPeer\Collaboration\ContactManager.cs (20)
131
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
188
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
200
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
389
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
401
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
596
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
608
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
809
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
820
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1022
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1034
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1251
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1331
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1389
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1482
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1490
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1522
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1628
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1709
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1745
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
net\PeerToPeer\Collaboration\Peer.cs (5)
356
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
426
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
440
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
773
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
779
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
net\PeerToPeer\Collaboration\PeerApplication.cs (2)
191
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
202
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
net\PeerToPeer\Collaboration\PeerCollaboration.cs (19)
76
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
229
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
323
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
353
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
394
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
474
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
560
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
666
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
794
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
856
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
900
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
982
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
994
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1183
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1195
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1351
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1363
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1516
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1528
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
net\PeerToPeer\Collaboration\PeerContact.cs (20)
196
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
386
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
536
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
544
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
631
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
658
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
712
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
743
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
775
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
809
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
841
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
875
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1122
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1136
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1158
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1170
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1409
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1421
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1663
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
1675
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
net\PeerToPeer\Collaboration\PeerEndPoint.cs (2)
159
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
173
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
net\PeerToPeer\Collaboration\PeerNearMe.cs (10)
218
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
430
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
437
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
453
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
499
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
511
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
690
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
724
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
757
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
787
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
net\PeerToPeer\Collaboration\PeerObject.cs (2)
144
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
155
PeerCollaborationPermission.UnrestrictedPeerCollaborationPermission.
Demand
();
net\PeerToPeer\PeerNameRegistration.cs (4)
236
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
314
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
511
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
639
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
net\PeerToPeer\PeerNameResolver.cs (7)
520
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
525
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
542
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
547
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
633
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
775
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
887
PnrpPermission.UnrestrictedPnrpPermission.
Demand
();
System.Runtime.Caching (1)
System\Caching\HostFileChangeMonitor.cs (1)
159
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, path).
Demand
();
System.Runtime.Serialization (3)
System\Runtime\Serialization\XmlObjectSerializerContext.cs (2)
94
Globals.SerializationFormatterPermission.
Demand
();
106
Globals.MemberAccessPermission.
Demand
();
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
498
Globals.SerializationFormatterPermission.
Demand
();
System.Security (17)
system\security\cryptography\cryptoapi.cs (14)
2498
kp.
Demand
();
2692
sp.
Demand
();
2728
sp.
Demand
();
2757
sp.
Demand
();
2790
sp.
Demand
();
2793
sp.
Demand
();
2798
sp.
Demand
();
2803
sp.
Demand
();
2824
dp.
Demand
();
2840
dp.
Demand
();
2852
dp.
Demand
();
2864
dp.
Demand
();
2880
uiPermission.
Demand
();
2896
uiPermission.
Demand
();
system\security\cryptography\pkcs\envelopedpkcs7.cs (1)
278
kp.
Demand
();
system\security\cryptography\pkcs\signedpkcs7.cs (1)
202
kp.
Demand
();
system\security\cryptography\pkcs\signerinfo.cs (1)
297
kp.
Demand
();
System.ServiceModel (3)
System\ServiceModel\Configuration\ServiceHostingEnvironmentSection.cs (1)
33
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).
Demand
();
System\ServiceModel\Description\ConfigLoader.cs (2)
1498
ConfigurationPermission.
Demand
();
1527
ConfigurationPermission.
Demand
();
System.Transactions (1)
System\Transactions\Oletx\OletxTransactionManager.cs (1)
607
txPerm.
Demand
();
System.Web (3)
Cache\SqlCacheDependency.cs (1)
155
new SqlClientPermission(PermissionState.Unrestricted).
Demand
();
Configuration\WebConfigurationHost.cs (1)
904
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, machineConfig).
Demand
();
parent\parent\parent\Misc\SecurityUtils.cs (1)
64
MemberAccessPermission.
Demand
();
System.Web.DataVisualization (1)
Common\General\Chart.cs (1)
257
securityPermission.
Demand
();
System.Web.Services (2)
System\Web\Services\Configuration\WsdlHelpGeneratorElement.cs (1)
177
new FileIOPermission(FileIOPermissionAccess.Read, fullPath).
Demand
();
System\Web\Services\Protocols\WebServiceHandlerFactory.cs (1)
66
new AspNetHostingPermission(AspNetHostingPermissionLevel.Minimal).
Demand
();
System.Windows.Forms (131)
misc\SecurityUtils.cs (1)
64
MemberAccessPermission.
Demand
();
winforms\Managed\System\WinForms\AccessibleObject.cs (7)
1263
IntSecurity.UnmanagedCode.
Demand
();
1422
IntSecurity.UnmanagedCode.
Demand
();
1472
IntSecurity.UnmanagedCode.
Demand
();
1897
IntSecurity.UnmanagedCode.
Demand
();
2022
IntSecurity.UnmanagedCode.
Demand
();
2099
IntSecurity.UnmanagedCode.
Demand
();
3316
IntSecurity.UnmanagedCode.
Demand
();
winforms\Managed\System\WinForms\Application.cs (10)
341
IntSecurity.AffectThreadBehavior.
Demand
();
387
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, executablePath).
Demand
();
624
IntSecurity.WindowAdornmentModification.
Demand
();
649
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, startupPath).
Demand
();
862
IntSecurity.UnmanagedCode.
Demand
();
976
IntSecurity.AffectThreadBehavior.
Demand
();
1103
IntSecurity.AffectThreadBehavior.
Demand
();
1156
IntSecurity.AffectThreadBehavior.
Demand
();
1542
IntSecurity.AffectMachineState.
Demand
();
1576
IntSecurity.AffectThreadBehavior.
Demand
();
winforms\Managed\System\WinForms\AxHost.cs (3)
2283
IntSecurity.GetParent.
Demand
();
4623
IntSecurity.GetParent.
Demand
();
6849
IntSecurity.UnmanagedCode.
Demand
();
winforms\Managed\System\WinForms\BindingContext.cs (3)
51
IntSecurity.UnmanagedCode.
Demand
();
65
IntSecurity.UnmanagedCode.
Demand
();
381
IntSecurity.UnmanagedCode.
Demand
();
winforms\Managed\System\WinForms\Clipboard.cs (2)
139
IntSecurity.ClipboardRead.
Demand
();
216
IntSecurity.ClipboardRead.
Demand
();
winforms\Managed\System\WinForms\ComboBox.cs (1)
260
fiop.
Demand
();
winforms\Managed\System\WinForms\CommonDialog.cs (1)
267
IntSecurity.SafeSubWindows.
Demand
();
winforms\Managed\System\WinForms\ContainerControl.cs (2)
355
IntSecurity.GetParent.
Demand
();
383
IntSecurity.ModifyFocus.
Demand
();
winforms\Managed\System\WinForms\Control.cs (21)
877
IntSecurity.ClipboardRead.
Demand
();
1466
IntSecurity.GetCapture.
Demand
();
2075
IntSecurity.ModifyCursor.
Demand
();
3433
IntSecurity.GetParent.
Demand
();
3569
IntSecurity.ChangeWindowRegionForTopLevel.
Demand
();
4124
IntSecurity.GetParent.
Demand
();
5753
IntSecurity.CreateGraphicsForControl.
Demand
();
6353
IntSecurity.ModifyFocus.
Demand
();
6400
IntSecurity.ControlFromHandleOrLocation.
Demand
();
6421
IntSecurity.ControlFromHandleOrLocation.
Demand
();
6500
IntSecurity.ControlFromHandleOrLocation.
Demand
();
6523
IntSecurity.GetParent.
Demand
();
7051
IntSecurity.AllWindows.
Demand
();
7797
IntSecurity.UnmanagedCode.
Demand
();
11090
IntSecurity.SendMessages.
Demand
();
11242
IntSecurity.ClipboardRead.
Demand
();
12044
IntSecurity.UnmanagedCode.
Demand
();
12076
IntSecurity.TopLevelWindow.
Demand
();
12080
IntSecurity.UnrestrictedWindows.
Demand
();
18891
IntSecurity.UnmanagedCode.
Demand
();
19635
IntSecurity.UnmanagedCode.
Demand
();
winforms\Managed\System\WinForms\Cursor.cs (5)
103
IntSecurity.UnmanagedCode.
Demand
();
172
IntSecurity.AdjustCursorClip.
Demand
();
214
IntSecurity.ModifyCursor.
Demand
();
316
IntSecurity.AdjustCursorPosition.
Demand
();
566
IntSecurity.AdjustCursorClip.
Demand
();
winforms\Managed\System\WinForms\DataGridView.cs (1)
3709
IntSecurity.AllWindows.
Demand
();
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
20639
IntSecurity.AllWindows.
Demand
();
winforms\Managed\System\WinForms\DataObject.cs (2)
1857
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, fullPath).
Demand
();
2000
IntSecurity.ClipboardRead.
Demand
();
winforms\Managed\System\WinForms\FileDialog.cs (9)
105
IntSecurity.FileDialogCustomization.
Demand
();
127
IntSecurity.FileDialogCustomization.
Demand
();
151
IntSecurity.FileDialogCustomization.
Demand
();
203
IntSecurity.FileDialogCustomization.
Demand
();
259
IntSecurity.FileDialogCustomization.
Demand
();
433
IntSecurity.FileDialogCustomization.
Demand
();
491
IntSecurity.FileDialogCustomization.
Demand
();
561
IntSecurity.FileDialogCustomization.
Demand
();
585
IntSecurity.FileDialogCustomization.
Demand
();
winforms\Managed\System\WinForms\FileDialogCustomPlacesCollection.cs (1)
26
permission.
Demand
();
winforms\Managed\System\WinForms\FolderBrowserDialog.cs (1)
135
new FileIOPermission(FileIOPermissionAccess.PathDiscovery, selectedPath).
Demand
();
winforms\Managed\System\WinForms\Form.cs (8)
433
IntSecurity.GetParent.
Demand
();
1462
IntSecurity.WindowAdornmentModification.
Demand
();
1883
IntSecurity.GetParent.
Demand
();
2158
IntSecurity.GetParent.
Demand
();
2612
IntSecurity.TransparentWindows.
Demand
();
3084
IntSecurity.ModifyFocus.
Demand
();
3106
IntSecurity.ModifyFocus.
Demand
();
5746
IntSecurity.ModifyFocus.
Demand
();
winforms\Managed\System\WinForms\Help.cs (3)
194
IntSecurity.UnmanagedCode.
Demand
();
291
new WebPermission(NetworkAccess.Connect, url).
Demand
();
295
IntSecurity.UnmanagedCode.
Demand
();
winforms\Managed\System\WinForms\InputLanguage.cs (1)
70
IntSecurity.AffectThreadBehavior.
Demand
();
winforms\Managed\System\WinForms\Menu.cs (1)
328
IntSecurity.ControlFromHandleOrLocation.
Demand
();
winforms\Managed\System\WinForms\Message.cs (1)
150
IntSecurity.UnmanagedCode.
Demand
();
winforms\Managed\System\WinForms\MessageBox.cs (2)
447
IntSecurity.UnmanagedCode.
Demand
();
450
IntSecurity.SafeSubWindows.
Demand
();
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
192
IntSecurity.UnmanagedCode.
Demand
();
winforms\Managed\System\WinForms\NativeWindow.cs (2)
712
IntSecurity.CreateAnyWindow.
Demand
();
718
IntSecurity.TopLevelWindow.
Demand
();
winforms\Managed\System\WinForms\NotifyIcon.cs (2)
691
IntSecurity.UnrestrictedWindows.
Demand
();
766
IntSecurity.UnrestrictedWindows.
Demand
();
winforms\Managed\System\WinForms\OpenFileDialog.cs (3)
145
IntSecurity.FileDialogOpenFile.
Demand
();
185
IntSecurity.FileDialogOpenFile.
Demand
();
197
IntSecurity.FileDialogOpenFile.
Demand
();
winforms\Managed\System\WinForms\Printing\PageSetupDialog.cs (1)
353
IntSecurity.SafePrinting.
Demand
();
winforms\Managed\System\WinForms\Printing\PrintDialog.cs (1)
354
IntSecurity.SafePrinting.
Demand
();
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
454
IntSecurity.SafePrinting.
Demand
();
winforms\Managed\System\WinForms\RichTextBox.cs (5)
171
IntSecurity.ClipboardRead.
Demand
();
489
IntSecurity.ClipboardRead.
Demand
();
2703
IntSecurity.ClipboardRead.
Demand
();
3258
IntSecurity.UnmanagedCode.
Demand
();
3820
IntSecurity.UnmanagedCode.
Demand
();
winforms\Managed\System\WinForms\SaveFileDialog.cs (5)
54
IntSecurity.FileDialogCustomization.
Demand
();
77
IntSecurity.FileDialogCustomization.
Demand
();
98
IntSecurity.FileDialogSaveFile.
Demand
();
191
IntSecurity.FileDialogSaveFile.
Demand
();
201
IntSecurity.FileDialogSaveFile.
Demand
();
winforms\Managed\System\WinForms\Screen.cs (1)
358
IntSecurity.ObjectFromWin32Handle.
Demand
();
winforms\Managed\System\WinForms\SendKeys.cs (1)
872
IntSecurity.UnmanagedCode.
Demand
();
winforms\Managed\System\WinForms\SplitContainer.cs (1)
1988
IntSecurity.ModifyFocus.
Demand
();
winforms\Managed\System\WinForms\SystemInformation.cs (5)
538
IntSecurity.SensitiveSystemInformation.
Demand
();
713
IntSecurity.SensitiveSystemInformation.
Demand
();
902
IntSecurity.SensitiveSystemInformation.
Demand
();
1097
IntSecurity.SensitiveSystemInformation.
Demand
();
1160
IntSecurity.SensitiveSystemInformation.
Demand
();
winforms\Managed\System\WinForms\TextBox.cs (1)
203
fiop.
Demand
();
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1589
IntSecurity.ClipboardRead.
Demand
();
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
609
IntSecurity.WindowAdornmentModification.
Demand
();
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (1)
245
IntSecurity.ClipboardRead.
Demand
();
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
998
IntSecurity.ClipboardRead.
Demand
();
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (1)
250
IntSecurity.AllWindows.
Demand
();
winforms\Managed\System\WinForms\ToolTip.cs (1)
311
IntSecurity.AllWindows.
Demand
();
winforms\Managed\System\WinForms\TreeNode.cs (1)
1135
IntSecurity.ControlFromHandleOrLocation.
Demand
();
winforms\Managed\System\WinForms\WebBrowser.cs (6)
857
IntSecurity.DefaultPrinting.
Demand
();
959
IntSecurity.SafePrinting.
Demand
();
980
IntSecurity.SafePrinting.
Demand
();
1001
IntSecurity.SafePrinting.
Demand
();
1043
IntSecurity.FileDialogSaveFile.
Demand
();
1528
permission.
Demand
();
winforms\Managed\System\WinForms\WinFormsSecurity.cs (1)
506
new FileIOPermission(access, UnsafeGetFullPath(fileName)).
Demand
();
System.Windows.Forms.DataVisualization (1)
Common\General\Chart.cs (1)
257
securityPermission.
Demand
();
System.Workflow.Activities (3)
Rules\Design\LogicalExpressionTypeConverter.cs (3)
225
MyPermission.
Demand
();
330
MyPermission.
Demand
();
433
MyPermission.
Demand
();
System.Xml (2)
System\Xml\Xslt\XslCompiledTransform.cs (1)
319
new ReflectionPermission(ReflectionPermissionFlag.MemberAccess).
Demand
();
System\Xml\Xslt\XslTransform.cs (1)
123
new SecurityPermission(SecurityPermissionFlag.ControlEvidence).
Demand
();
WindowsBase (6)
Shared\MS\Internal\SecurityHelper.cs (6)
115
_unmanagedCodePermission.
Demand
();
847
_rightsManagementPermission.
Demand
();
861
_compoundFileIOPermission.
Demand
();
873
permobj.
Demand
();
999
_allWindowsUIPermission.
Demand
();
1080
_unrestrictedUIPermission.
Demand
();