58 instantiations of SecurityNote
dotnet-svcutil-lib (58)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\ActionItem.cs (10)
40
[Fx.Tag.
SecurityNote
(Critical = "Called after applying the user context on the stack or (potentially) " +
45
[Fx.Tag.
SecurityNote
(Critical = "Access critical field context and critical property " +
61
[Fx.Tag.
SecurityNote
(Critical = "Calls into critical static method ScheduleCallback")]
73
[Fx.Tag.
SecurityNote
(Critical = "Stores a delegate to a critical method")]
88
[Fx.Tag.
SecurityNote
(Critical = "Called by the scheduler without any user context on the stack")]
98
[Fx.Tag.
SecurityNote
(Critical = "Stores a delegate that will be called later, at a particular context")]
101
[Fx.Tag.
SecurityNote
(Critical = "Stores an object that will be passed to the delegate that will be " +
110
[Fx.Tag.
SecurityNote
(Critical = "Access critical fields callback and state",
134
[Fx.Tag.
SecurityNote
(Critical = "Implements a the critical abstract ActionItem.Invoke method, " +
148
[Fx.Tag.
SecurityNote
(Critical = "Implements a the critical abstract Trace method, " +
FrameworkFork\System.ServiceModel\Internals\System\Runtime\AssertHelper.cs (1)
27
[Fx.Tag.
SecurityNote
(Critical = "Calls into various critical methods",
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (9)
28
[Fx.Tag.
SecurityNote
(Critical = "This determines the event source name.")]
45
[Fx.Tag.
SecurityNote
(Critical = "Access critical eventSourceName field",
53
[Fx.Tag.
SecurityNote
(Critical = "This determines the event source name.")]
71
[Fx.Tag.
SecurityNote
(Critical = "Satisfies a LinkDemand for 'PermissionSetAttribute' on type 'Process' when calling method GetCurrentProcess",
85
[Fx.Tag.
SecurityNote
(Critical = "Satisfies a LinkDemand for 'PermissionSetAttribute' on type 'Process' when calling method GetCurrentProcess",
129
[Fx.Tag.
SecurityNote
(Critical = "Sets global event handlers for the AppDomain",
199
[Fx.Tag.
SecurityNote
(Critical = "Calls unsafe methods, UnsafeCreateEventLogger and UnsafeLogEvent.",
211
[Fx.Tag.
SecurityNote
(Critical = "gets the CorrelationManager, which does a LinkDemand for UnmanagedCode",
221
[Fx.Tag.
SecurityNote
(Critical = "gets the CorrelationManager, which does a LinkDemand for UnmanagedCode",
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (13)
26
[Fx.Tag.
SecurityNote
(Critical = "setting critical field defaultEtwProviderId")]
36
[Fx.Tag.
SecurityNote
(Critical = "Access critical etwProvider, eventSourceName field")]
45
[Fx.Tag.
SecurityNote
(Critical = "reading critical field defaultEtwProviderId", Safe = "Doesn't leak info\\resources")]
53
[Fx.Tag.
SecurityNote
(Critical = "setting critical field defaultEtwProviderId")]
66
[Fx.Tag.
SecurityNote
(Critical = "Access critical etwProvider field",
78
[Fx.Tag.
SecurityNote
(Critical = "Access critical etwProvider field",
89
[Fx.Tag.
SecurityNote
(Critical = "Access critical etwProvider field",
98
[Fx.Tag.
SecurityNote
(Critical = "Accesses the security critical etwProvider field", Safe = "Doesn't leak info\\resources")]
105
[Fx.Tag.
SecurityNote
(Critical = "Usage of EventDescriptor, which is protected by a LinkDemand")]
125
[Fx.Tag.
SecurityNote
(Critical = "Access critical transferEventDescriptor field, as well as other critical methods",
132
[Fx.Tag.
SecurityNote
(Critical = "Usage of EventDescriptor, which is protected by a LinkDemand")]
220
[Fx.Tag.
SecurityNote
(Critical = "Usage of EventDescriptor, which is protected by a LinkDemand",
228
[Fx.Tag.
SecurityNote
(Critical = "Usage of EventDescriptor, which is protected by a LinkDemand",
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EventTraceActivity.cs (3)
50
[Fx.Tag.
SecurityNote
(Critical = "Critical because the CorrelationManager property has a link demand on UnmanagedCode.",
58
[Fx.Tag.
SecurityNote
(Critical = "Critical because the CorrelationManager property has a link demand on UnmanagedCode.",
70
[Fx.Tag.
SecurityNote
(Critical = "Critical because the CorrelationManager property has a link demand on UnmanagedCode.",
FrameworkFork\System.ServiceModel\Internals\System\Runtime\ExceptionTrace.cs (2)
221
[Fx.Tag.
SecurityNote
(Critical = "Calls 'System.Runtime.Interop.UnsafeNativeMethods.IsDebuggerPresent()' which is a P/Invoke method",
237
[Fx.Tag.
SecurityNote
(Critical = "Calls into critical method UnsafeNativeMethods.IsDebuggerPresent and UnsafeNativeMethods.DebugBreak",
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (13)
34
[Fx.Tag.
SecurityNote
(Critical = "This delegate is called from within a ConstrainedExecutionRegion, must not be settable from PT code")]
64
[Fx.Tag.
SecurityNote
(Critical = "Accesses SecurityCritical field EtwProvider",
78
[Fx.Tag.
SecurityNote
(Critical = "access critical field", Safe = "ok for get-only access")]
85
[Fx.Tag.
SecurityNote
(Critical = "sets a critical field")]
151
[Fx.Tag.
SecurityNote
(Critical = "Calls into critical method Environment.FailFast",
372
[Fx.Tag.
SecurityNote
(Miscellaneous = "Must not call into PT code as it is called within a CER.")]
392
[Fx.Tag.
SecurityNote
(Miscellaneous = "Must not call into PT code as it is called within a CER.")]
439
[Fx.Tag.
SecurityNote
(Miscellaneous = "Must not call into PT code as it is called within a CER.")]
915
[Fx.Tag.
SecurityNote
(Critical = "Make these safe to use in SecurityCritical contexts.")]
919
[Fx.Tag.
SecurityNote
(Critical = "Accesses critical field.", Safe = "Data provided by caller.")]
928
[Fx.Tag.
SecurityNote
(Critical = "Accesses critical field.", Safe = "Data is not privileged.")]
950
[Fx.Tag.
SecurityNote
(Critical = "Calls PrepareConstrainedRegions which has a LinkDemand",
983
[Fx.Tag.
SecurityNote
(Critical = "Calls PrepareConstrainedRegions which has a LinkDemand",
FrameworkFork\System.ServiceModel\Internals\System\Runtime\SynchronizedPool.cs (1)
335
[Fx.Tag.
SecurityNote
(Critical = "Asserts in order to get the processor count from the environment", Safe = "This data isn't actually protected so it's ok to leak")]
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Ticks.cs (1)
13
[Fx.Tag.
SecurityNote
(Miscellaneous = "Why isn't the SuppressUnmanagedCodeSecurity attribute working in this case?")]
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
672
[Fx.Tag.
SecurityNote
(Critical = "XmlSerializer.FromMappings has a LinkDemand.",
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (1)
82
[Fx.Tag.
SecurityNote
(Critical = "This sets the ActivityId on the thread. Must not be settable from PT code unless from safe context.")]
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\TraceUtility.cs (2)
279
[Fx.Tag.
SecurityNote
(Critical = "Calls critical method DiagnosticSection.UnsafeGetSection.",
316
[Fx.Tag.
SecurityNote
(Critical = "Calls critical method DiagnosticSection.UnsafeGetSection.",
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\MessageRpc.cs (1)
408
[Fx.Tag.
SecurityNote
(Critical = "Calls SecurityCritical method ApplyHostingIntegrationContext.",