提交 414753cb 编写于 作者: C Cyrus Najmabadi

Throw on expected value.

上级 bfbc676a
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
......@@ -345,10 +345,8 @@ private static string GetTitle(Scope scope)
return await GetDocumentsToUpdateForDependentProjectAsync(
document.Project, tupleType, cancellationToken).ConfigureAwait(false);
default:
break;
throw ExceptionUtilities.UnexpectedValue(scope);
}
throw new NotImplementedException();
}
private async Task<ImmutableArray<DocumentToUpdate>> GetDocumentsToUpdateForDependentProjectAsync(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册