提交 e8d5a3f5 编写于 作者: M Maher Jendoubi

Contributing: fixed some typos

上级 485649c3
......@@ -119,7 +119,7 @@ function Exec-CommandCore([string]$command, [string]$commandArgs, [switch]$useCo
}
}
finally {
# If we didn't finish then an error occured or the user hit ctrl-c. Either
# If we didn't finish then an error occurred or the user hit ctrl-c. Either
# way kill the process
if (-not $finished) {
$process.Kill()
......
......@@ -770,7 +770,7 @@ public async Task BreakMode_ErrorReadingPdbFile()
var diagnostics = await service.GetDocumentDiagnosticsAsync(document2, CancellationToken.None).ConfigureAwait(false);
Assert.Empty(diagnostics);
// an error occured so we need to call update to determine whether we have changes to apply or not:
// an error occurred so we need to call update to determine whether we have changes to apply or not:
Assert.True(await service.HasChangesAsync(sourceFilePath: null, CancellationToken.None).ConfigureAwait(false));
Assert.Empty(_emitDiagnosticsUpdated);
......@@ -838,7 +838,7 @@ public async Task BreakMode_ErrorReadingSourceFile()
var diagnostics = await service.GetDocumentDiagnosticsAsync(document2, CancellationToken.None).ConfigureAwait(false);
Assert.Empty(diagnostics);
// an error occured so we need to call update to determine whether we have changes to apply or not:
// an error occurred so we need to call update to determine whether we have changes to apply or not:
Assert.True(await service.HasChangesAsync(sourceFilePath: null, CancellationToken.None).ConfigureAwait(false));
Assert.Empty(_emitDiagnosticsUpdated);
......
......@@ -282,7 +282,7 @@ public void CommitSolution(Solution solution)
/// Returns true if the PDB contains a document record for given <paramref name="sourceFilePath"/>,
/// in which case <paramref name="checksum"/> and <paramref name="algorithm"/> contain its checksum.
/// False if the document is not found in the PDB.
/// Null if it can't be determined because the PDB is not available or an error occured while reading the PDB.
/// Null if it can't be determined because the PDB is not available or an error occurred while reading the PDB.
/// </summary>
private bool? TryReadSourceFileChecksumFromPdb(string sourceFilePath, ProjectId projectId, out ImmutableArray<byte> checksum, out SourceHashAlgorithm algorithm)
{
......
......@@ -507,7 +507,7 @@ public void DiscardSolutionUpdate()
}
// This method is only called when the EnC is about to apply changes, at which point all active statements and
// their exception regions will be needed. Hence it's not neccessary to scope this query down to just the instruction
// their exception regions will be needed. Hence it's not necessary to scope this query down to just the instruction
// the debugger is interested at this point while not calculating the others.
var baseActiveStatements = await editSession.BaseActiveStatements.GetValueAsync(cancellationToken).ConfigureAwait(false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册