提交 8a054f63 编写于 作者: C CyrusNajmabadi

Cleanup

上级 aa5e20de
......@@ -6,8 +6,6 @@ namespace Microsoft.CodeAnalysis.Shared.Extensions
{
internal static partial class ObjectExtensions
{
#region TypeSwitch on Func<T>
public static TResult TypeSwitch<TBaseType, TDerivedType1, TDerivedType2, TDerivedType3, TResult>(this TBaseType obj, Func<TDerivedType1, TResult> matchFunc1, Func<TDerivedType2, TResult> matchFunc2, Func<TDerivedType3, TResult> matchFunc3, Func<TBaseType, TResult> defaultFunc = null)
where TDerivedType1 : TBaseType
where TDerivedType2 : TBaseType
......@@ -653,7 +651,5 @@ internal static partial class ObjectExtensions
return default(TResult);
}
}
#endregion
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册