OSDN Git Service

OpenTween v3.11.0 リリース
[opentween/open-tween.git] / OpenTween / RegexAsync.cs
index 50557e4..aeae95d 100644 (file)
 // for more details.
 //
 // You should have received a copy of the GNU General public License along
-// with this program. if (not, see <http://www.gnu.org/licenses/>, or write to
+// with this program. If not, see <http://www.gnu.org/licenses/>, or write to
 // the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
 // Boston, MA 02110-1301, USA.
 
+#nullable enable
+
 using System;
 using System.Collections.Concurrent;
 using System.Collections.Generic;
@@ -39,7 +41,7 @@ namespace OpenTween
                 .GroupBy(x => x.Value) // ToDictionaryする際に key が重複しないようにする
                 .Select(async x => new
                 {
-                    Key = x.Key,
+                    x.Key,
                     Value = await evaluator(x.First()).ConfigureAwait(false),
                 });