diff --git a/eng/build-utils.ps1 b/eng/build-utils.ps1 index 081b99f4024b5ca014280965cdb80277c3d02af9..763c6a0e0cff961af84a8d117bf35b544328bc3a 100644 --- a/eng/build-utils.ps1 +++ b/eng/build-utils.ps1 @@ -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() diff --git a/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs b/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs index 0e223a5e5509f7d36bd6e730914d9a411049f329..e2c2f4dca6fe3292dafdcfa16ef71b3a0a184da5 100644 --- a/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs +++ b/src/EditorFeatures/Test/EditAndContinue/EditAndContinueWorkspaceServiceTests.cs @@ -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); diff --git a/src/Features/Core/Portable/EditAndContinue/CommittedSolution.cs b/src/Features/Core/Portable/EditAndContinue/CommittedSolution.cs index aaea0a9a0ac3cc5d743a981cd20cba6c5b13ad25..25f680652a4cc17189713b0bac6e9bc1820e98fb 100644 --- a/src/Features/Core/Portable/EditAndContinue/CommittedSolution.cs +++ b/src/Features/Core/Portable/EditAndContinue/CommittedSolution.cs @@ -282,7 +282,7 @@ public void CommitSolution(Solution solution) /// Returns true if the PDB contains a document record for given , /// in which case and 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. /// private bool? TryReadSourceFileChecksumFromPdb(string sourceFilePath, ProjectId projectId, out ImmutableArray checksum, out SourceHashAlgorithm algorithm) { diff --git a/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs b/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs index 1b1f4adc2e8bd5b73e9eb34bb982b967f7c41fef..cf7bf63b5aab8a213a5c82bca1158a0a33d0a705 100644 --- a/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs +++ b/src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs @@ -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);