You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
@@ -144,7 +144,7 @@ namespace System.Diagnostics {
|
||||
|
||||
public string FileName {
|
||||
get {
|
||||
#if !MOBILE
|
||||
#if MONO_FEATURE_CAS
|
||||
if (SecurityManager.SecurityEnabled) {
|
||||
new FileIOPermission (FileIOPermissionAccess.PathDiscovery, filename).Demand ();
|
||||
}
|
||||
@@ -278,7 +278,7 @@ namespace System.Diagnostics {
|
||||
|
||||
public static FileVersionInfo GetVersionInfo (string fileName)
|
||||
{
|
||||
#if !MOBILE
|
||||
#if MONO_FEATURE_CAS
|
||||
if (SecurityManager.SecurityEnabled) {
|
||||
new FileIOPermission (FileIOPermissionAccess.Read, fileName).Demand ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user