6internal static class SR
59 if (!(resourceKey == resourceString) && resourceString !=
null)
61 return resourceString;
66 internal static string Format(
string resourceFormat,
object? p1)
70 return string.Join(
", ", resourceFormat, p1);
72 return string.Format(resourceFormat, p1);
75 internal static string Format(
string resourceFormat,
object? p1,
object? p2)
79 return string.Join(
", ", resourceFormat, p1, p2);
81 return string.Format(resourceFormat, p1, p2);
84 internal static string Format(
string resourceFormat,
object? p1,
object? p2,
object? p3)
88 return string.Join(
", ", resourceFormat, p1, p2, p3);
90 return string.Format(resourceFormat, p1, p2, p3);
93 internal static string Format(
string resourceFormat, params
object?[]? args)
99 return resourceFormat +
", " +
string.Join(
", ", args);
101 return string.Format(resourceFormat, args);
103 return resourceFormat;
110 return string.Join(
", ", resourceFormat, p1);
112 return string.Format(provider, resourceFormat, p1);
119 return string.Join(
", ", resourceFormat, p1, p2);
121 return string.Format(provider, resourceFormat, p1, p2);
128 return string.Join(
", ", resourceFormat, p1, p2, p3);
130 return string.Format(provider, resourceFormat, p1, p2, p3);
139 return resourceFormat +
", " +
string.Join(
", ", args);
141 return string.Format(provider, resourceFormat, args);
143 return resourceFormat;
static bool TryGetSwitch(string switchName, out bool isEnabled)
virtual ? string GetString(string name)
static string GetResourceString(string resourceKey, string defaultString)
static string Format(string resourceFormat, object? p1)
static ResourceManager s_resourceManager
static string Format(string resourceFormat, object? p1, object? p2, object? p3)
static string Format(IFormatProvider? provider, string resourceFormat, object? p1, object? p2)
static string CollectionModifiedDuringEnumeration
static ResourceManager ResourceManager
static string Format(string resourceFormat, params object?[]? args)
static string InvalidOperationOnDefaultArray
static string CapacityMustEqualCountOnMove
static string Format(string resourceFormat, object? p1, object? p2)
static string Format(IFormatProvider? provider, string resourceFormat, object? p1, object? p2, object? p3)
static string ArrayLengthsNotEqual
static string CapacityMustBeGreaterThanOrEqualToCount
static string GetResourceString(string resourceKey)
static string Format(IFormatProvider? provider, string resourceFormat, object? p1)
static bool UsingResourceKeys()
static string ArrayInitializedStateNotEqual
static string InvalidEmptyOperation
static string DuplicateKey
static readonly bool s_usingResourceKeys
static string CannotFindOldValue
static string Arg_KeyNotFoundWithKey
static string Format(IFormatProvider? provider, string resourceFormat, params object?[]? args)