System.Reflection.TargetedPatchingOptOutAttribute

E697551

System.Reflection.TargetedPatchingOptOutAttribute is a .NET attribute used to mark methods or classes as excluded from certain optimizations so they can be more easily inlined or patched across assembly boundaries.

Jump to: Statements Referenced by

Statements (49)

Predicate Object
instanceOf .NET attribute
attribute class
class
accessModifier public
appliesTo classes
constructors
delegates
interfaces
methods
structs
assembly mscorlib NERFINISHED
attributeUsage AttributeTargets.Class NERFINISHED
AttributeTargets.Constructor
AttributeTargets.Delegate
AttributeTargets.Interface
AttributeTargets.Method
AttributeTargets.Struct
attributeUsageProperty AllowMultiple = false
Inherited = false
baseClass System.Attribute NERFINISHED
designNote helps avoid performance regressions when methods are moved between assemblies
primarily used by NGen and runtime infrastructure
documentationLocation Microsoft .NET Framework class library reference
hasConstructor TargetedPatchingOptOutAttribute(string reason)
hasProperty string Reason
introducedIn .NET Framework 4 NERFINISHED
isCLSCompliant true
isObsolete true
isPartOf .NET Base Class Library NERFINISHED
isSerializable false
languageSupport C# NERFINISHED
F# NERFINISHED
VB.NET
namespace System.Reflection NERFINISHED
obsoleteUsage intended for use by the .NET Framework only
not intended for use in application code
platform .NET (modern, for compatibility in some versions) NERFINISHED
.NET Core (for compatibility in some versions) NERFINISHED
.NET Framework NERFINISHED
propertyAccessibility Reason is private set
Reason is public get
purpose to improve inlining or patching across assembly boundaries
to mark methods or classes as excluded from certain optimizations
relatedConcept cross-module inlining
native image generation (NGen)
servicing and hotfix deployment
sealed true
usedFor cross-assembly inlining scenarios
versioning and servicing scenarios

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Reflection containsType System.Reflection.TargetedPatchingOptOutAttribute