diff options
author | mdh1418 <mitchhwang1418@gmail.com> | 2020-02-06 16:49:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 16:49:28 +0300 |
commit | 7936510ec3fa458c1bc179831fcfe6db65e57d2c (patch) | |
tree | 7031618a819e4dd02209bdf13a366206ab14a20a /mcs | |
parent | 6fe343db8c9e693d31ced914afffd7f4b831d64a (diff) |
[corlib] Silence undocumented exceptions in ReadXdgUserDir (#18684)
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/corlib/System/Environment.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mcs/class/corlib/System/Environment.cs b/mcs/class/corlib/System/Environment.cs index fd936ab21a4..537ac2f3a06 100644 --- a/mcs/class/corlib/System/Environment.cs +++ b/mcs/class/corlib/System/Environment.cs @@ -612,8 +612,7 @@ namespace System { } } } - } catch (FileNotFoundException) { - } + } catch {} return Path.Combine (home_dir, fallback); } |