#if NET_4_0
-namespace System.Runtime.CompilerServices {
+namespace System.Runtime {
[AttributeUsage (AttributeTargets.Constructor|AttributeTargets.Method, AllowMultiple=false, Inherited = false)]
public sealed class TargetedPatchingOptOutAttribute : Attribute
{
string reason;
- public TargetedPatchingOptOutAttribute () : this ("") {
- }
-
public TargetedPatchingOptOutAttribute (string reason)
{
if (reason == null)
this.reason = reason;
}
- public string Reason
- {
+ public string Reason {
get {
return reason;
}