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.

All labels observed (1)

How this entity was disambiguated

Statements (49)

Predicate Object
instanceOf .NET attribute ⓘ
attribute class ⓘ
class ⓘ
accessModifier public ⓘ
appliesTo classes ⓘ
constructors ⓘ
delegates ⓘ
interfaces ⓘ
methods ⓘ
structs ⓘ
assembly mscorlib ⓘ
linked to: mscorlib.dll
attributeUsage AttributeTargets.Class ⓘ
linked to: C# attributes

AttributeTargets.Constructor ⓘ
AttributeTargets.Delegate ⓘ
AttributeTargets.Interface ⓘ
AttributeTargets.Method ⓘ
AttributeTargets.Struct ⓘ
attributeUsageProperty AllowMultiple = false ⓘ
Inherited = false ⓘ
baseClass System.Attribute ⓘ
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 ⓘ
linked to: .NET Framework
isCLSCompliant true ⓘ
isObsolete true ⓘ
isPartOf .NET Base Class Library ⓘ
isSerializable false ⓘ
languageSupport C# ⓘ
F# ⓘ
VB.NET ⓘ
namespace System.Reflection ⓘ
obsoleteUsage intended for use by the .NET Framework only ⓘ
not intended for use in application code ⓘ
platform .NET (modern, for compatibility in some versions) ⓘ
linked to: .NET (5 and later)

.NET Core (for compatibility in some versions) ⓘ
linked to: .NET Core

.NET Framework ⓘ
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 ⓘ

How these facts were elicited

Referenced by (1)

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

System.Reflection → containsType → System.Reflection.TargetedPatchingOptOutAttribute ⓘ