Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 7a45fc50 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

added obsolete to the switch extension method.

parent 17914c4d
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ namespace TUGraz.VectoCore.Utils
/// <typeparam name="T"></typeparam>
/// <param name="self">The self.</param>
/// <returns></returns>
[DebuggerHidden]
[DebuggerHidden,Obsolete("replace by pattern matching",true)]
public static Switch<T> Switch<T>(this T self)
{
return new Switch<T>(self);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment