From 86cd0ec0229e580a39127a8f62409dfaa9831804 Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 30 Sep 2017 14:21:42 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Ext.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 97d31a03..20eaba93 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -197,11 +197,14 @@ namespace WebSocketSharp : stream.ToByteArray (); } - internal static bool Contains (this IEnumerable source, Func condition) + internal static bool Contains ( + this IEnumerable source, Func condition + ) { - foreach (T elm in source) + foreach (T elm in source) { if (condition (elm)) return true; + } return false; }