You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
@@ -216,12 +216,15 @@ namespace System.Diagnostics {
|
||||
#endif
|
||||
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
private extern static void WriteWindowsDebugString (string message);
|
||||
unsafe private extern static void WriteWindowsDebugString (char* message);
|
||||
|
||||
private void WriteDebugString (string message)
|
||||
unsafe private void WriteDebugString (string message)
|
||||
{
|
||||
if (OnWin32)
|
||||
WriteWindowsDebugString (message);
|
||||
if (OnWin32) {
|
||||
fixed (char* fmessage = message) {
|
||||
WriteWindowsDebugString (fmessage);
|
||||
}
|
||||
}
|
||||
else
|
||||
WriteMonoTrace (message);
|
||||
}
|
||||
|
Reference in New Issue
Block a user