Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Use LinkedList instead of Queue to find System.dll. #610

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/VRage.Library/Compiler/IlChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static IlChecker()
AllowNamespaceOfTypeCommon(typeof(System.Collections.IEnumerator));
AllowNamespaceOfTypeCommon(typeof(System.Collections.Generic.IEnumerable<>));
AllowNamespaceOfTypeCommon(typeof(System.Collections.Generic.HashSet<>));
AllowNamespaceOfTypeCommon(typeof(System.Collections.Generic.Queue<>));
AllowNamespaceOfTypeCommon(typeof(System.Collections.Generic.LinkedList<>));
AllowNamespaceOfTypeCommon(typeof(System.Collections.Generic.ListExtensions));
AllowNamespaceOfTypeCommon(typeof(System.Linq.Enumerable));
AllowNamespaceOfTypeCommon(typeof(System.Text.StringBuilder));
Expand Down
2 changes: 1 addition & 1 deletion Sources/VRage.Scripting/MyScriptWhitelist.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public MyScriptWhitelist(MyScriptCompiler scriptCompiler)
typeof(System.Collections.IEnumerator),
typeof(System.Collections.Generic.IEnumerable<>),
typeof(System.Collections.Generic.HashSet<>),
typeof(System.Collections.Generic.Queue<>),
typeof(System.Collections.Generic.LinkedList<>),
typeof(System.Collections.Concurrent.ConcurrentDictionary<,>),
typeof(System.Collections.Concurrent.ConcurrentBag<>),
typeof(System.Linq.Enumerable),
Expand Down