Skip to content

Commit 92b0005

Browse files
committed
fix SA1124
1 parent 901a9dd commit 92b0005

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/KubernetesClient/ResourceQuantity.cs

-4
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,6 @@ public static implicit operator ResourceQuantity(decimal v)
226226
return new ResourceQuantity(v, 0, SuffixFormat.DecimalExponent);
227227
}
228228

229-
#region suffixer
230-
231229
private class Suffixer
232230
{
233231
private static readonly IReadOnlyDictionary<string, (int, int)> BinSuffixes =
@@ -373,7 +371,5 @@ private static Fraction Roundup(Fraction lastv)
373371
return lastv;
374372
}
375373
}
376-
377-
#endregion
378374
}
379375
}

tests/KubernetesClient.Tests/Mock/MockWebSocket.cs

-4
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ public Task InvokeReceiveAsync(ArraySegment<byte> buffer, WebSocketMessageType m
4040
return Task.CompletedTask;
4141
}
4242

43-
#region WebSocket overrides
44-
4543
public override WebSocketCloseStatus? CloseStatus => this.closeStatus;
4644

4745
public override string CloseStatusDescription => this.closeStatusDescription;
@@ -133,8 +131,6 @@ public override Task SendAsync(ArraySegment<byte> buffer, WebSocketMessageType m
133131
return Task.CompletedTask;
134132
}
135133

136-
#endregion
137-
138134
public class MessageData
139135
{
140136
public ArraySegment<byte> Buffer { get; set; }

0 commit comments

Comments
 (0)