TeamCity.MSBuild.Logger/DictionaryEntryKeyComparer.cs (13 lines of code) (raw):

namespace TeamCity.MSBuild.Logger { using System; using System.Collections.Generic; internal class DictionaryEntryKeyComparer : IComparer<Property> { public static readonly IComparer<Property> Shared = new DictionaryEntryKeyComparer(); private DictionaryEntryKeyComparer() { } public int Compare(Property x, Property y) => string.Compare(x.Name, y.Name, StringComparison.CurrentCultureIgnoreCase); } }