134 writes to UnmanagedCode
mscorlib (21)
microsoft\win32\safehandles\win32safehandles.cs (4)
28
[SecurityPermission(SecurityAction.InheritanceDemand,
UnmanagedCode
=true)]
54
[SecurityPermission(SecurityAction.InheritanceDemand,
UnmanagedCode
=true)]
80
[SecurityPermission(SecurityAction.InheritanceDemand,
UnmanagedCode
=true)]
98
[SecurityPermission(SecurityAction.InheritanceDemand,
UnmanagedCode
=true)]
system\diagnostics\stackframe.cs (1)
20
[SecurityPermission(SecurityAction.InheritanceDemand,
UnmanagedCode
=true)]
system\diagnostics\stacktrace.cs (1)
306
[SecurityPermission(SecurityAction.InheritanceDemand,
UnmanagedCode
=true)]
system\reflection\emit\methodrental.cs (1)
46
[SecurityPermissionAttribute(SecurityAction.Demand,
UnmanagedCode
=true)]
system\runtime\interopservices\criticalhandle.cs (1)
146
[SecurityPermission(SecurityAction.InheritanceDemand,
UnmanagedCode
=true)]
system\runtime\interopservices\safehandle.cs (1)
141
[SecurityPermission(SecurityAction.InheritanceDemand,
UnmanagedCode
=true)]
system\runtime\reliability\criticalfinalizerobject.cs (1)
29
[SecurityPermission(SecurityAction.InheritanceDemand,
UnmanagedCode
=true)]
system\security\accesscontrol\filesecurity.cs (5)
435
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
=true)]
457
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
=true)]
637
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
=true)]
652
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
=true)]
674
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
=true)]
system\security\accesscontrol\objectsecurityt.cs (2)
288
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
305
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
system\security\accesscontrol\registrysecurity.cs (2)
151
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
=true)]
237
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
=true)]
system\security\accesscontrol\win32.cs (1)
27
[SecurityPermission( SecurityAction.Assert,
UnmanagedCode
=true )]
system\security\principal\sid.cs (1)
444
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
=true)]
PresentationCore (1)
Core\CSharp\System\Windows\Interop\D3DImage.cs (1)
48
[SecurityPermissionAttribute(SecurityAction.InheritanceDemand,
UnmanagedCode
= true)]
PresentationFramework (1)
src\Framework\System\Windows\Standard\NativeMethods.cs (1)
1346
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
System (16)
compmod\microsoft\win32\safehandles\SafeFileMappingHandle.cs (1)
38
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
=true)]
compmod\microsoft\win32\safehandles\SafeLocalMemHandle.cs (1)
35
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
=true)]
compmod\microsoft\win32\safehandles\SafeProcessHandle.cs (1)
40
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
compmod\system\codedom\compiler\Executor.cs (1)
336
[SecurityPermission(SecurityAction.Assert, ControlPrincipal = true,
UnmanagedCode
= true)]
net\System\Net\NetRegistryConfiguration.cs (1)
163
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
net\System\Net\WebSockets\WebSocketProtocolComponent.cs (11)
357
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
417
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
514
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
569
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
582
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
589
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
614
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
638
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
661
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
711
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
737
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
System.Activities (1)
System\Activities\Tracking\EtwTrackingParticipant.cs (1)
129
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
System.Configuration (5)
Microsoft\Win32\SafeCryptContextHandle.cs (2)
16
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
21
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
Microsoft\Win32\SafeNativeMemoryHandle.cs (2)
18
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
28
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
System\Configuration\ClientConfigPaths.cs (1)
66
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
=true)]
System.Core (26)
Microsoft\Win32\SafeHandles\NCryptSafeHandles.cs (5)
45
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
46
[SecurityPermission(SecurityAction.InheritanceDemand,
UnmanagedCode
= true)]
374
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
404
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
437
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
Microsoft\Win32\SafeHandles\SafeMemoryMappedFileHandle.cs (2)
35
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
38
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
Microsoft\Win32\SafeHandles\SafeMemoryMappedViewHandle.cs (2)
37
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
40
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
Microsoft\Win32\SafeHandles\SafePipeHandle.cs (1)
22
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
System\IO\Pipes\PipeSecurity.cs (2)
419
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
436
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
System\Security\Cryptography\CngKey.cs (7)
116
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
262
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
297
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
638
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
660
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
723
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
857
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
System\Security\Cryptography\CngKeyCreationParameters.cs (2)
58
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
67
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
System\Security\Cryptography\ECDiffieHellmanCng.cs (1)
512
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
System\Security\Cryptography\RsaCng.cs (4)
52
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
81
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
148
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
462
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
System.IdentityModel (2)
System\IdentityModel\SecurityUtils.cs (2)
679
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
692
[SecurityPermission(SecurityAction.Assert, ControlPrincipal = true,
UnmanagedCode
= true)]
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\SafeLibraryHandle.cs (1)
30
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
System.Management (1)
assemblyinfo.cs (1)
8
[assembly:SecurityPermissionAttribute(SecurityAction.RequestMinimum,
UnmanagedCode
=true)]
System.Net (3)
net\PeerToPeer\Collaboration\CollaborationHelperFunctions.cs (1)
395
[SecurityPermissionAttribute(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
net\PeerToPeer\Collaboration\UnsafeCollabNativeMethods.cs (1)
130
[SecurityPermissionAttribute(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
net\PeerToPeer\UnsafePeerToPeerMethods.cs (1)
341
[SecurityPermissionAttribute(SecurityAction.LinkDemand,
UnmanagedCode
=true)]
System.ServiceModel (4)
System\ServiceModel\Dispatcher\ExceptionHandler.cs (1)
41
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
System\ServiceModel\Security\SecurityUtils.cs (3)
483
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
502
[SecurityPermission(SecurityAction.Assert, ControlPrincipal = true,
UnmanagedCode
= true)]
1989
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
System.ServiceModel.Activation (4)
System\ServiceModel\Activation\HostedHttpContext.cs (1)
868
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
System\ServiceModel\Activation\HostedHttpTransportManager.cs (1)
122
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (2)
242
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
433
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
System.ServiceModel.Internals (6)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
54
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
System\Runtime\Diagnostics\EventLogger.cs (5)
249
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
258
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
298
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
325
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
343
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
System.Web (33)
Configuration\GacUtil.cs (2)
18
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
59
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
Hosting\ApplicationManager.cs (1)
231
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
=true)]
Hosting\IPipelineRuntime.cs (1)
235
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
=true)]
HttpResponse.cs (1)
2916
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
=true)]
httpserverutility.cs (2)
104
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
=true)]
127
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
=true)]
RootedObjects.cs (1)
20
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
Security\FileAuthorizationModule.cs (2)
48
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
=true)]
56
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
Security\PassportIdentity.cs (1)
48
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
=true)]
Security\WindowsAuthenticationModule.cs (1)
114
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true, ControlPrincipal = true)]
State\OutOfProcStateClientManager.cs (1)
431
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
Util\AppVerifier.cs (2)
120
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)] // safe since AppVerifier can only be enabled via registry, which already requires admin privileges
129
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)] // safe since AppVerifier can only be enabled via registry, which already requires admin privileges
Util\AspCompat.cs (1)
335
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
=true)]
Util\GCUtil.cs (1)
16
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
Util\PinnedArraySegment.cs (1)
17
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
Util\ReflectionUtil.cs (1)
15
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
Util\SmtpMail.cs (2)
453
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
=true)]
480
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
=true)]
WebSockets\IUnmanagedWebSocketContext.cs (5)
15
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
18
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
21
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
24
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
28
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
WebSockets\IWebSocketPipe.cs (4)
19
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
22
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
25
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
28
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
WebSockets\UnmanagedWebSocketContext.cs (1)
16
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
WebSockets\WebSocketPipe.cs (1)
18
[SecurityPermission(SecurityAction.LinkDemand,
UnmanagedCode
= true)]
WorkerRequest.cs (1)
958
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataObject.cs (1)
1970
[SecurityPermission(SecurityAction.Assert,
UnmanagedCode
= true)]
UIAutomationClient (1)
MS\Internal\Automation\Misc.cs (1)
508
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
=true)]
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\Misc.cs (1)
998
[SecurityPermission(SecurityAction.Demand,
UnmanagedCode
= true)]
WsatUI (6)
MMCUI\WSATPropertySheet.cs (6)
52
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true,
UnmanagedCode
= true)]
69
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true,
UnmanagedCode
= true)]
75
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true,
UnmanagedCode
= true)]
179
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true,
UnmanagedCode
= true)]
253
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true,
UnmanagedCode
= true)]
376
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true,
UnmanagedCode
= true)]