FatalError.ReportWithoutCrash(newSystem.Exception("We had an open document but it wasn't associated with a buffer. That meant we coudln't apply formatting settings."));
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#nullableenable
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Text;
usingSystem.Threading;
usingSystem.Threading.Tasks;
usingMicrosoft.VisualStudio.Text;
namespaceMicrosoft.CodeAnalysis.Text
...
...
@@ -17,20 +18,20 @@ public static SourceTextContainer AsTextContainer(this ITextBuffer buffer)
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#nullableenable
usingSystem.Collections.Generic;
usingSystem.Linq;
usingRoslyn.Utilities;
...
...
@@ -19,7 +21,7 @@ public static IEnumerable<Document> GetRelatedDocumentsWithChanges(this SourceTe