From 822b3673bcc016860d6fb45ad98fca2dd42ba2df Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Fri, 17 Jul 2015 15:25:17 -0700 Subject: [PATCH] Move tag source to where it is used. --- src/EditorFeatures/Core/EditorFeatures.csproj | 2 +- .../Classification}/SemanticBufferTagSource.cs | 3 ++- .../Classification/SemanticClassificationTaggerProvider.cs | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) rename src/EditorFeatures/Core/{Shared/Tagging/TagSources => Implementation/Classification}/SemanticBufferTagSource.cs (98%) diff --git a/src/EditorFeatures/Core/EditorFeatures.csproj b/src/EditorFeatures/Core/EditorFeatures.csproj index f0f41b11e57..14beeda7180 100644 --- a/src/EditorFeatures/Core/EditorFeatures.csproj +++ b/src/EditorFeatures/Core/EditorFeatures.csproj @@ -760,7 +760,7 @@ - + diff --git a/src/EditorFeatures/Core/Shared/Tagging/TagSources/SemanticBufferTagSource.cs b/src/EditorFeatures/Core/Implementation/Classification/SemanticBufferTagSource.cs similarity index 98% rename from src/EditorFeatures/Core/Shared/Tagging/TagSources/SemanticBufferTagSource.cs rename to src/EditorFeatures/Core/Implementation/Classification/SemanticBufferTagSource.cs index 7e72d6e34c4..f1a013f53ac 100644 --- a/src/EditorFeatures/Core/Shared/Tagging/TagSources/SemanticBufferTagSource.cs +++ b/src/EditorFeatures/Core/Implementation/Classification/SemanticBufferTagSource.cs @@ -5,6 +5,7 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; +using Microsoft.CodeAnalysis.Editor.Shared.Tagging; using Microsoft.CodeAnalysis.Editor.Shared.Utilities; using Microsoft.CodeAnalysis.Editor.Tagging; using Microsoft.CodeAnalysis.LanguageServices; @@ -15,7 +16,7 @@ using Microsoft.VisualStudio.Text.Tagging; using Roslyn.Utilities; -namespace Microsoft.CodeAnalysis.Editor.Shared.Tagging.TagSources +namespace Microsoft.CodeAnalysis.Editor.Implementation.Classification { internal sealed class SemanticBufferTagSource : ProducerPopulatedTagSource where TTag : ITag { diff --git a/src/EditorFeatures/Core/Implementation/Classification/SemanticClassificationTaggerProvider.cs b/src/EditorFeatures/Core/Implementation/Classification/SemanticClassificationTaggerProvider.cs index 418798a6722..dcbecfddc5c 100644 --- a/src/EditorFeatures/Core/Implementation/Classification/SemanticClassificationTaggerProvider.cs +++ b/src/EditorFeatures/Core/Implementation/Classification/SemanticClassificationTaggerProvider.cs @@ -8,7 +8,6 @@ using Microsoft.CodeAnalysis.Editor.Shared.Extensions; using Microsoft.CodeAnalysis.Editor.Shared.Options; using Microsoft.CodeAnalysis.Editor.Shared.Tagging; -using Microsoft.CodeAnalysis.Editor.Shared.Tagging.TagSources; using Microsoft.CodeAnalysis.Editor.Shared.Utilities; using Microsoft.CodeAnalysis.Editor.Tagging; using Microsoft.CodeAnalysis.ErrorReporting; -- GitLab