条件编译符整理,为net6做准备
大石头 authored at 2021-08-09 10:32:40
405.00 B
X
using System;

#if NET40
namespace System.Runtime.CompilerServices
{
    /// <summary>±íʾµÈºò³ÌÐò£¬Æä¼Æ»®µÈ´ý²Ù×÷Íê³ÉʱµÄºóÐø²¿·Ö¡£</summary>
	public interface ICriticalNotifyCompletion : INotifyCompletion
	{
        /// <summary>¼Æ»®ÊµÀýÍê³Éʱµ÷ÓõÄÑÓÐø²Ù×÷¡£</summary>
        /// <param name="continuation">ÒªÔÚ²Ù×÷Íê³Éʱµ÷ÓõIJÙ×÷¡£</param>
		void UnsafeOnCompleted(Action continuation);
	}
}

#endif