Xamarin Public Jenkins f3e3aab35a Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
2016-02-22 11:00:01 -05:00

45 lines
1.5 KiB
C#

using System;
namespace System.Runtime
{
[AttributeUsage(AttributeTargets.Assembly, Inherited = false)]
public sealed class AssemblyTargetedPatchBandAttribute : Attribute
{
private String m_targetedPatchBand;
public AssemblyTargetedPatchBandAttribute(String targetedPatchBand)
{
m_targetedPatchBand = targetedPatchBand;
}
public String TargetedPatchBand
{
get { return m_targetedPatchBand; }
}
}
//============================================================================================================
// Sacrifices cheap servicing of a method body in order to allow unrestricted inlining. Certain types of
// trivial methods (e.g. simple property getters) are automatically attributed by ILCA.EXE during the build.
// For other performance critical methods, it should be added manually.
//============================================================================================================
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)]
public sealed class TargetedPatchingOptOutAttribute : Attribute
{
private String m_reason;
public TargetedPatchingOptOutAttribute(String reason)
{
m_reason = reason;
}
public String Reason
{
get { return m_reason; }
}
private TargetedPatchingOptOutAttribute() { }
}
}