summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-20 20:27:21 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-12-20 20:27:21 -0500
commit0a00c70397d85777499dcf7877cef08727a2dbae (patch)
tree1e27745dfeb3f555f4bfd997d3ae6772d79eb823 /src/SMAPI/Metadata
parent4da65cf4c079ee32f0a5582fb73add2362b5a70c (diff)
downloadSMAPI-0a00c70397d85777499dcf7877cef08727a2dbae.tar.gz
SMAPI-0a00c70397d85777499dcf7877cef08727a2dbae.tar.bz2
SMAPI-0a00c70397d85777499dcf7877cef08727a2dbae.zip
add console warning in paranoid mode
Diffstat (limited to 'src/SMAPI/Metadata')
-rw-r--r--src/SMAPI/Metadata/InstructionMetadata.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SMAPI/Metadata/InstructionMetadata.cs b/src/SMAPI/Metadata/InstructionMetadata.cs
index 95482708..eee5c235 100644
--- a/src/SMAPI/Metadata/InstructionMetadata.cs
+++ b/src/SMAPI/Metadata/InstructionMetadata.cs
@@ -60,6 +60,7 @@ namespace StardewModdingAPI.Metadata
if (paranoidMode)
{
// filesystem access
+ yield return new TypeFinder(typeof(System.Console).FullName, InstructionHandleResult.DetectedConsoleAccess);
yield return new TypeFinder(typeof(System.IO.File).FullName, InstructionHandleResult.DetectedFilesystemAccess);
yield return new TypeFinder(typeof(System.IO.FileStream).FullName, InstructionHandleResult.DetectedFilesystemAccess);
yield return new TypeFinder(typeof(System.IO.FileInfo).FullName, InstructionHandleResult.DetectedFilesystemAccess);