Merged PR 2316: dead code elimination

Keep reducing those lines in the operation scheduler :)
This commit is contained in:
Pantazis Deligiannis 2020-06-04 18:58:42 +00:00
Родитель 558903be23
Коммит 3ec75ed3e3
1 изменённых файлов: 0 добавлений и 20 удалений

Просмотреть файл

@ -382,26 +382,6 @@ namespace Microsoft.Coyote.SystematicTesting
}
}
/// <summary>
/// Returns the enabled operation ids.
/// </summary>
internal HashSet<ulong> GetEnabledOperationIds()
{
lock (this.SyncObject)
{
var enabledSchedulableIds = new HashSet<ulong>();
foreach (var machineInfo in this.OperationMap.Values)
{
if (machineInfo.Status is AsyncOperationStatus.Enabled)
{
enabledSchedulableIds.Add(machineInfo.Id);
}
}
return enabledSchedulableIds;
}
}
/// <summary>
/// Checks that no task that is not controlled by the runtime is currently executing.
/// </summary>