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