10
10
using System ;
11
11
using System . Collections . Generic ;
12
12
using System . Collections . ObjectModel ;
13
- using System . Diagnostics . CodeAnalysis ;
14
13
using System . Linq ;
15
14
16
15
using CodeJam . Collections ;
@@ -38,7 +37,6 @@ namespace CodeJam.Ranges
38
37
/// <typeparam name="TKey">The type of the range key</typeparam>
39
38
[ Serializable ]
40
39
[ PublicAPI ]
41
- [ SuppressMessage ( "ReSharper" , "SuggestVarOrType_BuiltInTypes" ) ]
42
40
public partial struct CompositeRange < T , TKey > : IEquatable < CompositeRange < T , TKey > > , IFormattable
43
41
{
44
42
#region Nested types
@@ -55,7 +53,7 @@ private sealed class SubRangesComparer : IComparer<Range<T, TKey>>
55
53
/// <param name="x">The first object to compare.</param>
56
54
/// <param name="y">The second object to compare.</param>
57
55
/// <returns>
58
- /// A signed integer that indicates the relative values of <paramref name="x" /> and <paramref name="y" />
56
+ /// A signed integer that indicates the relative values of <paramref name="x"/> and <paramref name="y"/>
59
57
/// </returns>
60
58
public int Compare ( Range < T , TKey > x , Range < T , TKey > y )
61
59
{
@@ -224,7 +222,9 @@ internal CompositeRange([NotNull] IEnumerable<Range<T, TKey>> ranges, UnsafeOver
224
222
#endregion
225
223
226
224
#region Properties
227
- /// <summary>The composite range cannot be simplified anymore. Subranges do not intersect and start one exactly after another.</summary>
225
+ /// <summary>
226
+ /// The composite range cannot be simplified anymore. Subranges do not intersect and start one exactly after another.
227
+ /// </summary>
228
228
/// <value><c>true</c> if all subranges are merged already; otherwise, <c>false</c>.</value>
229
229
public bool IsMerged => ! _hasRangesToMerge ;
230
230
0 commit comments