You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@@ -144,7 +144,7 @@ namespace System.Diagnostics {
|
||||
|
||||
public string FileName {
|
||||
get {
|
||||
#if !NET_2_1
|
||||
#if !MOBILE
|
||||
if (SecurityManager.SecurityEnabled) {
|
||||
new FileIOPermission (FileIOPermissionAccess.PathDiscovery, filename).Demand ();
|
||||
}
|
||||
@@ -278,7 +278,7 @@ namespace System.Diagnostics {
|
||||
|
||||
public static FileVersionInfo GetVersionInfo (string fileName)
|
||||
{
|
||||
#if !NET_2_1
|
||||
#if !MOBILE
|
||||
if (SecurityManager.SecurityEnabled) {
|
||||
new FileIOPermission (FileIOPermissionAccess.Read, fileName).Demand ();
|
||||
}
|
||||
@@ -293,7 +293,7 @@ namespace System.Diagnostics {
|
||||
return fvi;
|
||||
}
|
||||
|
||||
// use our own AppendFormat because NET_2_1 have only this overload
|
||||
// use our own AppendFormat because MOBILE have only this overload
|
||||
static void AppendFormat (StringBuilder sb, string format, params object [] args)
|
||||
{
|
||||
sb.AppendFormat (format, args);
|
||||
|
||||
Reference in New Issue
Block a user