diff options
| author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-12-20 20:27:21 -0500 |
|---|---|---|
| committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-12-20 20:27:21 -0500 |
| commit | 0a00c70397d85777499dcf7877cef08727a2dbae (patch) | |
| tree | 1e27745dfeb3f555f4bfd997d3ae6772d79eb823 /src/SMAPI/Metadata | |
| parent | 4da65cf4c079ee32f0a5582fb73add2362b5a70c (diff) | |
| download | SMAPI-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.cs | 1 |
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); |
