Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Util/TextDataUtil/BufferTracker.cs')
-rw-r--r--src/Text/Util/TextDataUtil/BufferTracker.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Util/TextDataUtil/BufferTracker.cs b/src/Text/Util/TextDataUtil/BufferTracker.cs
index f64e6bc..0ed007f 100644
--- a/src/Text/Util/TextDataUtil/BufferTracker.cs
+++ b/src/Text/Util/TextDataUtil/BufferTracker.cs
@@ -102,7 +102,7 @@ namespace Microsoft.VisualStudio.Text.Utilities
foreach (KeyValuePair<Object, Object> pair in ((IPropertyOwner)buffer).Properties.PropertyList)
{
- if (pair.Key.ToString() != "tag")
+ if (!string.Equals(pair.Key.ToString(), "tag", StringComparison.Ordinal))
{
string rhsType;
if (pair.Value == null)