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
35
mcs/class/SMDiagnostics/ReferenceSources/TraceSR.cs
Normal file
35
mcs/class/SMDiagnostics/ReferenceSources/TraceSR.cs
Normal file
@ -0,0 +1,35 @@
|
||||
using System.Globalization;
|
||||
|
||||
static partial class TraceSR
|
||||
{
|
||||
public const string ThrowingException = "throwing exception.";
|
||||
public const string StringNullOrEmpty = "Argument string is null or empty.";
|
||||
public const string GenericCallbackException = "Callback exception has occured.";
|
||||
public const string TraceHandledException = "Trace handled exception.";
|
||||
public const string TraceCodeTraceTruncatedQuotaExceeded = "TraceTruncatedQuotaExceeded";
|
||||
public const string TraceCodeAppDomainUnload = "AppDomainUnload";
|
||||
public const string UnhandledException = "Unhandled exception.";
|
||||
public const string TraceCodeEventLog = "EventLog";
|
||||
public const string WriteCharsInvalidContent = "invalid content.";
|
||||
|
||||
internal static string GetString(string name, params object[] args)
|
||||
{
|
||||
return GetString (CultureInfo.InvariantCulture, name, args);
|
||||
}
|
||||
|
||||
internal static string GetString(CultureInfo culture, string name, params object[] args)
|
||||
{
|
||||
return string.Format (culture, name, args);
|
||||
}
|
||||
|
||||
internal static string GetString(string name)
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
internal static string GetString(CultureInfo culture, string name)
|
||||
{
|
||||
return name;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user