PreserveAttribute Class

Definition

When applied to a target (e.g. assembly, class, member, etc.), instructs the Xamarin linker to preserve that target in the linking process result.

[System.AttributeUsage(System.AttributeTargets.All)]
public sealed class PreserveAttribute : Attribute
type PreserveAttribute = class
    inherit Attribute
Public NotInheritable Class PreserveAttribute
Inherits Attribute
Inheritance
System.Attribute
PreserveAttribute
Attributes
System.AttributeUsageAttribute

Constructors

PreserveAttribute()

Fields

AllMembers
Conditional

Applies to