From 951ac24ae92fb4df51ab70ac214615b2ba4cd395 Mon Sep 17 00:00:00 2001 From: Sebastian Lague Date: Fri, 21 Jul 2023 19:07:12 +0200 Subject: [PATCH] Update rules to disallow LINQ AsParallel() --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bf08dcd..bef1833 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,10 @@ You can submit your entry [here](https://forms.gle/6jjj8jxNQ5Ln53ie6). * Only the following namespaces are allowed: * ChessChallenge.API * System - * System.Linq * System.Numerics * System.Collections.Generic + * System.Linq + * You may not use the AsParallel() function * As implied by the allowed namespaces, you may not read data from a file or access the internet, nor may you create any new threads or tasks to run code in parallel/in the background. * You may not use the unsafe keyword. * You may not store data inside the name of a variable/function/class etc (to be extracted with nameof(), GetType().ToString(), Environment.StackTracks and so on).