Skip to content

Commit

Permalink
obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
sator-imaging authored Mar 24, 2024
1 parent 58c8485 commit 662539c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Tests/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ public sealed class SealedClass : TestClass
[Obsolete]
public static int StaticObsoleteField;

[Obsolete("Obsolete!")]
[Obsolete("Obsolete!", true)]
public double ObsoleteField;

[Obsolete("HTML <b>bold</b> tag can be used??<br/>Markdown **bold** syntax enabled??")]
[Obsolete("HTML <b>bold</b> tag can be used??<br/>Markdown **bold** syntax enabled??", false)]
public SealedClass() { }
public SealedClass(float val) { }
}
Expand Down Expand Up @@ -136,7 +136,7 @@ public enum IntEnum : int
[Obsolete("Obsolete Enum Item!!")]
[Tooltip("UnityEngine.TooltipAttribute")]
[EditorBrowsable(EditorBrowsableState.Always)]
Exceeded = 9999,
ExceededMustBeHidden = 9999,
}

/// <summary>Is this <big>shown bigger??</big></summary>
Expand All @@ -145,7 +145,9 @@ public enum ULongEnum : ulong
Default,
First = 100,
Second,
[EditorBrowsable(EditorBrowsableState.Always)][Obsolete]Exceeded = 18446744073709551615,
[EditorBrowsable(EditorBrowsableState.Always)]
[Obsolete]
ExceededMustBeHidden = 18446744073709551615,
}

/// <summary>
Expand Down

0 comments on commit 662539c

Please sign in to comment.