// 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.
// 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
namespaceMicrosoft.CodeAnalysis.Shared.Extensions
{
internalstaticclassFileLinePositionSpanExtensions
...
...
@@ -7,7 +9,7 @@ internal static class FileLinePositionSpanExtensions
/// <summary>
/// Get mapped file path if exist, otherwise return null.
// 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.Collections.Immutable;
...
...
@@ -87,15 +89,15 @@ internal static partial class IFindReferencesResultExtensions
// 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.
#nullableenable
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
...
...
@@ -13,7 +15,7 @@ internal static class ILanguageServiceProviderExtensions
// 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.Collections.Immutable;
usingSystem.Threading;
...
...
@@ -22,18 +25,20 @@ internal static partial class ISolutionExtensions
// 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.Immutable;
usingSystem.Linq;
usingSystem.Threading;
...
...
@@ -22,7 +24,7 @@ public static ImmutableArray<TypeInferenceInfo> GetTypeInferenceInfo(this ITypeI
// 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.
// 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.
// 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.Immutable;
usingSystem.Diagnostics;
...
...
@@ -69,7 +71,7 @@ public static int ConvertTabToSpace(this string textSnippet, int tabSize, int in
// 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.Diagnostics.CodeAnalysis;
usingSystem.Linq;
usingSystem.Threading;
usingSystem.Threading.Tasks;
...
...
@@ -19,7 +22,7 @@ public static IEnumerable<SyntaxNodeOrToken> DepthFirstTraversal(this SyntaxNode
// 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.
#nullableenable
usingMicrosoft.CodeAnalysis.Text;
usingRoslyn.Utilities;
...
...
@@ -34,7 +36,7 @@ public static TextDocument WithText(this TextDocument textDocument, SourceText t