Loading files
a4519e7a0This file is pinned to the selected release. Download the original to open it in your design tool.
namespace System;
internal static class StringExtensions
{
public static bool IsTaskFromResultMethodName(this string name) =>
name.Contains("System.Threading.Tasks.Task::FromResult");
public static bool IsTaskCompletedTaskPropertyName(this string name) =>
name.Contains("System.Threading.Tasks.Task::CompletedTask");
}