system\convert.cs (23)
689return SByte.Parse(value, CultureInfo.CurrentCulture);
791return Byte.Parse(value, CultureInfo.CurrentCulture);
890return Int16.Parse(value, CultureInfo.CurrentCulture);
1003return UInt16.Parse(value, CultureInfo.CurrentCulture);
1115return Int32.Parse(value, CultureInfo.CurrentCulture);
1231return UInt32.Parse(value, CultureInfo.CurrentCulture);
1323return Int64.Parse(value, CultureInfo.CurrentCulture);
1430return UInt64.Parse(value, CultureInfo.CurrentCulture);
1514return Single.Parse(value, CultureInfo.CurrentCulture);
1603return Double.Parse(value, CultureInfo.CurrentCulture);
1685return Decimal.Parse(value, CultureInfo.CurrentCulture);
1727return DateTime.Parse(value, CultureInfo.CurrentCulture);
1834return value.ToString(CultureInfo.CurrentCulture);
1845return value.ToString(CultureInfo.CurrentCulture);
1855return value.ToString(CultureInfo.CurrentCulture);
1866return value.ToString(CultureInfo.CurrentCulture);
1877return value.ToString(CultureInfo.CurrentCulture);
1888return value.ToString(CultureInfo.CurrentCulture);
1899return value.ToString(CultureInfo.CurrentCulture);
1910return value.ToString(CultureInfo.CurrentCulture);
1921return value.ToString(CultureInfo.CurrentCulture);
1931return value.ToString(CultureInfo.CurrentCulture);
1941return value.ToString(CultureInfo.CurrentCulture);
system\diagnostics\eventing\eventsource.cs (4)
6089ManifestError(Environment.GetResourceString("EventSource_KeywordNeedPowerOfTwo", "0x" + value.ToString("x", CultureInfo.CurrentCulture), name), true);
6093ManifestError(Environment.GetResourceString("EventSource_IllegalKeywordsValue", name, "0x" + value.ToString("x", CultureInfo.CurrentCulture)));
6096ManifestError(Environment.GetResourceString("EventSource_KeywordCollision", name, prevName, "0x" + value.ToString("x", CultureInfo.CurrentCulture)));
6714ManifestError(Environment.GetResourceString("EventSource_UndefinedKeyword", "0x" + bit.ToString("x", CultureInfo.CurrentCulture), eventName), true);
system\enum.cs (13)
954return Convert.ToBoolean(GetValue(), CultureInfo.CurrentCulture);
960return Convert.ToChar(GetValue(), CultureInfo.CurrentCulture);
966return Convert.ToSByte(GetValue(), CultureInfo.CurrentCulture);
972return Convert.ToByte(GetValue(), CultureInfo.CurrentCulture);
978return Convert.ToInt16(GetValue(), CultureInfo.CurrentCulture);
984return Convert.ToUInt16(GetValue(), CultureInfo.CurrentCulture);
990return Convert.ToInt32(GetValue(), CultureInfo.CurrentCulture);
996return Convert.ToUInt32(GetValue(), CultureInfo.CurrentCulture);
1002return Convert.ToInt64(GetValue(), CultureInfo.CurrentCulture);
1008return Convert.ToUInt64(GetValue(), CultureInfo.CurrentCulture);
1014return Convert.ToSingle(GetValue(), CultureInfo.CurrentCulture);
1020return Convert.ToDouble(GetValue(), CultureInfo.CurrentCulture);
1026return Convert.ToDecimal(GetValue(), CultureInfo.CurrentCulture);
system\reflection\customattribute.cs (12)
506ctorArgs += String.Format(CultureInfo.CurrentCulture, i == 0 ? "{0}" : ", {0}", ConstructorArguments[i]);
510namedArgs += String.Format(CultureInfo.CurrentCulture, i == 0 && ctorArgs.Length == 0 ? "{0}" : ", {0}", NamedArguments[i]);
512return String.Format(CultureInfo.CurrentCulture, "[{0}({1}{2})]", Constructor.DeclaringType.FullName, ctorArgs, namedArgs);
644return String.Format(CultureInfo.CurrentCulture, "{0} = {1}", MemberInfo.Name, TypedValue.ToString(ArgumentType != typeof(object)));
919return String.Format(CultureInfo.CurrentCulture, typed ? "{0}" : "({1}){0}", Value, ArgumentType.FullName);
922return String.Format(CultureInfo.CurrentCulture, typed ? "null" : "({0})null", ArgumentType.Name);
925return String.Format(CultureInfo.CurrentCulture, "\"{0}\"", Value);
928return String.Format(CultureInfo.CurrentCulture, "'{0}'", Value);
931return String.Format(CultureInfo.CurrentCulture, "typeof({0})", ((Type)Value).FullName);
939result = String.Format(CultureInfo.CurrentCulture, @"new {0}[{1}] {{ ", elementType.IsEnum ? elementType.FullName : elementType.Name, array.Count);
942result += String.Format(CultureInfo.CurrentCulture, i == 0 ? "{0}" : ", {0}", array[i].ToString(elementType != typeof(object)));
947return String.Format(CultureInfo.CurrentCulture, typed ? "{0}" : "({1}){0}", Value, ArgumentType.Name);
system\rttype.cs (6)
2050CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_ResolveMethodHandle"),
2078CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_ResolveMethodHandle"),
2100CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_ResolveMethodHandle"),
2170CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_ResolveFieldHandle"),
2263i.ToString(CultureInfo.CurrentCulture), genericArgument.ToString(), definition.ToString(), genericParameter.ToString()), e);
5316throw new NotSupportedException(String.Format(CultureInfo.CurrentCulture,
system\runtime\remoting\configuration.cs (17)
231CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_AppNameSet"),
373CultureInfo.CurrentCulture, Environment.GetResourceString(
425CultureInfo.CurrentCulture, Environment.GetResourceString(
497CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_InvalidChannelType"),
528CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_ChannelMissingCtor"),
602CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_InvalidSinkProviderType"),
614CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_InvalidSinkProviderType"),
628CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_SinkProviderNotFormatter"),
651CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_SinkProviderMissingCtor"),
1135CultureInfo.CurrentCulture, Environment.GetResourceString(
1298CultureInfo.CurrentCulture, Environment.GetResourceString(
1380CultureInfo.CurrentCulture, Environment.GetResourceString(
1389CultureInfo.CurrentCulture, Environment.GetResourceString(
1418CultureInfo.CurrentCulture, Environment.GetResourceString(
1427CultureInfo.CurrentCulture, Environment.GetResourceString(
1470CultureInfo.CurrentCulture, Environment.GetResourceString(
1633CultureInfo.CurrentCulture, Environment.GetResourceString(
system\runtime\remoting\message.cs (11)
522CultureInfo.CurrentCulture, Environment.GetResourceString(
556CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Message_MissingArgValue"),
572CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Message_MissingArgValue"),
634CultureInfo.CurrentCulture, Environment.GetResourceString(
761CultureInfo.CurrentCulture, Environment.GetResourceString(
806CultureInfo.CurrentCulture, Environment.GetResourceString(
3119CultureInfo.CurrentCulture, Environment.GetResourceString(
3275CultureInfo.CurrentCulture, Environment.GetResourceString(
3428CultureInfo.CurrentCulture, Environment.GetResourceString(
3439CultureInfo.CurrentCulture, Environment.GetResourceString(
4142CultureInfo.CurrentCulture, Environment.GetResourceString(
system\runtime\remoting\remotingconfigparser.cs (10)
704CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_NodeMustBeUnique"),
714CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_UnknownValue"),
730CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_RequiredXmlAttribute"),
740CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_MissingTypeAttribute"),
750CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_MissingXmlTypeAttribute"),
760CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_InvalidTimeFormat"),
772CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_NonTemplateIdAttribute"),
783CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_TemplateCannotReferenceTemplate"),
794CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_UnableToResolveTemplate"),
806CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Config_VersionPresent"),
system\runtime\remoting\remotingservices.cs (10)
215CultureInfo.CurrentCulture, Environment.GetResourceString(
254CultureInfo.CurrentCulture, Environment.GetResourceString(
282CultureInfo.CurrentCulture, Environment.GetResourceString(
1003CultureInfo.CurrentCulture, Environment.GetResourceString(
1186CultureInfo.CurrentCulture, Environment.GetResourceString(
1257CultureInfo.CurrentCulture, Environment.GetResourceString(
1390CultureInfo.CurrentCulture, Environment.GetResourceString(
1461CultureInfo.CurrentCulture, Environment.GetResourceString(
1713CultureInfo.CurrentCulture, Environment.GetResourceString(
1890CultureInfo.CurrentCulture, Environment.GetResourceString(
system\runtime\remoting\soapinteroptypes.cs (12)
219CultureInfo.CurrentCulture, Environment.GetResourceString(
386CultureInfo.CurrentCulture, Environment.GetResourceString(
959CultureInfo.CurrentCulture, Environment.GetResourceString(
1050CultureInfo.CurrentCulture, Environment.GetResourceString(
1139CultureInfo.CurrentCulture, Environment.GetResourceString(
1152CultureInfo.CurrentCulture, Environment.GetResourceString(
1201CultureInfo.CurrentCulture, Environment.GetResourceString(
1214CultureInfo.CurrentCulture, Environment.GetResourceString(
1263CultureInfo.CurrentCulture, Environment.GetResourceString(
1276CultureInfo.CurrentCulture, Environment.GetResourceString(
1325CultureInfo.CurrentCulture, Environment.GetResourceString(
1338CultureInfo.CurrentCulture, Environment.GetResourceString(
system\security\accesscontrol\ace.cs (4)
856string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLength" ), 0, MaxOpaqueLength ));
862string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLengthMultiple" ), 4 ));
1303string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLength" ), 0, MaxOpaqueLengthInternal ));
1309string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLengthMultiple" ), 4 ));
system\security\securityelement.cs (9)
117throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), tag ) );
130throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), tag ) );
133throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementText" ), text ) );
156throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), value ) );
205throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementName" ), (String)enumerator.Current ) );
208throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementValue" ), (String)enumerator.Value ) );
235throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), value ) );
325throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementName" ), name ) );
328throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementValue" ), value ) );
system\security\securitymanager.cs (5)
217throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "configuration" ) );
221throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "mscorlib" ) );
225throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "security" ) );
229throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "policy" ) );
235throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "PolicyLevel" ) );
system\string.cs (27)
603return (CultureInfo.CurrentCulture.CompareInfo.Compare(this, value, CompareOptions.None) == 0);
606return (CultureInfo.CurrentCulture.CompareInfo.Compare(this, value, CompareOptions.IgnoreCase) == 0);
670return (CultureInfo.CurrentCulture.CompareInfo.Compare(a, b, CompareOptions.None) == 0);
673return (CultureInfo.CurrentCulture.CompareInfo.Compare(a, b, CompareOptions.IgnoreCase) == 0);
1776return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, CompareOptions.None);
1789return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, CompareOptions.IgnoreCase);
1791return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, CompareOptions.None);
1823return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, CompareOptions.None);
1826return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, CompareOptions.IgnoreCase);
1912return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None);
1938return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.IgnoreCase);
1940return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None);
2071return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None);
2074return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.IgnoreCase);
2123return CultureInfo.CurrentCulture.CompareInfo.Compare(this, strB, 0);
2209return CultureInfo.CurrentCulture.CompareInfo.IsSuffix(this, value, CompareOptions.None);
2212return CultureInfo.CurrentCulture.CompareInfo.IsSuffix(this, value, CompareOptions.IgnoreCase);
2244referenceCulture = CultureInfo.CurrentCulture;
2364return CultureInfo.CurrentCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.None);
2367return CultureInfo.CurrentCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.IgnoreCase);
2504return CultureInfo.CurrentCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.None);
2507return CultureInfo.CurrentCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.IgnoreCase);
2589return CultureInfo.CurrentCulture.CompareInfo.IsPrefix(this, value, CompareOptions.None);
2592return CultureInfo.CurrentCulture.CompareInfo.IsPrefix(this, value, CompareOptions.IgnoreCase);
2631referenceCulture = CultureInfo.CurrentCulture;
2643return this.ToLower(CultureInfo.CurrentCulture);
2670return this.ToUpper(CultureInfo.CurrentCulture);
system\text\stringbuilder.cs (22)
915return Append(value.ToString(CultureInfo.CurrentCulture));
922return Append(value.ToString(CultureInfo.CurrentCulture));
940return Append(value.ToString(CultureInfo.CurrentCulture));
947return Append(value.ToString(CultureInfo.CurrentCulture));
954return Append(value.ToString(CultureInfo.CurrentCulture));
961return Append(value.ToString(CultureInfo.CurrentCulture));
968return Append(value.ToString(CultureInfo.CurrentCulture));
973return Append(value.ToString(CultureInfo.CurrentCulture));
981return Append(value.ToString(CultureInfo.CurrentCulture));
989return Append(value.ToString(CultureInfo.CurrentCulture));
997return Append(value.ToString(CultureInfo.CurrentCulture));
1072return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
1082return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
1092return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
1178return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
1188return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
1198return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
1208return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
1213return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
1223return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
1233return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
1243return Insert(index, value.ToString(CultureInfo.CurrentCulture), 1);
compmod\system\componentmodel\TypeConverter.cs (5)
100return ConvertFrom(null, CultureInfo.CurrentCulture, value);
140return ConvertFrom(context, CultureInfo.CurrentCulture, text);
175if(culture != null && culture != CultureInfo.CurrentCulture) {
208return (string)ConvertTo(null, CultureInfo.CurrentCulture, value, typeof(string));
215return (string)ConvertTo(context, CultureInfo.CurrentCulture, value, typeof(string));
net\System\Net\_SSPIWrapper.cs (5)
134if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireDefaultCredential()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode)));
174if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode)));
192if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode)));
218if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode)));
484Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, op, String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode)));
security\system\security\permissions\typedescriptorpermission.cs (5)
123throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName));
141throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName));
161throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName));
173throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), (int)type));
219throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), (int)flags));
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (3)
482xClassName = string.Format(CultureInfo.CurrentCulture, "_{0}", Guid.NewGuid().ToString().Replace("-", string.Empty).Substring(0, 4));
808propertyName = string.Format(CultureInfo.CurrentCulture, "_{0}", Guid.NewGuid().ToString().Replace("-", string.Empty));
883this.propertyName = string.Format(CultureInfo.CurrentCulture, "_{0}", Guid.NewGuid().ToString().Replace("-", string.Empty));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (12)
59string.Format(CultureInfo.CurrentCulture, Resources.Error_NullImplementation, "CreateContextItemManager")));
80string.Format(CultureInfo.CurrentCulture, Resources.Error_NullImplementation, "CreateServiceManager")));
238string.Format(CultureInfo.CurrentCulture,
272CultureInfo.CurrentCulture,
303string.Format(CultureInfo.CurrentCulture,
365string.Format(CultureInfo.CurrentCulture,
408string.Format(CultureInfo.CurrentCulture,
540throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_RecursionResolvingService, serviceType.FullName)));
558string.Format(CultureInfo.CurrentCulture,
567string.Format(CultureInfo.CurrentCulture,
689string.Format(CultureInfo.CurrentCulture,
708CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\CategoryListAutomationPeer.cs (1)
90CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (1)
147CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (1)
193CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (1)
110CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
46CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionStop.cs (1)
76CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelectionStop.cs (1)
74CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (4)
206throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i])));
257throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i])));
497return (0 == string.Compare(value, 0, nameDefaultPrefix, 0, nameDefaultPrefix.Length, CultureInfo.CurrentCulture, CompareOptions.None));
512return string.Format(CultureInfo.CurrentCulture, "{0}{1}", nameDefaultPrefix, id);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (12)
59string.Format(CultureInfo.CurrentCulture, Resources.Error_NullImplementation, "CreateContextItemManager")));
80string.Format(CultureInfo.CurrentCulture, Resources.Error_NullImplementation, "CreateServiceManager")));
238string.Format(CultureInfo.CurrentCulture,
272CultureInfo.CurrentCulture,
303string.Format(CultureInfo.CurrentCulture,
365string.Format(CultureInfo.CurrentCulture,
408string.Format(CultureInfo.CurrentCulture,
540throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_RecursionResolvingService, serviceType.FullName)));
558string.Format(CultureInfo.CurrentCulture,
567string.Format(CultureInfo.CurrentCulture,
689string.Format(CultureInfo.CurrentCulture,
708CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (1)
195CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\CategoryListAutomationPeer.cs (1)
90CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (1)
147CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (1)
193CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (1)
110CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
46CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionStop.cs (1)
76CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelectionStop.cs (1)
74CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\CategoryEditor.cs (1)
76CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueEditor.cs (1)
77CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (4)
206throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i])));
257throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i])));
497return (0 == string.Compare(value, 0, nameDefaultPrefix, 0, nameDefaultPrefix.Length, CultureInfo.CurrentCulture, CompareOptions.None));
512return string.Format(CultureInfo.CurrentCulture, "{0}{1}", nameDefaultPrefix, id);
System\ServiceModel\Security\SecurityTimestamp.cs (8)
165throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TimeStampHasCreationAheadOfExpiry, this.CreationTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), this.ExpiryTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture))));
177throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TimeStampHasExpiryTimeInPast, this.ExpiryTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), now.ToString(DefaultFormat, CultureInfo.CurrentCulture), allowedClockSkew)));
183throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TimeStampHasCreationTimeInFuture, this.CreationTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), now.ToString(DefaultFormat, CultureInfo.CurrentCulture), allowedClockSkew)));
189throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.TimeStampWasCreatedTooLongAgo, this.CreationTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), now.ToString(DefaultFormat, CultureInfo.CurrentCulture), timeToLive, allowedClockSkew)));
ErrorFormatter.cs (8)
248StringWriter stringWriter = new StringWriter(CultureInfo.CurrentCulture);
310errorContent.Append(String.Format(CultureInfo.CurrentCulture, errorBeginTemplate, errorHeader, ErrorTitle));
1033sb.Append(" (0x" + (((ExternalException)e).ErrorCode).ToString("x", CultureInfo.CurrentCulture) + ")");
1503String linestr = i.ToString("G", CultureInfo.CurrentCulture);
1641CultureInfo.CurrentCulture));
1747sb.Append(String.Format(CultureInfo.CurrentCulture, startExpandableBlock, "compilerOutputDiv",
1764sb.Append(String.Format(CultureInfo.CurrentCulture, startExpandableBlock, "dynamicCodeDiv",
1771string number = currentLine.ToString("G", CultureInfo.CurrentCulture);
ModelBinding\Error.cs (8)
9string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.BindingBehavior_ValueNotFound),
15string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Common_TypeMustImplementInterface),
21string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.GenericModelBinderProvider_ParameterMustSpecifyOpenGenericType),
27string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.GenericModelBinderProvider_TypeArgumentCountMismatch),
33string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelBinderProviderCollection_BinderForTypeNotFound),
40string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelBinderUtil_ModelCannotBeNull),
47string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelBinderUtil_ModelInstanceIsWrong),
59string errorString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelBinderUtil_ModelTypeIsWrong),