You've already forked linux-packaging-mono
Imported Upstream version 4.2.0.179
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
This commit is contained in:
committed by
Jo Shields
parent
183bba2c9a
commit
6992685b86
@@ -108,6 +108,11 @@ namespace System.Runtime.Versioning
|
||||
return MakeVersionSafeName(name, from, to, null);
|
||||
}
|
||||
|
||||
#if MONO
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
extern static uint GetCurrentProcessId ();
|
||||
#endif
|
||||
|
||||
[System.Security.SecuritySafeCritical] // auto-generated
|
||||
[ResourceExposure(ResourceScope.None)]
|
||||
[ResourceConsumption(ResourceScope.Process, ResourceScope.Process)]
|
||||
@@ -131,7 +136,11 @@ namespace System.Runtime.Versioning
|
||||
if ((requires & SxSRequirements.ProcessID) != 0) {
|
||||
safeName.Append(separator);
|
||||
safeName.Append('p');
|
||||
#if MONO
|
||||
safeName.Append (GetCurrentProcessId ());
|
||||
#else
|
||||
safeName.Append(Win32Native.GetCurrentProcessId());
|
||||
#endif
|
||||
}
|
||||
if ((requires & SxSRequirements.CLRInstanceID) != 0) {
|
||||
String clrID = GetCLRInstanceString();
|
||||
|
||||
Reference in New Issue
Block a user