Skip to content

Commit a8fff28

Browse files
committed
Whitelist System.Threading.Monitor namespace
1 parent 5fe9c71 commit a8fff28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CompiledAssembly.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class CompiledAssembly
4242
private static IEnumerable<string> WhitelistedNamespaces => new[] {
4343
"System.Diagnostics.Stopwatch", "System.IO.MemoryStream", "System.IO.Stream", "System.IO.BinaryReader", "System.IO.BinaryWriter", "System.IO.StringReader",
4444
"System.Net.Dns", "System.Net.Dns.GetHostEntry", "System.Net.IPAddress", "System.Net.IPEndPoint", "System.Net.NetworkInformation",
45-
"System.Net.Sockets.SocketFlags", "System.Security.Cryptography", "System.Threading.Interlocked"
45+
"System.Net.Sockets.SocketFlags", "System.Security.Cryptography", "System.Threading.Interlocked", "System.Threading.Monitor"
4646
};
4747

4848
public CompiledAssembly(string name, CompilablePlugin[] plugins, byte[] rawAssembly, float duration)

0 commit comments

Comments
 (0)