2914 references to CurrentCulture
mscorlib (331)
system\char.cs (2)
387return ToUpper(c, CultureInfo.CurrentCulture); 415return ToLower(c, CultureInfo.CurrentCulture);
system\collections\caseinsensitivecomparer.cs (2)
29m_compareInfo = CultureInfo.CurrentCulture.CompareInfo; 46return new CaseInsensitiveComparer(CultureInfo.CurrentCulture);
system\collections\caseinsensitivehashcodeprovider.cs (2)
35m_text = CultureInfo.CurrentCulture.TextInfo; 52return new CaseInsensitiveHashCodeProvider(CultureInfo.CurrentCulture);
system\collections\comparer.cs (1)
30public static readonly Comparer Default = new Comparer(CultureInfo.CurrentCulture);
system\collections\sortedlist.cs (2)
100comparer = new Comparer(CultureInfo.CurrentCulture); 116comparer = new Comparer(CultureInfo.CurrentCulture);
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\datetime.cs (2)
1538return (GetDateTimeFormats(CultureInfo.CurrentCulture)); 1557return (GetDateTimeFormats(format, 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\environment.cs (1)
1333return String.Format(CultureInfo.CurrentCulture, s, values);
system\FormattableString.cs (1)
79return ToString(Globalization.CultureInfo.CurrentCulture);
system\gc.cs (2)
437CultureInfo.CurrentCulture, 447CultureInfo.CurrentCulture,
system\globalization\chineselunisolarcalendar.cs (2)
321CultureInfo.CurrentCulture, 342CultureInfo.CurrentCulture,
system\globalization\culturedata.cs (1)
977CultureInfo.CurrentCulture,
system\globalization\cultureinfo.cs (4)
431CultureInfo.CurrentCulture, 1952CultureInfo.CurrentCulture, 1972String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_CultureIetfNotSupported"), name) 1983String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_CultureIetfNotSupported"), name)
system\globalization\datetimeformat.cs (1)
341CultureInfo.CurrentCulture,
system\globalization\encodingtable.cs (1)
97CultureInfo.CurrentCulture,
system\globalization\globalizationassembly.cs (1)
56CultureInfo.CurrentCulture,
system\globalization\gregoriancalendar.cs (9)
72CultureInfo.CurrentCulture, 291CultureInfo.CurrentCulture, 400CultureInfo.CurrentCulture, 444CultureInfo.CurrentCulture, 511CultureInfo.CurrentCulture, 532CultureInfo.CurrentCulture, 558CultureInfo.CurrentCulture, 601CultureInfo.CurrentCulture, 623CultureInfo.CurrentCulture,
system\globalization\gregoriancalendarhelper.cs (6)
205throw new ArgumentOutOfRangeException("year", String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("ArgumentOutOfRange_Range"), 342CultureInfo.CurrentCulture, 389CultureInfo.CurrentCulture, 571CultureInfo.CurrentCulture, 608CultureInfo.CurrentCulture, 657CultureInfo.CurrentCulture,
system\globalization\hebrewcalendar.cs (5)
380CultureInfo.CurrentCulture, 403CultureInfo.CurrentCulture, 427CultureInfo.CurrentCulture, 709CultureInfo.CurrentCulture, 1066CultureInfo.CurrentCulture,
system\globalization\hijricalendar.cs (8)
230CultureInfo.CurrentCulture, 368CultureInfo.CurrentCulture, 382CultureInfo.CurrentCulture, 505CultureInfo.CurrentCulture, 642CultureInfo.CurrentCulture, 690CultureInfo.CurrentCulture, 723CultureInfo.CurrentCulture, 749CultureInfo.CurrentCulture,
system\globalization\japanesecalendar.cs (2)
496CultureInfo.CurrentCulture, 578CultureInfo.CurrentCulture,
system\globalization\japaneselunisolarcalendar.cs (1)
208CultureInfo.CurrentCulture,
system\globalization\juliancalendar.cs (6)
126CultureInfo.CurrentCulture, 165CultureInfo.CurrentCulture, 236CultureInfo.CurrentCulture, 383CultureInfo.CurrentCulture, 411CultureInfo.CurrentCulture, 433CultureInfo.CurrentCulture,
system\globalization\koreancalendar.cs (1)
245CultureInfo.CurrentCulture,
system\globalization\koreanlunisolarcalendar.cs (2)
1254CultureInfo.CurrentCulture, 1278CultureInfo.CurrentCulture,
system\globalization\numberformatinfo.cs (8)
328CultureInfo.CurrentCulture, 503CultureInfo.CurrentCulture, 525CultureInfo.CurrentCulture, 547CultureInfo.CurrentCulture, 569CultureInfo.CurrentCulture, 618CultureInfo.CurrentCulture, 657CultureInfo.CurrentCulture, 706CultureInfo.CurrentCulture,
system\globalization\Persiancalendar.cs (7)
161CultureInfo.CurrentCulture, 175CultureInfo.CurrentCulture, 296CultureInfo.CurrentCulture, 456CultureInfo.CurrentCulture, 512CultureInfo.CurrentCulture, 544CultureInfo.CurrentCulture, 570CultureInfo.CurrentCulture,
system\globalization\regioninfo.cs (3)
88CultureInfo.CurrentCulture, 337CultureInfo.CurrentCulture, 372temp = new RegionInfo(CultureInfo.CurrentCulture.m_cultureData);
system\globalization\taiwancalendar.cs (2)
230CultureInfo.CurrentCulture, 254CultureInfo.CurrentCulture,
system\globalization\taiwanlunisolarcalendar.cs (1)
264CultureInfo.CurrentCulture,
system\globalization\thaibuddhistcalendar.cs (1)
204CultureInfo.CurrentCulture,
system\globalization\umalquracalendar.cs (6)
404CultureInfo.CurrentCulture, 532CultureInfo.CurrentCulture, 716CultureInfo.CurrentCulture, 778CultureInfo.CurrentCulture, 810CultureInfo.CurrentCulture, 839CultureInfo.CurrentCulture,
system\io\fileloadexception.cs (1)
194return String.Format(CultureInfo.CurrentCulture, format, fileName, message);
system\io\stringwriter.cs (2)
44: this(new StringBuilder(), CultureInfo.CurrentCulture) 54public StringWriter(StringBuilder sb) : this(sb, CultureInfo.CurrentCulture) {
system\object.cs (2)
199CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_BadType"), 213CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_BadField"),
system\oleautbinder.cs (1)
29cultureInfo = 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\reflection\emit\dynamicilgenerator.cs (1)
1243CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_MethodDeclaringTypeGenericLcg"), m, t));
system\reflection\fieldinfo.cs (1)
48CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_FieldDeclaringTypeGeneric"),
system\reflection\mdimport.cs (1)
756return String.Format(CultureInfo.CurrentCulture, "MetadataException HResult = {0:x}.", m_hr);
system\reflection\methodbase.cs (1)
72CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_MethodDeclaringTypeGeneric"),
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\interopservices\windowsruntime\custompropertyimpl.cs (1)
117CultureInfo.CurrentCulture,
system\runtime\remoting\activationservices.cs (6)
149CultureInfo.CurrentCulture, Environment.GetResourceString( 191CultureInfo.CurrentCulture, Environment.GetResourceString( 1287CultureInfo.CurrentCulture, Environment.GetResourceString( 1420CultureInfo.CurrentCulture, Environment.GetResourceString( 1484CultureInfo.CurrentCulture, Environment.GetResourceString( 1494CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_BadType"),
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\context.cs (1)
991CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Contexts_NoProperty"),
system\runtime\remoting\dynamicpropertyholder.cs (1)
94CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Contexts_NoProperty"),
system\runtime\remoting\identity.cs (1)
539CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Contexts_NoProperty"),
system\runtime\remoting\identityholder.cs (1)
419CultureInfo.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\objref.cs (1)
993CultureInfo.CurrentCulture, Environment.GetResourceString(
system\runtime\remoting\realproxy.cs (1)
187CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Proxy_BadTypeForActivation"),
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\serveridentity.cs (1)
288CultureInfo.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\runtime\remoting\stackbuildersink.cs (3)
355CultureInfo.CurrentCulture, Environment.GetResourceString( 391CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_InvalidCallingType"), 418CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_InvalidCallingType"),
system\runtime\serialization\objectmanager.cs (1)
262throw new SerializationException(String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Serialization_NotCyclicallyReferenceableSurrogate"), surrogate.GetType().FullName));
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\accesscontrol\privilegenotheldexception.cs (2)
23: base( string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "PrivilegeNotHeld_Named" ), privilege )) 29: base( string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "PrivilegeNotHeld_Named" ), privilege ), inner )
system\security\cryptography\crypto.cs (2)
98: base(String.Format(CultureInfo.CurrentCulture, format, insert)) { 154: base(String.Format(CultureInfo.CurrentCulture, format, insert)) {
system\security\cryptography\x509certificates\x509certificate.cs (1)
458CultureInfo culture = CultureInfo.CurrentCulture;
system\security\policy\codegroup.cs (2)
450throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "IMembershipCondition", this.GetType().FullName ) ); 612throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_FailedCodeGroup" ), marker.element.Attribute( "class" ) ) );
system\security\policy\policystatement.cs (2)
368throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PolicyStatement", this.GetType().FullName ) ); 446throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PolicyStatement", this.GetType().FullName ) );
system\security\policy\publishermembershipcondition.cs (1)
99return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Publisher_ToStringArg" ), System.Security.Util.Hex.EncodeHexString( m_certificate.GetPublicKey() ) );
system\security\policy\sitemembershipcondition.cs (1)
236return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Site_ToStringArg" ), m_site );
system\security\policy\strongnamemembershipcondition.cs (3)
323sName = " " + String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_Name" ), Name ); 326sVersion = " " + String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_Version" ), Version ); 328return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_ToString" ), System.Security.Util.Hex.EncodeHexString( PublicKey.PublicKey ), sName, sVersion );
system\security\policy\urlmembershipcondition.cs (1)
248return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Url_ToStringArg" ), m_url.ToString() );
system\security\policy\zonemembershipcondition.cs (1)
251return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Zone_ToString" ), s_names[(int)m_zone] );
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\security\util\xmlutil.cs (2)
434throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_WrongElementType" ), "<CodeGroup>" ) ) ; 508throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_WrongElementType" ), "<IMembershipCondition>" ) ) ;
system\security\xmlsyntaxexception.cs (2)
40: base (String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxError" ), lineNumber ) ) 47: base( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxErrorEx" ), lineNumber, message ) )
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\stringcomparer.cs (2)
41return new CultureAwareComparer(CultureInfo.CurrentCulture, false); 48return new CultureAwareComparer(CultureInfo.CurrentCulture, true);
system\text\decodernls.cs (1)
41System.Globalization.CultureInfo.CurrentCulture,
system\text\encodernls.cs (1)
44System.Globalization.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);
system\typeloadexception.cs (1)
72_message = String.Format(CultureInfo.CurrentCulture, format, ClassName, AssemblyName, MessageArg);
PresentationBuildTasks (17)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
2228(i + 1).ToString(CultureInfo.CurrentCulture));
Framework\System\Windows\Markup\MarkupExtensionParser.cs (3)
1341numberOfConstructorAttributes.ToString(CultureInfo.CurrentCulture), 1759lineNumber.ToString(CultureInfo.CurrentCulture), 1760linePosition.ToString(CultureInfo.CurrentCulture));
Framework\System\Windows\Markup\XamlParser.cs (6)
241lineNumber.ToString(CultureInfo.CurrentCulture), 242linePosition.ToString(CultureInfo.CurrentCulture)); 970xamlDefAttributeNode.LineNumber.ToString(CultureInfo.CurrentCulture), 971xamlDefAttributeNode.LinePosition.ToString(CultureInfo.CurrentCulture)); 1457lineNumber.ToString(CultureInfo.CurrentCulture), 1458linePosition.ToString(CultureInfo.CurrentCulture));
Framework\System\Windows\Markup\XamlReaderHelper.cs (4)
1401lineNumber.ToString(CultureInfo.CurrentCulture), 1402linePosition.ToString(CultureInfo.CurrentCulture)); 1425LineNumber.ToString(CultureInfo.CurrentCulture), 1426LinePosition.ToString(CultureInfo.CurrentCulture));
Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
786lineNumber.ToString(CultureInfo.CurrentCulture), 787linePosition.ToString(CultureInfo.CurrentCulture)); 1492String.Format(CultureInfo.CurrentCulture, "{0}.{1}", objectType.Name, localName),
PresentationCore (2)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
1675return CultureInfo.CurrentCulture;
Core\CSharp\MS\Internal\TextFormatting\NumberSubstitution.cs (1)
135return CultureInfo.CurrentCulture;
PresentationFramework (44)
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (1)
682nameStr = nameStr.ToUpper(CultureInfo.CurrentCulture);
src\Framework\MS\Internal\Data\SortFieldComparer.cs (1)
47: (culture == CultureInfo.CurrentCulture) ? Comparer.Default
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (2)
280cultureInfo = CultureInfo.CurrentCulture; 303messageString = String.Format(System.Globalization.CultureInfo.CurrentCulture, messageString, findToolBar.SearchText);
src\Framework\System\Windows\Controls\DataGridClipboardHelper.cs (2)
32FormatPlainText(cellValue.ToString(), csv, new StringWriter(sb, CultureInfo.CurrentCulture), ref escapeApplied); 61FormatPlainTextAsHtml(cellValue.ToString(), new StringWriter(sb, CultureInfo.CurrentCulture));
src\Framework\System\Windows\Controls\DatePicker.cs (4)
998return string.Format(CultureInfo.CurrentCulture, d.ToString(dtfi.ShortDatePattern, dtfi)); 1003return string.Format(CultureInfo.CurrentCulture, d.ToString(dtfi.LongDatePattern, dtfi)); 1282this._textBox.Watermark = string.Format(CultureInfo.CurrentCulture, SR.Get(SRID.DatePicker_WatermarkText), dtfi.LongDatePattern.ToString()); 1288this._textBox.Watermark = string.Format(CultureInfo.CurrentCulture, SR.Get(SRID.DatePicker_WatermarkText), dtfi.ShortDatePattern.ToString());
src\Framework\System\Windows\Controls\DateTimeHelper.cs (2)
107return GetDateFormat(CultureInfo.CurrentCulture); 120culture = CultureInfo.CurrentCulture;
src\Framework\System\Windows\Controls\DocumentViewer.cs (2)
2005columnValue = System.Convert.ToInt32((string)data, CultureInfo.CurrentCulture); 2271CultureInfo.CurrentCulture,
src\Framework\System\Windows\Controls\MenuItem.cs (1)
1136return keyGesture.GetDisplayStringForCulture(CultureInfo.CurrentCulture);
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1577pageNumber = Convert.ToInt32(args.Parameter, System.Globalization.CultureInfo.CurrentCulture);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
1795ITextRange findResult = TextFindEngine.Find(_start, _end, text, findFlags, CultureInfo.CurrentCulture);
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
705ApplicationException ae = new ApplicationException(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.Get(SRID.ExceptionInGetPage), index), e);
src\Framework\System\Windows\Documents\RtfToXamlLexer.cs (1)
39_currentCodePage = CultureInfo.CurrentCulture.TextInfo.ANSICodePage;
src\Framework\System\Windows\Documents\ZoomPercentageConverter.cs (1)
99return String.Format(CultureInfo.CurrentCulture,
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
567Debug.Assert(hr == NativeMethods.S_OK, String.Format(CultureInfo.CurrentCulture, "DoVerb call failed for verb 0x{0:X}", verb));
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
373CultureInfo.CurrentCulture, 1252CultureInfo.CurrentCulture,
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
698throw new XamlParseException(string.Format(CultureInfo.CurrentCulture, SR.Get(SRID.UnknownBamlRecord, recordType)));
src\Framework\System\Windows\Markup\BamlReader.cs (3)
479_value = _connectionId.ToString(CultureInfo.CurrentCulture); 676((int)_currentBamlRecord.RecordType).ToString(CultureInfo.CurrentCulture))); 1689((int)_currentBamlRecord.RecordType).ToString(CultureInfo.CurrentCulture)));
src\Framework\System\Windows\Markup\BamlRecordReader.cs (3)
800ThrowException(SRID.ParserUnknownBaml, ((int)bamlRecord.RecordType).ToString(CultureInfo.CurrentCulture)); 1608ThrowException(SRID.ParserBadConstructorParams, elementType.Name, paramCount.ToString(CultureInfo.CurrentCulture)); 1849ThrowException(SRID.ParserUnexpInBAML, keyRecord.RecordType.ToString(CultureInfo.CurrentCulture));
src\Framework\System\Windows\Markup\BamlVersionHeader.cs (4)
88(BamlVersion.ReaderVersion.Major.ToString(CultureInfo.CurrentCulture) + "." + 89BamlVersion.ReaderVersion.Minor.ToString(CultureInfo.CurrentCulture)), 90(BamlWriterVersion.Major.ToString(CultureInfo.CurrentCulture) + "." + 91BamlWriterVersion.Minor.ToString(CultureInfo.CurrentCulture))));
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (2)
1759lineNumber.ToString(CultureInfo.CurrentCulture), 1760linePosition.ToString(CultureInfo.CurrentCulture));
src\Framework\System\Windows\Markup\XamlParser.cs (2)
1457lineNumber.ToString(CultureInfo.CurrentCulture), 1458linePosition.ToString(CultureInfo.CurrentCulture));
src\Framework\System\Windows\Markup\XamlStyleSerializer.cs (2)
168lineNumber.ToString(CultureInfo.CurrentCulture), 169linePosition.ToString(CultureInfo.CurrentCulture));
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
786lineNumber.ToString(CultureInfo.CurrentCulture), 787linePosition.ToString(CultureInfo.CurrentCulture)); 1492String.Format(CultureInfo.CurrentCulture, "{0}.{1}", objectType.Name, localName),
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
3594name = String.Format(CultureInfo.CurrentCulture, "{0} ({1})", navWin.Title, JournalEntry.GetDisplayName(_currentSource, SiteOfOriginContainer.SiteOfOrigin));
SMDiagnostics (2)
System\ServiceModel\Diagnostics\LegacyDiagnosticTrace.cs (1)
207values["ProcessId"] = DiagnosticTraceBase.ProcessId.ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (1)
858EncodingFallbackAwareXmlTextWriter writer = new EncodingFallbackAwareXmlTextWriter(new StringWriter(sb, CultureInfo.CurrentCulture));
SMSvcHost (7)
System\ServiceModel\Activation\Diagnostics\ListenerTraceUtility.cs (1)
89return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Activation\ListenerAdapter.cs (4)
202"WebhostCloseAllListenerChannelInstances", hresult.ToString(CultureInfo.CurrentCulture))), this, null); 207TD.WasCloseAllListenerChannelInstancesFailed(this.EventTraceActivity, hresult.ToString(CultureInfo.CurrentCulture)); 859"WebhostOpenListenerChannelInstance", hresult.ToString(CultureInfo.CurrentCulture))), this, null); 863TD.OpenListenerChannelInstanceFailed(this.EventTraceActivity, hresult.ToString(CultureInfo.CurrentCulture));
System\ServiceModel\Activation\ListenerAdapterBase.cs (2)
238hresult.ToString(CultureInfo.CurrentCulture))), this, null); 244TD.WebhostUnregisterProtocolFailed(this.EventTraceActivity, hresult.ToString(CultureInfo.CurrentCulture));
System (111)
compmod\microsoft\win32\NativeMethods.cs (6)
1521+ wDay.ToString(CultureInfo.CurrentCulture) + "/" + wMonth.ToString(CultureInfo.CurrentCulture) + "/" + wYear.ToString(CultureInfo.CurrentCulture) 1522+ " " + wHour.ToString(CultureInfo.CurrentCulture) + ":" + wMinute.ToString(CultureInfo.CurrentCulture) + ":" + wSecond.ToString(CultureInfo.CurrentCulture)
compmod\microsoft\win32\SystemEvents.cs (1)
1043RegistryKey key = Registry.LocalMachine.OpenSubKey(string.Format(System.Globalization.CultureInfo.CurrentCulture,
compmod\system\collections\specialized\nameobjectcollectionbase.cs (2)
511throw new ArgumentOutOfRangeException("index",SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture)) ); 728throw new ArgumentOutOfRangeException("index",SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture)) );
compmod\system\collections\specialized\namevaluecollection.cs (1)
221throw new ArgumentOutOfRangeException("index",SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture)) );
compmod\system\componentmodel\basenumberconverter.cs (2)
100culture = CultureInfo.CurrentCulture; 125culture = CultureInfo.CurrentCulture;
compmod\system\componentmodel\CultureInfoConverter.cs (3)
132text = text.ToLower(CultureInfo.CurrentCulture); 136if (info != null && GetCultureName(info).ToLower(CultureInfo.CurrentCulture).StartsWith(text)) { 301CompareInfo compInfo = (CultureInfo.CurrentCulture).CompareInfo;
compmod\system\componentmodel\DateTimeConverter.cs (2)
99culture = CultureInfo.CurrentCulture; 121return dt.ToString(format, CultureInfo.CurrentCulture);
compmod\system\componentmodel\DateTimeOffsetConverter.cs (2)
105culture = CultureInfo.CurrentCulture; 137return dto.ToString(format, CultureInfo.CurrentCulture);
compmod\system\componentmodel\DecimalConverter.cs (1)
91return Convert.ToDecimal(value, CultureInfo.CurrentCulture);
compmod\system\componentmodel\design\CommandID.cs (1)
94return menuGroup.ToString() + " : " + commandID.ToString(CultureInfo.CurrentCulture);
compmod\system\componentmodel\design\DesignerOptionService.cs (2)
58throw new ArgumentException(SR.GetString(SR.InvalidArgument, name.Length.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)), "name.Length");
compmod\system\componentmodel\DoubleConverter.cs (1)
51return Convert.ToDouble(value, CultureInfo.CurrentCulture);
compmod\system\componentmodel\InvalidEnumArgumentException.cs (1)
53invalidValue.ToString(CultureInfo.CurrentCulture),
compmod\system\componentmodel\MaskedTextProvider.cs (2)
252culture = CultureInfo.CurrentCulture; 882throw new IndexOutOfRangeException(index.ToString(CultureInfo.CurrentCulture));
compmod\system\componentmodel\SingleConverter.cs (1)
50return Convert.ToSingle(value, CultureInfo.CurrentCulture);
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));
compmod\system\diagnostics\XmlWriterTraceListener.cs (1)
133xmlBlobWriter = new XmlTextWriter(new StringWriter(strBldr, CultureInfo.CurrentCulture));
net\System\Net\_NetRes.cs (1)
56return String.Format(CultureInfo.CurrentCulture, Msg, StatusMsg);
net\System\Net\_NTAuthentication.cs (1)
520if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "SspiEncodeStringsAsAuthIdentity()", String.Format(CultureInfo.CurrentCulture, "0x{0:X}", (int)result)));
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)));
net\System\Net\Cache\_Rfc2616CacheValidators.cs (2)
899if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_policy_cache_sync_date, ctx.Policy.InternalCacheSyncDateUtc.ToString("r", CultureInfo.CurrentCulture), ctx.CacheEntry.LastSynchronizedUtc.ToString(CultureInfo.CurrentCulture)));
net\System\Net\Cache\IERequestCache.cs (1)
1082Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_committed_as_partial, "WinInetWriteStream.Close()", m_Entry.Key, (m_StreamSize > 0 ? m_StreamSize.ToString(CultureInfo.CurrentCulture) : SR.GetString(SR.net_log_unknown))));
net\System\Net\Cache\RequestCacheEntry.cs (4)
90sb.Append("\r\nExpires = ").Append(ExpiresUtc == DateTime.MinValue? "": ExpiresUtc.ToString("r", CultureInfo.CurrentCulture)); 91sb.Append("\r\nLastAccessed = ").Append(LastAccessedUtc == DateTime.MinValue? "": LastAccessedUtc.ToString("r", CultureInfo.CurrentCulture)); 92sb.Append("\r\nLastModified = ").Append(LastModifiedUtc == DateTime.MinValue? "": LastModifiedUtc.ToString("r", CultureInfo.CurrentCulture)); 93sb.Append("\r\nLastSynchronized = ").Append(LastSynchronizedUtc == DateTime.MinValue? "": LastSynchronizedUtc.ToString("r", CultureInfo.CurrentCulture));
net\System\Net\Cache\RequestCachePolicy.cs (1)
278(CacheSyncDate==DateTime.MinValue? string.Empty: " CacheSyncDate:" + CacheSyncDate.ToString(CultureInfo.CurrentCulture));
net\System\Net\Logging.cs (2)
608string disp = String.Format(CultureInfo.CurrentCulture, "{0:X8} : ", offset); 610disp += String.Format(CultureInfo.CurrentCulture, "{0:X2}", buffer[offset + i]) + ((i == 7) ? '-' : ' ');
regex\system\text\regularexpressions\Regex.cs (2)
266cultureKey = CultureInfo.CurrentCulture.ToString(); 1308runner = new RegexInterpreter(code, UseOptionInvariant() ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture);
regex\system\text\regularexpressions\RegexCode.cs (1)
230throw MakeException(SR.GetString(SR.UnexpectedOpcode, Opcode.ToString(CultureInfo.CurrentCulture)));
regex\system\text\regularexpressions\RegexFCD.cs (2)
55CultureInfo culture = ((t._options & RegexOptions.CultureInvariant) != 0) ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture; 490throw new ArgumentException(SR.GetString(SR.UnexpectedOpcode, NodeType.ToString(CultureInfo.CurrentCulture)));
regex\system\text\regularexpressions\RegexParser.cs (6)
66p = new RegexParser((op & RegexOptions.CultureInvariant) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture); 95p = new RegexParser((op & RegexOptions.CultureInvariant) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture); 810throw MakeException(SR.GetString(SR.UndefinedReference, capnum.ToString(CultureInfo.CurrentCulture))); 813throw MakeException(SR.GetString(SR.MalformedReference, capnum.ToString(CultureInfo.CurrentCulture))); 1041throw MakeException(SR.GetString(SR.UndefinedBackref, capnum.ToString(CultureInfo.CurrentCulture))); 1069throw MakeException(SR.GetString(SR.UndefinedBackref, capnum.ToString(CultureInfo.CurrentCulture)));
regex\system\text\regularexpressions\RegexWriter.cs (2)
293CultureInfo culture = (tree._options & RegexOptions.CultureInvariant) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture; 548throw MakeException(SR.GetString(SR.UnexpectedOpcode, nodetype.ToString(CultureInfo.CurrentCulture)));
security\system\security\cryptography\x509\x500Name.cs (1)
169throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "flag"));
security\system\security\cryptography\x509\x509chainpolicy.cs (3)
76throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "value")); 87throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "value")); 98throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "value"));
security\system\security\cryptography\x509\x509store.cs (4)
65throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "storeLocation")); 93throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "storeName")); 104throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "storeLocation")); 149throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), "m_location"));
security\system\security\permissions\storepermission.cs (4)
67throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 82throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 99throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Argument_WrongType), this.GetType().FullName)); 144throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Arg_EnumIllegalVal), (int)flags));
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));
services\io\system\io\FileSystemWatcher.cs (1)
704throw new OutOfMemoryException(SR.GetString(SR.BufferSizeTooLarge, internalBufferSize.ToString(CultureInfo.CurrentCulture)));
services\monitoring\system\diagnosticts\EventLogEntry.cs (1)
151category = "(" + CategoryNumber.ToString(CultureInfo.CurrentCulture) + ")";
services\monitoring\system\diagnosticts\EventLogInternal.cs (2)
1027throw new ArgumentException(SR.GetString(SR.IndexOutOfBounds, index.ToString(CultureInfo.CurrentCulture))); 1118throw new InvalidOperationException(SR.GetString(SR.CantReadLogEntryAt, index.ToString(CultureInfo.CurrentCulture)), SharedUtils.CreateSafeWin32Exception());
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (18)
258if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 259CultureInfo culture = CultureInfo.CurrentCulture; 312if (!categoryExists && CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 313CultureInfo culture = CultureInfo.CurrentCulture; 684CultureInfo culture = CultureInfo.CurrentCulture; 710if(CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 711CultureInfo culture = CultureInfo.CurrentCulture; 744if (sample == null && CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 745CultureInfo culture = CultureInfo.CurrentCulture; 779if (!categoryExists && CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 780CultureInfo culture = CultureInfo.CurrentCulture; 833if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 834CultureInfo culture = CultureInfo.CurrentCulture; 1051if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 1052CultureInfo culture = CultureInfo.CurrentCulture; 1083if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 1084CultureInfo culture = CultureInfo.CurrentCulture; 1337throw new InvalidOperationException(SR.GetString(SR.CantReadCategoryIndex, categoryIndex.ToString(CultureInfo.CurrentCulture)));
services\monitoring\system\diagnosticts\Process.cs (5)
306throw new InvalidOperationException(SR.GetString(SR.ProcessHasExited, processId.ToString(CultureInfo.CurrentCulture))); 1514throw new ArgumentException(SR.GetString(SR.MissingProccess, processId.ToString(CultureInfo.CurrentCulture))); 1669throw new InvalidOperationException(SR.GetString(SR.ProcessHasExited, processId.ToString(CultureInfo.CurrentCulture))); 1703throw new InvalidOperationException(SR.GetString(SR.ProcessHasExited, processId.ToString(CultureInfo.CurrentCulture))); 2412return String.Format(CultureInfo.CurrentCulture, "{0} ({1})", base.ToString(), processName);
services\monitoring\system\diagnosticts\ProcessManager.cs (2)
277throw new InvalidOperationException(SR.GetString(SR.ProcessHasExited, processId.ToString(CultureInfo.CurrentCulture))); 294throw new InvalidOperationException(SR.GetString(SR.ThreadExited, threadId.ToString(CultureInfo.CurrentCulture)));
services\monitoring\system\diagnosticts\ProcessModule.cs (1)
121return String.Format(CultureInfo.CurrentCulture, "{0} ({1})", base.ToString(), this.ModuleName);
System.Activities (25)
System\Activities\Activity.cs (1)
816return string.Format(CultureInfo.CurrentCulture, "{0}: {1}", this.Id, this.DisplayName);
System\Activities\Debugger\DebugInfo.cs (1)
412location.Value = Convert.ToDateTime(value, CultureInfo.CurrentCulture);
System\Activities\Tracking\ActivityInfo.cs (1)
145return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\ActivityScheduledRecord.cs (1)
104return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\ActivityStateRecord.cs (1)
206return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\BookmarkResumptionRecord.cs (1)
137return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\CancelRequestedRecord.cs (1)
99return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\FaultPropagationRecord.cs (1)
151return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\TrackingRecord.cs (1)
168return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\WorkflowInstanceAbortedRecord.cs (2)
87return string.Format(CultureInfo.CurrentCulture, 97return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\WorkflowInstanceRecord.cs (2)
138return string.Format(CultureInfo.CurrentCulture, 146return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\WorkflowInstanceSuspendedRecord.cs (2)
87return string.Format(CultureInfo.CurrentCulture, 97return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\WorkflowInstanceTerminatedRecord.cs (2)
90return string.Format(CultureInfo.CurrentCulture, 100return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\WorkflowInstanceUnhandledExceptionRecord.cs (2)
113return string.Format(CultureInfo.CurrentCulture, 124return string.Format(CultureInfo.CurrentCulture,
System\Activities\Tracking\WorkflowInstanceUpdatedRecord.cs (1)
107return string.Format(CultureInfo.CurrentCulture,
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\XamlIntegration\TextExpressionCompiler.cs (2)
636if (IsVB && string.Compare(toCheck, current, true, CultureInfo.CurrentCulture) == 0) 1574if (string.Compare(expressionText, paramName, true, Globalization.CultureInfo.CurrentCulture) == 0)
System.Activities.Core.Presentation (9)
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (1)
545reason = string.Format(CultureInfo.CurrentCulture, SR.DuplicateCaseKey, key);
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
112reason = string.Format(CultureInfo.CurrentCulture, SR.DuplicateCaseKey, key);
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (2)
535ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentCulture, SR.DuplicateArgumentName, newName)); 539ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentCulture, SR.EmptyArgumentName));
System\Activities\Presentation\TypeCollectionDesigner.xaml.cs (1)
107ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentCulture, (string)this.FindResource("duplicateEntryErrorMessage"), TypeNameHelper.GetDisplayName(tw.Type, true)));
System\ServiceModel\Activities\Presentation\CorrelationDataDesigner.xaml.cs (2)
151ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentCulture, System.Activities.Core.Presentation.SR.NullOrEmptyKeyName)); 162ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentCulture, System.Activities.Core.Presentation.SR.DuplicateKeyName, newKey));
System\ServiceModel\Activities\Presentation\ReceiveReplyValidationFeature.cs (1)
86Message = new InArgument<string>(ctx => string.Format(CultureInfo.CurrentCulture, System.Activities.Core.Presentation.SR.UnrootedRequestInReceiveReply, receiveReply.Get(ctx).DisplayName))
System\ServiceModel\Activities\Presentation\SendReplyValidationFeature.cs (1)
86Message = new InArgument<string>(ctx => string.Format(CultureInfo.CurrentCulture, System.Activities.Core.Presentation.SR.UnrootedRequestInSendReply, sendReply.Get(ctx).DisplayName))
System.Activities.Presentation (92)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (2)
105SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "line out of range:({0},{1})", line + 1, column + 1)); 111SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "column out of range:({0},{1})", line + 1, column + 1));
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (2)
658SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "no such property:{0}", propertyName)); 666SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "no such property value:{0}", propertyName));
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\Metadata\AttributeDataCache.cs (1)
195CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (2)
554CultureInfo.CurrentCulture, 561CultureInfo.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\Automation\TextFormatConverter.cs (1)
41return string.Format(culture ?? CultureInfo.CurrentCulture, _format ?? "{0}", value.ToString());
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\EditorUtilities.cs (2)
75propertyValue, typeof(string), null, CultureInfo.CurrentCulture).ToString(); 83model, typeof(string), null, CultureInfo.CurrentCulture).ToString();
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\FromExpression\Framework\PropertyInspector\CategoryBase.cs (2)
141this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message)); 156this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\ExtensibilityMetadataHelper.cs (2)
52exceptionLogger.WriteLine(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.ValueEditorLoadFailed, ExtensibilityMetadataHelper.GetExceptionMessage(e))); 83exceptionLogger.WriteLine(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryEditorTypeLoadFailed, ExtensibilityMetadataHelper.GetExceptionMessage(e)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\NewItemFactoryTypeModel.cs (1)
58this.ReportException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.NewItemFactoryIconLoadFailed, this.factory.GetType().Name, exception.Message));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (4)
528CultureInfo.CurrentCulture, 591CultureInfo.CurrentCulture, 705return string.Format(CultureInfo.CurrentCulture, "{0} (PropertyEntry)", this.PropertyName); 709return string.Format(CultureInfo.CurrentCulture, "{0} (\"{1}\" - PropertyEntry)", this.PropertyName, this.DisplayName);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (2)
244CultureInfo.CurrentCulture, 421return string.Format(CultureInfo.CurrentCulture, "{0} (PropertyValue)", value ?? "{null}");
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\CategorySelectionStop.cs (2)
50CultureInfo.CurrentCulture, 54CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelectionStop.cs (1)
74CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPathResolver.cs (1)
46Debug.Fail(string.Format(System.Globalization.CultureInfo.CurrentCulture, "ISelectionPathInterpreter for path type of ID '{0}' already registered. Ignoring.", interpreter.PathTypeId));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\CategoryEditor.cs (1)
76CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (2)
105System.Globalization.CultureInfo.CurrentCulture, 239System.Globalization.CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
763System.Globalization.CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyFilterPredicate.cs (2)
24_matchText = matchText.ToUpper(CultureInfo.CurrentCulture); 43return target != null && target.ToUpper(CultureInfo.CurrentCulture).Contains(_matchText);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValue.cs (4)
134CultureInfo.CurrentCulture, 161string.Format(CultureInfo.CurrentCulture, Resources.Error_ValueSetFailed), 207CultureInfo.CurrentCulture, 232CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueEditor.cs (1)
77CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (5)
63string.Format(CultureInfo.CurrentCulture, 331CultureInfo.CurrentCulture, 344CultureInfo.CurrentCulture, 354CultureInfo.CurrentCulture, 398CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Documents\ViewManagerAttribute.cs (1)
39throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
140string.Format(CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (3)
189string.Format(CultureInfo.CurrentCulture, 351string.Format(CultureInfo.CurrentCulture, 414string.Format(CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\DesignTimeValidationFeature.cs (1)
20string.Format(CultureInfo.CurrentCulture, SR.DesignTimeValidationFeatureOnlyAppliesToType, this.GetType(), this.ApplyTo, modelType)));
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
378new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.Error_ItemNotOnView, index)));
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
123var converterValue = literalValueConverter.ConvertFrom(context, CultureInfo.CurrentCulture, valueToConvert);
System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
45throw FxTrace.Exception.Argument("activityType", string.Format(CultureInfo.CurrentCulture, SR.TypeDoesNotInheritFromActivity, activityType.Name));
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.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
385string error = string.Format(CultureInfo.CurrentCulture, SR.NotSupportedToolboxTypeFormatString, toolType.Name, reason);
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (3)
1099throw FxTrace.Exception.AsError(new NotSupportedException(string.Format(CultureInfo.CurrentCulture, "{0} argument direction is not supported", this.GetArgumentDirection()))); 1101value = this.Editor.ArgumentToExpressionConverter.ConvertBack(value, typeof(Argument), direction, CultureInfo.CurrentCulture); 1120result = this.Editor.ArgumentToExpressionConverter.Convert(value, typeof(object), null, CultureInfo.CurrentCulture);
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
636Fx.Assert(null != dg, string.Format(CultureInfo.CurrentCulture, "DataGrid is not in the visual tree of this control: {0}", ctrl));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (6)
1702double valueAsDouble = System.Convert.ToDouble(value, CultureInfo.CurrentCulture); 1706result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F0", CultureInfo.CurrentCulture)); 1710result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F2", CultureInfo.CurrentCulture)); 1722result = System.Convert.ToDouble(valueAsString, CultureInfo.CurrentCulture);
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (2)
94typeToStringConverter.Convert(etb.ExpressionType ?? propertyValue.ParentProperty.PropertyType, typeof(string), null, CultureInfo.CurrentCulture); 97hint.Text = string.Format(CultureInfo.CurrentCulture, hintFormatString, propertyValue.ParentProperty.PropertyName, friendlyTypeName);
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (2)
231Fx.Assert(string.Format(CultureInfo.CurrentCulture, "ExtensionWindowPlacement.Mode {0} specified in ExtensionWindow '{1}' is not supported for ExtensionSurface", mode, window.Name)); 279Fx.Assert(string.Format(CultureInfo.CurrentCulture, "ExtensionWindowPlacement.Position = '{0}' is not supported", alignment));
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
323namespaceModel.Properties[ErrorMessagePropertyName].SetValue(string.Format(CultureInfo.CurrentCulture, SR.CannotResolveNamespace, namespaceData.Namespace));
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
416throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PromotedPropertyNotFound, outlineView.PromotedProperty, property.Value.Name)));
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
1297return ScopeToTooltipConverter.BuildToolTip(s, converter, CultureInfo.CurrentCulture);
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
105string errorText = string.Format(CultureInfo.CurrentCulture, SR.CouldNotGenerateView, modelItem.ItemType.Name);
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
709string error = string.Format(CultureInfo.CurrentCulture, message, arguments);
System.AddIn (65)
System\Addin\Hosting\ActivationWorker.cs (1)
165throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.IncompatibleAddInBaseAssembly, assemblyName));
System\Addin\Hosting\AddInActivator.cs (2)
602String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterLoadedInWrongAppDomain, 620String.Format(CultureInfo.CurrentCulture, Res.ContractAssemblyLoadedMultipleTimes,
System\Addin\Hosting\AddInProcess.cs (2)
120throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.MissingAddInProcessExecutable, _pathToAddInProcess)); 398throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.CouldNotCreateAddInProcess, _startupTimeout.ToString()));
System\Addin\Hosting\AddInStore.cs (15)
558Trace.WriteLine(String.Format(System.Globalization.CultureInfo.CurrentCulture, Res.HostViewUnusableBecauseItIsGeneric, hostViewOfAddIn.Name)); 614throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, Res.TypeNotFound, addInTypeName, addInFilePath)); 674throw new DirectoryNotFoundException(String.Format(CultureInfo.CurrentCulture, Res.FolderNotFound, addInPath)); 698throw new DirectoryNotFoundException(String.Format(CultureInfo.CurrentCulture, Res.FolderNotFound, pipelineRoot)); 715throw new AddInSegmentDirectoryNotFoundException(String.Format(CultureInfo.CurrentCulture, Res.PipelineFolderNotFound, folder) ); 880warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInBaseFound, addInBaseDir)); 941warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInFound, singleAddinDir)); 959warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.FileInAddInFolder, file)); 1081throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.CantFindDeployedAddInsFile, storeFileName)); 1091throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.DeployedAddInsFileCorrupted, storeFileName)); 1107throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.CantDeserializeData, storeFileName), e); 1231warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, assemblyFileName)); 1241warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInModelPartsFound, PipelineComponentType.HostAdapter, assemblyFileName)); 1312String.Format(CultureInfo.CurrentCulture, 1339warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, assemblyFileName));
System\Addin\Hosting\AddInToken.cs (1)
357warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.ComponentInWrongLocation, fileName, location));
System\Addin\Hosting\InspectionWorker.cs (7)
234retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadFileNotFound, fnf.Message, fnf.FileName)); 239retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadThrew, e.GetType().Name, e.Message, _assemblyFileName)); 271retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInInAddInViewFolder, type.Name, _assemblyFileName)); 313retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadFileNotFound, fnf.Message, fnf.FileName)); 318retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NotImplementedFeatureBadCtorParamOrAssembly, 324retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.InspectingAssemblyThrew, e.GetType().Name, e.Message, _assemblyFileName)); 332retval.Warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoAddInModelPartsFound, componentType, _assemblyFileName));
System\Addin\Hosting\PipelineDeploymentState.cs (2)
121warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.CouldntConnectNInvalidParts, unconnectedParts)); 131warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.CouldntConnectOnePart, part.ToString()));
System\Addin\Hosting\Store\AddIn.cs (4)
148return String.Format(CultureInfo.CurrentCulture, Res.AddInToString, Name, BestAvailableLocation); 176warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.UnknownNamedAddInAttributeParameter, namedArg.Name, type.FullName, type.Assembly.ModuleName)); 184warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInMustSpecifyName, type.FullName, type.Assembly.ModuleName)); 252warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.NoDefaultConstructor, type.FullName, type.Assembly.ModuleName));
System\Addin\Hosting\Store\AddInAdapter.cs (6)
47return String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterToString, Name, BestAvailableLocation); 57warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterMustBeMBRO, type.AssemblyQualifiedName)); 64warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterMustImplementAnAddInContract, type.AssemblyQualifiedName)); 76warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterMustImplementAnAddInContract, type.AssemblyQualifiedName)); 85warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterOneUnusableConstructor, type.AssemblyQualifiedName)); 92warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInAdapterNoUsableConstructors, type.AssemblyQualifiedName));
System\Addin\Hosting\Store\AddInBase.cs (2)
39return String.Format(CultureInfo.CurrentCulture, Res.AddInBaseToString, Name, BestAvailableLocation); 46warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.AddInBaseMustBeSubclassable, Name));
System\Addin\Hosting\Store\ContractComponent.cs (3)
33return String.Format(CultureInfo.CurrentCulture, Res.ContractToString, Name, BestAvailableLocation); 41warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.ContractMustImplementIContract, Name)); 47warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.ContractMustBeInterface, Name));
System\Addin\Hosting\Store\HostAdapter.cs (4)
53return String.Format(CultureInfo.CurrentCulture, Res.HostAdapterToString, Name, BestAvailableLocation); 70warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.HostAdapterUnusableCtorMultipleParams, type.AssemblyQualifiedName)); 92warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.HostAdapterUnusableCtorBadParam, type.AssemblyQualifiedName, paramType.FullName)); 98warnings.Add(String.Format(CultureInfo.CurrentCulture, Res.HostAdapterNoValidCtors, type.AssemblyQualifiedName));
System\Addin\Hosting\Store\PipelineComponent.cs (1)
253warnings.Add(String.Format(System.Globalization.CultureInfo.CurrentCulture, Res.ComponentUnusableBecauseItIsGeneric, type.Name));
System\Addin\MiniReflection\MetadataReader\Metadata.cs (3)
277throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.UnknownMetadataTable, Table)); 361String.Format(CultureInfo.CurrentCulture, Res.InvalidMetadataTokenTooManyRows, 370throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.NilMetadataToken, token));
System\Addin\MiniReflection\MetadataReader\PEFileReader.cs (3)
69throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.BadPEFile, fileName)); 84throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.BadPEFile, fileName)); 180throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.BadRVA, _fileName));
System\Addin\MiniReflection\MiniAssembly.cs (5)
84throw new NotImplementedException(String.Format(CultureInfo.CurrentCulture, Res.MultiFileAssembliesNotSupported, FullName)); 119throw new TypeLoadException(String.Format(CultureInfo.CurrentCulture, Res.CantFindTypeName, nameSpace, typeName)); 172throw new FileLoadException(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadRefDefMismatch, 178throw new FileLoadException(String.Format(CultureInfo.CurrentCulture, Res.AssemblyLoadRefDefMismatch, 211throw new FileNotFoundException(String.Format(CultureInfo.CurrentCulture, Res.FileNotFoundForInspection, simpleName), libName);
System\Addin\MiniReflection\MiniModule.cs (1)
186throw new NotImplementedException(String.Format(CultureInfo.CurrentCulture, Res.UnknownTokenType, targetType.Table, Assembly.FullName));
System\Addin\MiniReflection\TypeInfo.cs (2)
662throw new BadImageFormatException(String.Format(CultureInfo.CurrentCulture, Res.UnrecognizedCorElementType, b)); 822throw new NotImplementedException(String.Format(CultureInfo.CurrentCulture, Res.UnsupportedInterfaceType, interfaceToken.Table));
System\Addin\Pipeline\ContractBase.cs (1)
236Trace.WriteLine(String.Format(System.Globalization.CultureInfo.CurrentCulture, Res.FailedToUnloadAppDomain, AppDomain.CurrentDomain.FriendlyName, ex.Message));
System.ComponentModel.DataAnnotations (48)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
129CultureInfo.CurrentCulture,
DataAnnotations\CompareAttribute.cs (3)
29return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, OtherPropertyDisplayName ?? OtherProperty); 41return new ValidationResult(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CompareAttribute_UnknownProperty, OtherProperty)); 58throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
DataAnnotations\CustomValidationAttribute.cs (8)
138return new ValidationResult(String.Format(CultureInfo.CurrentCulture, Resources.DataAnnotationsResources.CustomValidationAttribute_Type_Conversion_Failed, 183return String.Format(CultureInfo.CurrentCulture, this._lastMessage, name); 208return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Type_Must_Be_Public, this._validatorType.Name); 226return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Not_Found, this._method, this._validatorType.Name); 231return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Must_Return_ValidationResult, this._method, this._validatorType.Name); 238return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Signature, this._method, this._validatorType.Name); 248return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Signature, this._method, this._validatorType.Name); 296convertedValue = Convert.ChangeType(value, t, CultureInfo.CurrentCulture);
DataAnnotations\DataTypeAttribute.cs (1)
110throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DataTypeAttribute_EmptyDataTypeString));
DataAnnotations\DisplayAttribute.cs (3)
234throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "AutoGenerateField", "GetAutoGenerateField")); 260throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "AutoGenerateFilter", "GetAutoGenerateFilter")); 286throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "Order", "GetOrder"));
DataAnnotations\EnumDataTypeAttribute.cs (1)
27throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.EnumDataTypeAttribute_TypeNeedsToBeAnEnum, this.EnumType.FullName));
DataAnnotations\FileExtensionsAttribute.cs (1)
54return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, ExtensionsFormatted);
DataAnnotations\LocalizableString.cs (1)
133string exceptionMessage = String.Format(CultureInfo.CurrentCulture,
DataAnnotations\MaxLengthAttribute.cs (2)
84return string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Length); 93throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.MaxLengthAttribute_InvalidMaxLength));
DataAnnotations\MinLengthAttribute.cs (2)
69return string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Length); 78throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.MinLengthAttribute_InvalidMinLength));
DataAnnotations\RangeAttribute.cs (3)
73throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.RangeAttribute_MinGreaterThanMax, maximum, minimum)); 132return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, this.Minimum, this.Maximum); 167CultureInfo.CurrentCulture,
DataAnnotations\RegularExpressionAttribute.cs (2)
63string stringValue = Convert.ToString(value, CultureInfo.CurrentCulture); 88return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, this.Pattern);
DataAnnotations\Schema\ColumnAttribute.cs (2)
28throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name")); 62throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "value"));
DataAnnotations\Schema\ForeignKeyAttribute.cs (1)
26throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name"));
DataAnnotations\Schema\InversePropertyAttribute.cs (1)
20throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "property"));
DataAnnotations\Schema\TableAttribute.cs (2)
21throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name")); 40throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "value"));
DataAnnotations\StringLengthAttribute.cs (2)
76return String.Format(CultureInfo.CurrentCulture, errorMessage, name, this.MaximumLength, this.MinimumLength); 88throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.RangeAttribute_MinGreaterThanMax, this.MaximumLength, this.MinimumLength));
DataAnnotations\UIHintAttribute.cs (4)
192throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.UIHintImplementation_NeedEvenNumberOfControlParameters)); 201CultureInfo.CurrentCulture, 210CultureInfo.CurrentCulture, 219CultureInfo.CurrentCulture,
DataAnnotations\ValidationAttribute.cs (4)
253CultureInfo.CurrentCulture, 261CultureInfo.CurrentCulture, 271throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ValidationAttribute_NeedBothResourceTypeAndResourceName)); 298return String.Format(CultureInfo.CurrentCulture, this.ErrorMessageString, name);
DataAnnotations\ValidationAttributeStore.cs (1)
178throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.AttributeStore_Unknown_Property, this._type.Name, propertyName), "propertyName");
DataAnnotations\ValidationContext.cs (2)
366throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.DataAnnotationsResources.ValidationContextServiceContainer_ItemAlreadyExists, serviceType), "serviceType"); 386throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.DataAnnotationsResources.ValidationContextServiceContainer_ItemAlreadyExists, serviceType), "serviceType");
DataAnnotations\Validator.cs (1)
319throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.Validator_Property_Value_Wrong_Type, propertyName, propertyType), "value");
System.Configuration (4)
System\Configuration\ConfigurationElement.cs (2)
1346throw new ConfigurationErrorsException(string.Format(CultureInfo.CurrentCulture, format, attribToLockTrim, sb.ToString()), value.SourceInfo.FileName, value.SourceInfo.LineNumber); 1348throw new ConfigurationErrorsException(string.Format(CultureInfo.CurrentCulture, format, attribToLockTrim, sb.ToString()));
System\Configuration\ConfigurationErrorsException.cs (2)
248return BareMessage + " (" + file + " line " + Line.ToString(CultureInfo.CurrentCulture) + ")"; 255return BareMessage + " (line " + Line.ToString("G", CultureInfo.CurrentCulture) + ")";
System.Core (31)
Microsoft\Scripting\Ast\BlockExpression.cs (1)
807throw new ArgumentNullException(string.Format(System.Globalization.CultureInfo.CurrentCulture, "{0}[{1}]", collectionName, set.Count));
Microsoft\Scripting\Ast\DebugViewWriter.cs (12)
397CultureInfo.CurrentCulture, 432String.Format(CultureInfo.CurrentCulture, 491CultureInfo.CurrentCulture, 496CultureInfo.CurrentCulture, 509CultureInfo.CurrentCulture, 952Out(String.Format(CultureInfo.CurrentCulture, "<{0}>", node.Type.ToString())); 1085Out(String.Format(CultureInfo.CurrentCulture, ".Extension<{0}>", node.GetType().ToString())); 1100CultureInfo.CurrentCulture, 1113Out(String.Format(CultureInfo.CurrentCulture, ".LabelTarget {0}:", GetLabelTargetName(target))); 1119return String.Format(CultureInfo.CurrentCulture, "#Label{0}", GetLabelTargetId(target)); 1128CultureInfo.CurrentCulture, 1165return String.Format(CultureInfo.CurrentCulture, "'{0}'", name);
Microsoft\Scripting\Ast\Expression.cs (1)
245using (System.IO.StringWriter writer = new System.IO.StringWriter(CultureInfo.CurrentCulture)) {
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (2)
406CultureInfo.CurrentCulture, 717Out(node.Kind.ToString().ToLower(CultureInfo.CurrentCulture));
Microsoft\Scripting\Utils\ContractUtils.cs (1)
92throw new ArgumentNullException(string.Format(System.Globalization.CultureInfo.CurrentCulture, "{0}[{1}]", arrayName, i));
System\Diagnostics\Eventing\Reader\EventLogSession.cs (2)
273this.ExportLogAndMessages(path, pathType, query, targetFilePath, false, CultureInfo.CurrentCulture ); 278targetCultureInfo = CultureInfo.CurrentCulture;
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (1)
78targetCultureInfo = CultureInfo.CurrentCulture;
System\Diagnostics\Eventing\Reader\ProviderMetadataCachedInformation.cs (6)
205ProviderMetadataId key = new ProviderMetadataId(ProviderName, CultureInfo.CurrentCulture); 220ProviderMetadataId key = new ProviderMetadataId(ProviderName, CultureInfo.CurrentCulture); 235ProviderMetadataId key = new ProviderMetadataId(ProviderName, CultureInfo.CurrentCulture); 245ProviderMetadataId key = new ProviderMetadataId(ProviderName, CultureInfo.CurrentCulture); 255ProviderMetadataId key = new ProviderMetadataId(ProviderName, CultureInfo.CurrentCulture); 265ProviderMetadataId key = new ProviderMetadataId(ProviderName, CultureInfo.CurrentCulture);
System\IO\__Error.cs (5)
160throw new FileNotFoundException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.IO_FileNotFound_FileName), str), str); 168throw new DirectoryNotFoundException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.IO_PathNotFound_Path), str)); 176throw new UnauthorizedAccessException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.UnauthorizedAccess_IODenied_Path), str)); 189throw new DriveNotFoundException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.IO_DriveNotFound_Drive), str)); 206throw new IOException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.IO_IO_FileExists_Name), str), UnsafeNativeMethods.MakeHRFromErrorCode(errorCode));
System.Data (136)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (2)
105SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "line out of range:({0},{1})", line + 1, column + 1)); 111SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "column out of range:({0},{1})", line + 1, column + 1));
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (2)
658SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "no such property:{0}", propertyName)); 666SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "no such property value:{0}", propertyName));
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
112reason = string.Format(CultureInfo.CurrentCulture, SR.DuplicateCaseKey, key);
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\Metadata\MutableAttributeTable.cs (2)
554CultureInfo.CurrentCulture, 561CultureInfo.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\Automation\TextFormatConverter.cs (1)
41return string.Format(culture ?? CultureInfo.CurrentCulture, _format ?? "{0}", value.ToString());
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\EditorUtilities.cs (2)
75propertyValue, typeof(string), null, CultureInfo.CurrentCulture).ToString(); 83model, typeof(string), null, CultureInfo.CurrentCulture).ToString();
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\FromExpression\Framework\PropertyInspector\CategoryBase.cs (2)
141this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message)); 156this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\ExtensibilityMetadataHelper.cs (2)
52exceptionLogger.WriteLine(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.ValueEditorLoadFailed, ExtensibilityMetadataHelper.GetExceptionMessage(e))); 83exceptionLogger.WriteLine(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryEditorTypeLoadFailed, ExtensibilityMetadataHelper.GetExceptionMessage(e)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\NewItemFactoryTypeModel.cs (1)
58this.ReportException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.NewItemFactoryIconLoadFailed, this.factory.GetType().Name, exception.Message));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (4)
528CultureInfo.CurrentCulture, 591CultureInfo.CurrentCulture, 705return string.Format(CultureInfo.CurrentCulture, "{0} (PropertyEntry)", this.PropertyName); 709return string.Format(CultureInfo.CurrentCulture, "{0} (\"{1}\" - PropertyEntry)", this.PropertyName, this.DisplayName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (2)
244CultureInfo.CurrentCulture, 421return string.Format(CultureInfo.CurrentCulture, "{0} (PropertyValue)", value ?? "{null}");
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\CategorySelectionStop.cs (2)
50CultureInfo.CurrentCulture, 54CultureInfo.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\Internal\PropertyEditing\Selection\SelectionPathResolver.cs (1)
46Debug.Fail(string.Format(System.Globalization.CultureInfo.CurrentCulture, "ISelectionPathInterpreter for path type of ID '{0}' already registered. Ignoring.", interpreter.PathTypeId));
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\EditModeSwitchButton.cs (2)
105System.Globalization.CultureInfo.CurrentCulture, 239System.Globalization.CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
763System.Globalization.CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyFilterPredicate.cs (2)
24_matchText = matchText.ToUpper(CultureInfo.CurrentCulture); 43return target != null && target.ToUpper(CultureInfo.CurrentCulture).Contains(_matchText);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValue.cs (4)
134CultureInfo.CurrentCulture, 161string.Format(CultureInfo.CurrentCulture, Resources.Error_ValueSetFailed), 207CultureInfo.CurrentCulture, 232CultureInfo.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\Base\Core\ServiceManager.cs (5)
63string.Format(CultureInfo.CurrentCulture, 331CultureInfo.CurrentCulture, 344CultureInfo.CurrentCulture, 354CultureInfo.CurrentCulture, 398CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Documents\ViewManagerAttribute.cs (1)
39throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
140string.Format(CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (3)
189string.Format(CultureInfo.CurrentCulture, 351string.Format(CultureInfo.CurrentCulture, 414string.Format(CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignTimeValidationFeature.cs (1)
20string.Format(CultureInfo.CurrentCulture, SR.DesignTimeValidationFeatureOnlyAppliesToType, this.GetType(), this.ApplyTo, modelType)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
378new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.Error_ItemNotOnView, index)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
123var converterValue = literalValueConverter.ConvertFrom(context, CultureInfo.CurrentCulture, valueToConvert);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
45throw FxTrace.Exception.Argument("activityType", string.Format(CultureInfo.CurrentCulture, SR.TypeDoesNotInheritFromActivity, activityType.Name));
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);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
385string error = string.Format(CultureInfo.CurrentCulture, SR.NotSupportedToolboxTypeFormatString, toolType.Name, reason);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (3)
1099throw FxTrace.Exception.AsError(new NotSupportedException(string.Format(CultureInfo.CurrentCulture, "{0} argument direction is not supported", this.GetArgumentDirection()))); 1101value = this.Editor.ArgumentToExpressionConverter.ConvertBack(value, typeof(Argument), direction, CultureInfo.CurrentCulture); 1120result = this.Editor.ArgumentToExpressionConverter.Convert(value, typeof(object), null, CultureInfo.CurrentCulture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
636Fx.Assert(null != dg, string.Format(CultureInfo.CurrentCulture, "DataGrid is not in the visual tree of this control: {0}", ctrl));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (6)
1702double valueAsDouble = System.Convert.ToDouble(value, CultureInfo.CurrentCulture); 1706result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F0", CultureInfo.CurrentCulture)); 1710result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F2", CultureInfo.CurrentCulture)); 1722result = System.Convert.ToDouble(valueAsString, CultureInfo.CurrentCulture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (2)
94typeToStringConverter.Convert(etb.ExpressionType ?? propertyValue.ParentProperty.PropertyType, typeof(string), null, CultureInfo.CurrentCulture); 97hint.Text = string.Format(CultureInfo.CurrentCulture, hintFormatString, propertyValue.ParentProperty.PropertyName, friendlyTypeName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (2)
231Fx.Assert(string.Format(CultureInfo.CurrentCulture, "ExtensionWindowPlacement.Mode {0} specified in ExtensionWindow '{1}' is not supported for ExtensionSurface", mode, window.Name)); 279Fx.Assert(string.Format(CultureInfo.CurrentCulture, "ExtensionWindowPlacement.Position = '{0}' is not supported", alignment));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
323namespaceModel.Properties[ErrorMessagePropertyName].SetValue(string.Format(CultureInfo.CurrentCulture, SR.CannotResolveNamespace, namespaceData.Namespace));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
416throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PromotedPropertyNotFound, outlineView.PromotedProperty, property.Value.Name)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
1297return ScopeToTooltipConverter.BuildToolTip(s, converter, CultureInfo.CurrentCulture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
105string errorText = string.Format(CultureInfo.CurrentCulture, SR.CouldNotGenerateView, modelItem.ItemType.Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
709string error = string.Format(CultureInfo.CurrentCulture, message, arguments);
fx\src\bid\inc\cs\bidPrivateBase.cs (1)
685String.Format(CultureInfo.CurrentCulture, clrFormatString, args));
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (1)
935System.Globalization.CultureInfo.CurrentCulture.LCID,
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (6)
139System.Globalization.CultureInfo.CurrentCulture.LCID, 153System.Globalization.CultureInfo.CurrentCulture.LCID, 167System.Globalization.CultureInfo.CurrentCulture.LCID, 181System.Globalization.CultureInfo.CurrentCulture.LCID, 195System.Globalization.CultureInfo.CurrentCulture.LCID, 209System.Globalization.CultureInfo.CurrentCulture.LCID,
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
2051decimalSeparator = CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator; 2471return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, ADP.compareOptions);
fx\src\data\System\Data\Constraint.cs (1)
51CultureInfo locale = (Table != null ? Table.Locale : CultureInfo.CurrentCulture);
fx\src\data\System\Data\DataColumn.cs (2)
443return ((null != table) ? table.FormatProvider : CultureInfo.CurrentCulture); 450return ((null != table) ? table.Locale : CultureInfo.CurrentCulture);
fx\src\data\System\Data\DataRelation.cs (1)
380CultureInfo locale = (dataSet != null ? dataSet.Locale : CultureInfo.CurrentCulture);
fx\src\data\System\Data\DataSet.cs (1)
107_culture = CultureInfo.CurrentCulture; // Set default locale
fx\src\data\System\Data\DataTable.cs (1)
188_culture = CultureInfo.CurrentCulture;
fx\src\data\System\Data\DataView.cs (2)
369CultureInfo locale = (table != null ? table.Locale : CultureInfo.CurrentCulture); 477CultureInfo locale = (table != null ? table.Locale : CultureInfo.CurrentCulture);
fx\src\data\System\Data\Filter\ExpressionNode.cs (1)
25return ((null != _table) ? _table.FormatProvider : System.Globalization.CultureInfo.CurrentCulture);
fx\src\data\System\Data\Odbc\OdbcParameter.cs (5)
597value = ((Decimal)value).ToString(CultureInfo.CurrentCulture); 609value = ((Int64)value).ToString(CultureInfo.CurrentCulture); 646int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID; 849int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID; 858Value = Decimal.Parse((string)Value, System.Globalization.CultureInfo.CurrentCulture);
fx\src\data\System\Data\OleDb\OleDbError.cs (1)
26int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID;
fx\src\Data\System\Data\ProviderBase\DbParameterCollectionHelper.cs (1)
270name = ADP.Parameter + index.ToString(CultureInfo.CurrentCulture);
fx\src\data\System\Data\Sql\SqlMetaData.cs (6)
446m_lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 468lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 473lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 478lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 483lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 489lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID;
fx\src\data\System\Data\SqlClient\LocalDBAPI.cs (3)
196int hResult=LocalDBFormatMessage(hrLocalDB: hrCode, dwFlags: const_LOCALDB_TRUNCATE_ERR_MESSAGE, dwLanguageId: (UInt32)CultureInfo.CurrentCulture.LCID, 210return string.Format(CultureInfo.CurrentCulture, "{0} (0x{1:X}).", Res.GetString("LocalDB_UnobtainableMessage"), hResult); 215return string.Format(CultureInfo.CurrentCulture, "{0} ({1}).", Res.GetString("LocalDB_UnobtainableMessage"), exc.Message);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
421localeId = System.Globalization.CultureInfo.CurrentCulture.LCID;
fx\src\data\System\Data\SQLTypes\SQLString.cs (1)
237public SqlString(String data) : this(data, System.Globalization.CultureInfo.CurrentCulture.LCID, x_iDefaultFlag) {
fx\src\data\System\Data\xmlsaver.cs (2)
877if (dataSet.ShouldSerializeLocale() || !dataSet.Locale.Equals(CultureInfo.CurrentCulture)) { 893if (dt.ShouldSerializeLocale() || !dt.Locale.Equals(CultureInfo.CurrentCulture)) {
fx\src\data\System\Data\XMLSchema.cs (4)
1751String tmp = (-1).ToString(CultureInfo.CurrentCulture); 1850String tmp = (-1).ToString(CultureInfo.CurrentCulture); 2185String tmp = GetStringAttribute(elem, Keywords.MSD_ORDINAL, (-1).ToString(CultureInfo.CurrentCulture)); 2234_ds.SetLocaleValue(CultureInfo.CurrentCulture, false);
System.Data.DataSetExtensions (1)
System\Data\DataTableExtensions.cs (1)
158table.Locale = CultureInfo.CurrentCulture;
System.Data.Entity (28)
System\Data\Common\EntitySql\CqlParserHelpers.cs (1)
173syntaxContextInfo = String.Format(CultureInfo.CurrentCulture, "{0} '{1}'", syntaxContextInfo, term);
System\Data\Common\EntityUtil.cs (4)
532return Metadata(String.Format(CultureInfo.CurrentCulture, EntityRes.GetString(EntityRes.InvalidSchemaEncountered), errors)); 601return Argument(System.Data.Entity.Strings.InvalidEDMVersion(edmVersion.ToString(CultureInfo.CurrentCulture))); 1679result = cardinality.Value.ToString(CultureInfo.CurrentCulture); 2037return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, EntityUtil.StringCompareOptions);
System\Data\Common\Internal\Materialization\Translator.cs (1)
419Debug.Fail(string.Format(CultureInfo.CurrentCulture, "The type {0} was not the expected scalar, enumeration, collection, structural, nominal, or reference type.", edmType.GetType()));
System\Data\EntityClient\DbParameterCollectionHelper.cs (1)
272name = EntityUtil.Parameter + index.ToString(CultureInfo.CurrentCulture);
System\Data\EntityKey.cs (1)
1389return String.Format(System.Globalization.CultureInfo.CurrentCulture, "[{0}, {1}]", _keyName, _keyValue);
System\Data\EntityModel\SchemaObjectModel\NavigationProperty.cs (1)
196Debug.Assert(_unresolvedRelationshipName == null, string.Format(CultureInfo.CurrentCulture, "{0} is already defined", reader.Name));
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (1)
200Debug.Assert(typeModifier == TypeModifier.None, string.Format(CultureInfo.CurrentCulture, "Type is not valid for property {0}: {1}. The modifier for the type cannot be used in this context.", FQName, reader.Value));
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (1)
171Debug.Assert(typeModifier == TypeModifier.None, string.Format(CultureInfo.CurrentCulture, "Type is not valid for property {0}: {1}. The modifier for the type cannot be used in this context.", FQName, reader.Value));
System\Data\EntityModel\SchemaObjectModel\RowTypePropertyElement.cs (1)
79Debug.Assert(typeModifier == TypeModifier.None, string.Format(CultureInfo.CurrentCulture, "Type is not valid for property {0}: {1}. The modifier for the type cannot be used in this context.", FQName, reader.Value));
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
1285Debug.Assert(resourceStream != null, string.Format(CultureInfo.CurrentCulture, "Unable to load the resource {0} from assembly resources.", resourceName));
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (2)
415Debug.Assert(string.IsNullOrEmpty(field), string.Format(CultureInfo.CurrentCulture, "{0} is already defined", reader.Name)); 434Debug.Assert(string.IsNullOrEmpty(field), string.Format(CultureInfo.CurrentCulture, "{0} is already defined", reader.Name));
System\Data\EntityModel\SchemaObjectModel\StructuredType.cs (1)
371Debug.Assert(UnresolvedBaseType == null, string.Format(CultureInfo.CurrentCulture, "{0} is already defined", reader.Name));
System\Data\EntityModel\SchemaObjectModel\Utils.cs (1)
197string.Format(CultureInfo.CurrentCulture, "{1} ({0}) is not valid. {1} cannot be qualified.", name, reader.Name));
System\Data\EntitySqlException.cs (3)
247sb.AppendFormat(CultureInfo.CurrentCulture, "{0}, ", errorContextInfo); 252sb.AppendFormat(CultureInfo.CurrentCulture, 275sb.AppendFormat(CultureInfo.CurrentCulture, " {0} {1}", System.Data.Entity.Strings.LocalizedNear, errorContext);
System\Data\Mapping\StorageMappingItemCollection.cs (1)
238String.Format(System.Globalization.CultureInfo.CurrentCulture,
System\Data\Metadata\Edm\Facet.cs (1)
96string.Format(CultureInfo.CurrentCulture, "The facet {0} has type {1}, but a value of type {2} was supplied.", result.Name, result.FacetType.ClrType, valueType)
System\Data\Metadata\Edm\MemberCollection.cs (1)
339Debug.Assert(member.DeclaringType == null, string.Format(CultureInfo.CurrentCulture, "The member {0} already has a declaring type, it cannot be added to this collection.", argumentName));
System\Data\Metadata\EdmSchemaError.cs (2)
131text = String.Format(System.Globalization.CultureInfo.CurrentCulture, "{0} {1:0000}: {2}", 138text = String.Format(System.Globalization.CultureInfo.CurrentCulture, "{0}({1},{2}) : {3} {4:0000}: {5}",
System\Data\Objects\FieldDescriptor.cs (1)
93Debug.Fail(string.Format(CultureInfo.CurrentCulture, "The type {0} was not the expected scalar, enumeration, collection, structural, nominal, or reference type.", edmType.GetType()));
System\Data\Objects\Internal\EntityProxyFactory.cs (2)
461Debug.Assert(property != null, String.Format(CultureInfo.CurrentCulture, "Expected property {0} to be defined on proxy type {1}", member.Name, proxyType.FullName)); 464Debug.Assert(interceptorField != null, String.Format(CultureInfo.CurrentCulture, "Expected interceptor field for property {0} to be defined on proxy type {1}", member.Name, proxyType.FullName));
System.Data.Entity.Design (2)
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
152string paramComment = string.Format(System.Globalization.CultureInfo.CurrentCulture,
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
72DateTime.Now.ToString( System.Globalization.CultureInfo.CurrentCulture ));
System.Data.Linq (1)
SqlClient\SqlProvider.cs (1)
1171p.Size.ToString(System.Globalization.CultureInfo.CurrentCulture),
System.Data.Services (3)
System\Data\Services\DataServiceException.cs (1)
167this.messageLanguage = messageXmlLang ?? CultureInfo.CurrentCulture.Name;
System\Data\Services\ErrorHandler.cs (2)
280messageLang = dataException.MessageLanguage ?? CultureInfo.CurrentCulture.Name; 287messageLang = CultureInfo.CurrentCulture.Name;
System.Data.Services.Design (3)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
120errorMessage = String.Format(CultureInfo.CurrentCulture, "{0}: {1}", IO.Path.GetFileName(mapFilePath), errorMessage);
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
147string paramComment = string.Format(System.Globalization.CultureInfo.CurrentCulture,
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
138DateTime.Now.ToString(System.Globalization.CultureInfo.CurrentCulture));
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XmlCollation.cs (1)
359return CultureInfo.CurrentCulture;
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
504return CultureInfo.CurrentCulture;
System.Drawing (48)
commonui\System\Drawing\Advanced\Font.cs (1)
783return string.Format( CultureInfo.CurrentCulture, "[{0}: Name={1}, Size={2}, Units={3}, GdiCharSet={4}, GdiVerticalFont={5}]",
commonui\System\Drawing\Advanced\FontFamily.cs (1)
245return string.Format(CultureInfo.CurrentCulture, "[{0}: Name={1}]", GetType().Name, this.Name);
commonui\System\Drawing\Advanced\PointF.cs (1)
222return string.Format(CultureInfo.CurrentCulture, "{{X={0}, Y={1}}}", x, y);
commonui\System\Drawing\Advanced\RectangleF.cs (4)
488return "{X=" + X.ToString(CultureInfo.CurrentCulture) + ",Y=" + Y.ToString(CultureInfo.CurrentCulture) + 489",Width=" + Width.ToString(CultureInfo.CurrentCulture) + 490",Height=" + Height.ToString(CultureInfo.CurrentCulture) + "}";
commonui\System\Drawing\Advanced\SizeF.cs (2)
260return "{Width=" + width.ToString(CultureInfo.CurrentCulture) + ", Height=" + height.ToString(CultureInfo.CurrentCulture) + "}";
commonui\System\Drawing\Advanced\SizeFConverter.cs (2)
76culture = CultureInfo.CurrentCulture; 118culture = CultureInfo.CurrentCulture;
commonui\System\Drawing\Color.cs (1)
1466return string.Format(CultureInfo.CurrentCulture,
commonui\System\Drawing\ColorConverter.cs (2)
144culture = CultureInfo.CurrentCulture; 262culture = CultureInfo.CurrentCulture;
commonui\System\Drawing\FontConverter.cs (3)
95culture = CultureInfo.CurrentCulture; 219culture = CultureInfo.CurrentCulture; 409string fonstStringFormat = string.Format(CultureInfo.CurrentCulture, "name{0} size[units[{0} style=style1[{0} style2{0} ...]]]", separator);
commonui\System\Drawing\Point.cs (2)
285return "{X=" + X.ToString(CultureInfo.CurrentCulture) + ",Y=" + Y.ToString(CultureInfo.CurrentCulture) + "}";
commonui\System\Drawing\PointConverter.cs (2)
76culture = CultureInfo.CurrentCulture; 119culture = CultureInfo.CurrentCulture;
commonui\System\Drawing\Printing\MarginsConverter.cs (2)
75culture = CultureInfo.CurrentCulture; 117culture = CultureInfo.CurrentCulture;
commonui\System\Drawing\Printing\PrinterSettings.cs (10)
101"value", value.ToString(CultureInfo.CurrentCulture), 102(0).ToString(CultureInfo.CurrentCulture))); 196"value", value.ToString(CultureInfo.CurrentCulture), 197(0).ToString(CultureInfo.CurrentCulture))); 342"value", value.ToString(CultureInfo.CurrentCulture), 343(0).ToString(CultureInfo.CurrentCulture))); 359"value", value.ToString(CultureInfo.CurrentCulture), 360(0).ToString(CultureInfo.CurrentCulture))); 619"value", value.ToString(CultureInfo.CurrentCulture), 620(0).ToString(CultureInfo.CurrentCulture)));
commonui\System\Drawing\Rectangle.cs (4)
508return "{X=" + X.ToString(CultureInfo.CurrentCulture) + ",Y=" + Y.ToString(CultureInfo.CurrentCulture) + 509",Width=" + Width.ToString(CultureInfo.CurrentCulture) + 510",Height=" + Height.ToString(CultureInfo.CurrentCulture) + "}";
commonui\System\Drawing\RectangleConverter.cs (2)
76culture = CultureInfo.CurrentCulture; 120culture = CultureInfo.CurrentCulture;
commonui\System\Drawing\Size.cs (2)
260return "{Width=" + width.ToString(CultureInfo.CurrentCulture) + ", Height=" + height.ToString(CultureInfo.CurrentCulture) + "}";
commonui\System\Drawing\SizeConverter.cs (2)
76culture = CultureInfo.CurrentCulture; 119culture = CultureInfo.CurrentCulture;
commonui\System\Drawing\ToolboxBitmapAttribute.cs (2)
428if (String.Compare(Path.GetExtension(imageName), ".ico", true, CultureInfo.CurrentCulture) == 0) { 431else if (String.Compare(Path.GetExtension(imageName), ".bmp", true, CultureInfo.CurrentCulture) == 0) {
misc\DbgUtil.cs (3)
259return String.Format( CultureInfo.CurrentCulture, "0x{0:x8} - {1}", err, message); 357trace += String.Format(CultureInfo.CurrentCulture, "at {0} {1}.{2}({3})\r\n", fileName, mi.DeclaringType, mi.Name, args ); 386return String.Format( CultureInfo.CurrentCulture, "{0}\r\nTop Stack Trace:\r\n{1}", message, DbgUtil.StackFramesToStr(frameCount));
System.IdentityModel (1)
System\IdentityModel\Claims\Claim.cs (1)
218return string.Format(CultureInfo.CurrentCulture, "{0}: {1}", this.right, this.claimType);
System.Management (5)
MgmtResManager.cs (1)
19return resMgr.GetString(strToGet,CultureInfo.CurrentCulture);
property.cs (4)
303 ((UInt64[])val) [i] = Convert.ToUInt64((String)(wmiValueArray.GetValue(i)),(IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(System.UInt64))); 317 ((Int64[])val) [i] = Convert.ToInt64((String)(wmiValueArray.GetValue(i)),(IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(System.Int64))); 356 val = Convert.ToUInt64((String)wmiValue,(IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(System.UInt64))); 360 val = Convert.ToInt64((String)wmiValue,(IFormatProvider)CultureInfo.CurrentCulture.GetFormat(typeof(System.Int64)));
System.Messaging (11)
System\Messaging\Design\SizeConverter.cs (1)
48if (text.Length == 0 || string.Compare(text, Res.GetString(Res.InfiniteValue), true, CultureInfo.CurrentCulture) == 0)
System\Messaging\Design\TimeoutConverter.cs (1)
51if (text.Length == 0 || (string.Compare(text, Res.GetString(Res.InfiniteValue), true, CultureInfo.CurrentCulture) == 0))
System\Messaging\Interop\Columns.cs (1)
35throw new InvalidOperationException(Res.GetString(Res.TooManyColumns, this.maxCount.ToString(CultureInfo.CurrentCulture)));
System\Messaging\MessageQueueCriteria.cs (8)
60throw new ArgumentException(Res.GetString(Res.InvalidDateValue, MessageQueueCriteria.minDate.ToString(CultureInfo.CurrentCulture), MessageQueueCriteria.maxDate.ToString(CultureInfo.CurrentCulture))); 89throw new ArgumentException(Res.GetString(Res.InvalidDateValue, MessageQueueCriteria.minDate.ToString(CultureInfo.CurrentCulture), MessageQueueCriteria.maxDate.ToString(CultureInfo.CurrentCulture))); 191throw new ArgumentException(Res.GetString(Res.InvalidDateValue, MessageQueueCriteria.minDate.ToString(CultureInfo.CurrentCulture), MessageQueueCriteria.maxDate.ToString(CultureInfo.CurrentCulture))); 221throw new ArgumentException(Res.GetString(Res.InvalidDateValue, MessageQueueCriteria.minDate.ToString(CultureInfo.CurrentCulture), MessageQueueCriteria.maxDate.ToString(CultureInfo.CurrentCulture)));
System.Net (2)
net\Logging.cs (2)
125sb.Append(String.Format(CultureInfo.CurrentCulture, "{0:X8} : ", offset)); 128sb.Append(String.Format(CultureInfo.CurrentCulture, "{0:X2}", buffer[offset + i]) + ((i == 7) ? '-' : ' '));
System.Numerics (14)
System\Numerics\Complex.cs (4)
259return (String.Format(CultureInfo.CurrentCulture, "({0}, {1})", this.m_real, this.m_imaginary)); 263return (String.Format(CultureInfo.CurrentCulture, "({0}, {1})", this.m_real.ToString(format, CultureInfo.CurrentCulture), this.m_imaginary.ToString(format, CultureInfo.CurrentCulture)));
System\Numerics\Matrix3x2.cs (1)
791CultureInfo ci = CultureInfo.CurrentCulture;
System\Numerics\Matrix4x4.cs (1)
2191CultureInfo ci = CultureInfo.CurrentCulture;
System\Numerics\Plane.cs (1)
352CultureInfo ci = CultureInfo.CurrentCulture;
System\Numerics\Quaternion.cs (1)
778CultureInfo ci = CultureInfo.CurrentCulture;
System\Numerics\Vector2.cs (2)
65return ToString("G", CultureInfo.CurrentCulture); 75return ToString(format, CultureInfo.CurrentCulture);
System\Numerics\Vector3.cs (2)
71return ToString("G", CultureInfo.CurrentCulture); 81return ToString(format, CultureInfo.CurrentCulture);
System\Numerics\Vector4.cs (2)
75return ToString("G", CultureInfo.CurrentCulture); 85return ToString(format, CultureInfo.CurrentCulture);
System.Runtime.Caching (1)
Resources\RH.cs (1)
9return String.Format(CultureInfo.CurrentCulture, resource, args);
System.Runtime.Remoting (73)
channels\core\corechannel.cs (5)
814CultureInfo.CurrentCulture, CoreChannel.GetResourceString( 825CultureInfo.CurrentCulture, CoreChannel.GetResourceString( 937sidString.Append(String.Format(CultureInfo.CurrentCulture, "{0:x2}{1:x2}{2:x2}{3:x2}{4:x2}{5:x2}", 952sidString.Append(String.Format(CultureInfo.CurrentCulture, "{0:x12}", number)); 963sidString.Append(String.Format(CultureInfo.CurrentCulture, "-{0:x12}", number));
channels\http\httpremotinghandler.cs (1)
466throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_AssemblyLoadFailed"), "System.Web.Services"));
channels\http\httpserverchannel.cs (1)
458CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Socket_Accept"),
channels\ipc\ipcclientmanager.cs (2)
59CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_ExpectingReplyOp"), 60operation.ToString(CultureInfo.CurrentCulture)));
channels\ipc\ipcmanager.cs (3)
154CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_UnknownHeaderType"), 174CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_GenericServerError"), 187CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_IncorrectHeaderFormat"),
channels\ipc\ipcport.cs (9)
104throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_CreateIpcFailed"), GetMessage(error))); 162throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ConnectIpcFailed"), GetMessage(error))); 167throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_Busy"), GetMessage(error))); 187return String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_UnknownError_Num"), errorCode.ToString(CultureInfo.InvariantCulture)); 198throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ImpersonationFailed"), GetMessage(error))); 212throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ReadFailure"), GetMessage(error))); 246throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ReadFailure"), GetMessage(error))); 290throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ReadFailure"), GetMessage(ar._errorCode))); 307throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_WriteFailure"), GetMessage(error)));
channels\sinks\soapformattersinks.cs (2)
671CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Soap_InvalidSoapAction"), 860CultureInfo.CurrentCulture, CoreChannel.GetResourceString(
channels\tcp\tcpclientchannel.cs (2)
293String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_AuthenticationFailed")), e); 366CultureInfo.CurrentCulture, CoreChannel.GetResourceString(
channels\tcp\tcpclientsocketmanager.cs (2)
91CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_ExpectingReplyOp"), 92operation.ToString(CultureInfo.CurrentCulture)));
channels\tcp\tcpserverchannel.cs (3)
399CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Socket_Accept"), 400Marshal.GetLastWin32Error().ToString(CultureInfo.CurrentCulture))); 510String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_ServerAuthenticationFailed")), false);
channels\tcp\tcpsocketmanager.cs (10)
80CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_UnknownProtocolVersion"), 81majorVersion.ToString(CultureInfo.CurrentCulture) + "." + minorVersion.ToString(CultureInfo.CurrentCulture))); 109CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_ExpectingContentLengthHeader"), 110header.ToString(CultureInfo.CurrentCulture))); 192CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_UnknownHeaderType"), 212CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_GenericServerError"), 315CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_UnrecognizedStringFormat"), 316strFormat.ToString(CultureInfo.CurrentCulture))); 366CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_IncorrectHeaderFormat"),
channels\tcp\tcpstreams.cs (2)
310CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_ExpectingRequestOp"), 311operation.ToString(CultureInfo.CurrentCulture)));
metadata\metadata.cs (1)
73CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Sdl generation is not supported")));
metadata\sdlchannelsink.cs (1)
312CultureInfo.CurrentCulture, "Object with uri '{0}' does not exist at server.",
metadata\wsdlparser.cs (29)
731throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_Import"), reader.Location)); 836throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_UnknownElementAtRootLevel"), elementName)); 1144throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_DuplicatePortTypesOperationName"), portTypeOperation.name)); 1152throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_DuplicatePortSectionName"), portContent.name)); 1547throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_RpcBindingsMissing"))); 1569String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveElementInNS"), 1735String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidMessage"), 1792String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidMessage"), 1809String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveNestedTypeNS"), 1819String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveNestedType"), 1929String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidPortType"), 2002String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlMissingMessage"), 2046String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlMissingMessage"), 2082String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidPortType"), 2168String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_AttributeNotFound"), 2531String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidStringSyntax"), 2565String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidStringSyntax"), 2648String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveTypeInNS"), 4088String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 4465throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_AssemblyNotFound"), assemName)); 4761String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 4768String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveTypeInNS"), 5212throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_AssemblyNotFound"), assemName)); 5320String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_InvalidEnumType"), type)); 5777String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 5845String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 5852String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveTypeInNS"), 6385String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidArraySyntax"), 6493String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"),
System.Security (13)
system\security\cryptography\dataprotection.cs (1)
243throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), (int) scope));
system\security\cryptography\pkcs\pkcs7signer.cs (3)
89throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value")); 92throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value")); 139throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value"));
system\security\cryptography\pkcs\recipientinfo.cs (1)
445throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Originator_Identifier_Choice"), keyAgree.dwOriginatorChoice.ToString(CultureInfo.CurrentCulture));
system\security\cryptography\x509\x509ui.cs (1)
93throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "selectionFlag"));
system\security\cryptography\xml\reference.cs (2)
355throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_SelfReferenceRequiresContext"), m_uri)); 369throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_SelfReferenceRequiresContext"),m_uri));
system\security\cryptography\xml\signedinfo.cs (1)
98throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_CreateTransformFailed"), this.CanonicalizationMethod));
system\security\permissions\dataprotectionpermission.cs (4)
68throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 83throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 100throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 150throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), (int)flags));
System.ServiceModel (69)
System\ServiceModel\Administration\WbemProvider.cs (1)
803this.keys.Add(match.Groups["key"].Value, Int32.Parse(match.Groups["ival"].Value, CultureInfo.CurrentCulture));
System\ServiceModel\Channels\BindingContext.cs (1)
166builder.Append(CultureInfo.CurrentCulture.TextInfo.ListSeparator);
System\ServiceModel\Channels\ChannelRequirements.cs (2)
275contractChannelTypes.Append(CultureInfo.CurrentCulture.TextInfo.ListSeparator); 319bindingChannelTypes.Append(CultureInfo.CurrentCulture.TextInfo.ListSeparator);
System\ServiceModel\Channels\FaultConverter.cs (9)
98exception = new ProtocolException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 136exception = new ActionNotSupportedException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 141exception = new EndpointNotFoundException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 149exception = new MessageHeaderException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text, true); 157exception = new MessageHeaderException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 162exception = new ProtocolException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 170exception = new ProtocolException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 175exception = new ProtocolException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text); 189exception = new ServerTooBusyException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
System\ServiceModel\Channels\MessageFault.cs (1)
118defaultMessageFault = MessageFault.CreateFault(new FaultCode("Default"), new FaultReason("", CultureInfo.CurrentCulture));
System\ServiceModel\Channels\PipeConnection.cs (1)
2890IntPtr.Zero, error, CultureInfo.CurrentCulture.LCID, stringBuilder, stringBuilder.Capacity, IntPtr.Zero) != 0)
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (2)
3204FaultReason faultReason = new FaultReason(SR.GetString(SR.CSRefused, reason), CultureInfo.CurrentCulture); 3297FaultReason faultReason = new FaultReason(reason, CultureInfo.CurrentCulture);
System\ServiceModel\Channels\ServiceChannel.cs (4)
1118throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new ChannelTerminatedException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text)); 1123throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new ProtocolException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text)); 1132throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new SecurityAccessDeniedException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text)); 1157fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text));
System\ServiceModel\Channels\TransactionChannelFaultConverter.cs (1)
25exception = new ProtocolException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
System\ServiceModel\Channels\WsrmFault.cs (1)
35this.reason = new FaultReason(faultReason, CultureInfo.CurrentCulture);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (3)
532this.instanceID.ToString(CultureInfo.CurrentCulture), 533this.managedThreadID.ToString(CultureInfo.CurrentCulture), 534this.unmanagedThreadID.ToString(CultureInfo.CurrentCulture),
System\ServiceModel\ComIntegration\Error.cs (1)
129FaultReason reasonObj = new FaultReason(reason, CultureInfo.CurrentCulture);
System\ServiceModel\Configuration\XPathMessageFilterElement.cs (1)
92filter.NodeQuota = int.Parse(nodeQuotaStringValue, CultureInfo.CurrentCulture);
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1412CultureInfo ci = CultureInfo.CurrentCulture;
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
861return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Dispatcher\AuthenticationBehavior.cs (1)
153FaultReason faultReason = new FaultReason(SR.GetString(SR.AuthenticationOfClientFailed), CultureInfo.CurrentCulture);
System\ServiceModel\Dispatcher\AuthorizationBehavior.cs (1)
165FaultReason faultReason = new FaultReason(SR.GetString(SR.AccessDenied), CultureInfo.CurrentCulture);
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
734endpointContractNames.Append(CultureInfo.CurrentCulture.TextInfo.ListSeparator);
System\ServiceModel\Dispatcher\TransactionBehavior.cs (1)
66FaultReason reason = new FaultReason(reasonText, CultureInfo.CurrentCulture);
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (1)
53String.Format(Globalization.CultureInfo.CurrentCulture, SR.GetString(resource), name, binding.Name)));
System\ServiceModel\FaultException.cs (1)
255return reason.GetMatchingTranslation(System.Globalization.CultureInfo.CurrentCulture).Text;
System\ServiceModel\FaultReason.cs (1)
72return GetMatchingTranslation(CultureInfo.CurrentCulture);
System\ServiceModel\FaultReasonText.cs (1)
19this.xmlLang = CultureInfo.CurrentCulture.Name;
System\ServiceModel\MsmqException.cs (2)
175CultureInfo.CurrentCulture.LCID, 190CultureInfo.CurrentCulture.LCID,
System\ServiceModel\MustUnderstandSoapException.cs (1)
39FaultReason reason = new FaultReason(SR.GetString(SR.SFxHeaderNotUnderstood, name, ns), CultureInfo.CurrentCulture);
System\ServiceModel\ProtocolException.cs (2)
26FaultReasonText reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture); 50FaultReasonText reason = fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture);
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (1)
224FaultReason reason = new FaultReason(SR.GetString(SR.InvalidOrUnrecognizedAction, action), System.Globalization.CultureInfo.CurrentCulture);
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (3)
919reason = new FaultReason(SR.GetString(SR.FailedAuthenticationTrustFaultCode), CultureInfo.CurrentCulture); 926reason = new FaultReason(SR.GetString(SR.NegotiationQuotasExceededFaultReason), CultureInfo.CurrentCulture); 932reason = new FaultReason(SR.GetString(SR.InvalidRequestTrustFaultCode), CultureInfo.CurrentCulture);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (3)
449reason = new FaultReason(SR.GetString(SR.PendingSessionsExceededFaultReason), CultureInfo.CurrentCulture); 456reason = new FaultReason(SR.GetString(SR.SecurityListenerClosingFaultReason), CultureInfo.CurrentCulture); 462reason = new FaultReason(SR.GetString(SR.InvalidRequestTrustFaultCode), CultureInfo.CurrentCulture);
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)));
System\ServiceModel\Security\SecurityUtils.cs (5)
1311reason = new FaultReason(SR.GetString(SR.BadContextTokenOrActionFaultReason, action), CultureInfo.CurrentCulture); 1315reason = new FaultReason(SR.GetString(SR.BadContextTokenFaultReason), CultureInfo.CurrentCulture); 1371reason = new FaultReason(SR.GetString(SR.FailedAuthenticationFaultReason), CultureInfo.CurrentCulture); 1376reason = new FaultReason(SR.GetString(SR.InvalidSecurityTokenFaultReason), CultureInfo.CurrentCulture); 1386reason = new FaultReason(SR.GetString(SR.InvalidSecurityFaultReason), CultureInfo.CurrentCulture);
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
235return String.Format(CultureInfo.CurrentCulture, "SecurityContextSecurityToken(Identifier='{0}', KeyGeneration='{1}')", this.contextId, this.keyGeneration);
System\ServiceModel\ServiceHost.cs (1)
650buffer.Append(CultureInfo.CurrentCulture.TextInfo.ListSeparator).Append(address.Scheme);
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
54return String.Format(CultureInfo.CurrentCulture, "{0}, SyndicationVersion={1}", this.GetType(), this.Version);
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (1)
55return String.Format(CultureInfo.CurrentCulture, "{0}, SyndicationVersion={1}", this.GetType(), this.Version);
System\ServiceModel\WSAddressing10ProblemHeaderQNameFault.cs (2)
43this.reason = new FaultReason(e.Message, CultureInfo.CurrentCulture); 53this.reason = new FaultReason(e.Message, CultureInfo.CurrentCulture);
System.ServiceModel.Activation (9)
System\ServiceModel\Activation\Diagnostics\TraceUtility.cs (1)
48return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Activation\HostedHttpTransportManager.cs (2)
158new StringTraceRecord("IsRecycling", ServiceHostingEnvironment.IsRecycling.ToString(CultureInfo.CurrentCulture)), 236this.cultureInfo = CultureInfo.CurrentCulture;
System\ServiceModel\Activation\ServiceRoute.cs (2)
48routePrefix = string.Format(CultureInfo.CurrentCulture, "{0}{1}", routePrefix, UnmatchedPathSegment); 52routePrefix = string.Format(CultureInfo.CurrentCulture, "{0}/{1}", routePrefix, UnmatchedPathSegment);
System\ServiceModel\Activation\ServiceRouteHandler.cs (1)
40this.baseAddress = string.Format(CultureInfo.CurrentCulture, "~/{0}", baseAddress);
System\ServiceModel\ServiceHostingEnvironment.cs (3)
327ServiceHostingEnvironment.serviceActivationElementPath = string.Format(CultureInfo.CurrentCulture, "{0}/{1}", 669string value = string.Format(CultureInfo.CurrentCulture, "{0}|{1}|{2}", normalizedRelativeAddress, element.Factory, element.Service); 1230normalizedVirtualPath = String.Format(CultureInfo.CurrentCulture, "{0}{1}", pathSegment, fileName);
System.ServiceModel.Activities (6)
System\ServiceModel\Activities\ChannelCacheDefaults.cs (1)
18internal static int DefaultMaxItemsPerCache = Int32.Parse(DefaultMaxItemsPerCacheString, CultureInfo.CurrentCulture);
System\ServiceModel\Activities\Dispatcher\DurableDispatcherAddressingFault.cs (1)
20this.faultReason = new FaultReason(new FaultReasonText(SR2.CurrentOperationCannotCreateInstance, CultureInfo.CurrentCulture));
System\ServiceModel\Activities\Dispatcher\OperationExecutionFault.cs (1)
31description, CultureInfo.CurrentCulture));
System\ServiceModel\Activities\ToReply.cs (2)
212new FaultReason(new FaultReasonText(exception.Message, CultureInfo.CurrentCulture)), 218new FaultReason(new FaultReasonText(SR2.InternalServerError, CultureInfo.CurrentCulture)));
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (1)
88new FaultReason(new FaultReasonText(SR.InternalServerError, CultureInfo.CurrentCulture)));
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpChannelBase.cs (1)
282messageIdString = string.Format(CultureInfo.CurrentCulture, "'{0}' ", message.Headers.MessageId.ToString());
System.ServiceModel.Internals (8)
System\Runtime\Diagnostics\DiagnosticEventProvider.cs (1)
84throw new InvalidOperationException(InternalSR.EtwRegistrationFailed(etwRegistrationStatus.ToString("x", CultureInfo.CurrentCulture)));
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
349return String.Format(CultureInfo.CurrentCulture, "{0}/{1}", source.GetType().ToString(), source.GetHashCode());
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (6)
335using (StringWriter stringWriter = new StringWriter(sb, CultureInfo.CurrentCulture)) 476using (StringWriter stringWriter = new StringWriter(sb, CultureInfo.CurrentCulture)) 620DiagnosticTraceBase.ProcessName, DiagnosticTraceBase.ProcessId.ToString(CultureInfo.CurrentCulture)); 725using (StringWriter stringWriter = new StringWriter(sb, CultureInfo.CurrentCulture)) 817using (StringWriter stringWriter = new StringWriter(sb, CultureInfo.CurrentCulture)) 846using (StringWriter stringWriter = new StringWriter(sb, CultureInfo.CurrentCulture))
System.ServiceModel.Web (5)
SR.cs (3)
26Fx.Assert(DescriptionValue != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", new object[] { description })); 52Fx.Assert(localizedString != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", new object[] { value })); 74Fx.Assert(DisplayNameValue != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", new object[] { name }));
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
395innerFault = MessageFault.CreateFault(code, new FaultReason(error.Message, CultureInfo.CurrentCulture), new ExceptionDetail(error));
System\ServiceModel\Dispatcher\DemultiplexingDispatchMessageFormatter.cs (1)
75sb.Append(CultureInfo.CurrentCulture.TextInfo.ListSeparator);
System.Transactions (34)
System\Transactions\Configuration\DefaultSettingsSection.cs (1)
32throw new ConfigurationErrorsException(string.Format(CultureInfo.CurrentCulture,
System\Transactions\Configuration\MachineSettingsSection.cs (1)
23throw new ConfigurationErrorsException(string.Format(CultureInfo.CurrentCulture,
System\Transactions\InternalTransaction.cs (1)
296throw new TransactionPromotionException(string.Format(CultureInfo.CurrentCulture,
System\Transactions\Oletx\DTCTransactionManager.cs (1)
167returnTimeout = ( Convert.ToUInt32( timeout.TotalMilliseconds, CultureInfo.CurrentCulture ) );
System\Transactions\Oletx\OletxVolatileEnlistment.cs (17)
151this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 153this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture ) + 154", phase = " + this.phase.ToString( CultureInfo.CurrentCulture ); 189this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 190", incompleteDependentClones = " + this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture ); 253this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 255this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture ); 464abortHint.ToString( CultureInfo.CurrentCulture ) + 465", phase = " + this.phase.ToString( CultureInfo.CurrentCulture ); 584string description = "OletxPhase0VolatileEnlistmentContainer.Phase0Request, abortHint = " + abortHint.ToString( CultureInfo.CurrentCulture ); 667this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 669this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture ) + 670", phase = " + this.phase.ToString( CultureInfo.CurrentCulture ); 705this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 706", incompleteDependentClones = " + this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture ); 808this.outstandingNotifications.ToString( CultureInfo.CurrentCulture ) + 810this.incompleteDependentClones.ToString( CultureInfo.CurrentCulture );
System\Transactions\Trace\DiagnosticTrace.cs (7)
276LogEvent(TraceEventType.Error, String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.FailedToCreateTraceSource), e), true); 281LogEvent(TraceEventType.Error, String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.FailedToInitializeTraceSource), e), true); 471return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture); 478DiagnosticTrace.ProcessId.ToString(CultureInfo.CurrentCulture), 504message = String.Format(CultureInfo.CurrentCulture, "{0}: {1}\n{2}: {3}\n{4}", DiagnosticStrings.ProcessName, DiagnosticTrace.ProcessName, DiagnosticStrings.ProcessId, DiagnosticTrace.ProcessId, message); 569traceString = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.FailedToTraceEvent), e, traceString != null ? traceString : ""); 599values["ProcessId"] = DiagnosticTrace.ProcessId.ToString(CultureInfo.CurrentCulture);
System\Transactions\Trace\TraceRecords.cs (2)
73writer.WriteElementString("CloneIdentifier", cloneId.ToString( CultureInfo.CurrentCulture )); 84writer.WriteElementString("EnlistmentIdentifier", enId.EnlistmentIdentifier.ToString( CultureInfo.CurrentCulture ) );
System\Transactions\Trace\TraceXPathNavigator.cs (1)
464XmlTextWriter writer = new XmlTextWriter(new StringWriter(sb, CultureInfo.CurrentCulture));
System\Transactions\TransactionState.cs (3)
4289throw new TransactionPromotionException(string.Format(CultureInfo.CurrentCulture, 4302throw new TransactionPromotionException(string.Format(CultureInfo.CurrentCulture, 4407throw new TransactionPromotionException(string.Format(CultureInfo.CurrentCulture,
System.Web (142)
DynamicModuleRegistry.cs (1)
25string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.DynamicModuleRegistry_TypeIsNotIHttpModule), moduleType);
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);
Handlers\TraceHandler.cs (1)
498return (o is double) ? ((double)o).ToString("F6", CultureInfo.CurrentCulture) : o.ToString();
HttpException.cs (1)
379string message = String.Format(CultureInfo.CurrentCulture, compileErrorFormat,
httpserverutility.cs (1)
1122return HtmlEncode(Convert.ToString(value, CultureInfo.CurrentCulture));
Management\SqlServices.cs (1)
474file, sqlExpt.Number.ToString(CultureInfo.CurrentCulture), sqlExpt.Message),
Management\SqlWebEventProvider.cs (1)
78throw new ConfigurationErrorsException(SR.GetString(SR.Invalid_max_event_details_length, name, _maxEventDetailsLength.ToString(CultureInfo.CurrentCulture)));
Management\WebEvents.cs (2)
481eventRaised.EventCode.ToString(CultureInfo.CurrentCulture), 482WebEventCodes.WebExtendedBase.ToString(CultureInfo.CurrentCulture)));
Management\wmiprovider.cs (1)
34SR.GetString(SR.Wmi_provider_cant_initialize, "0x" + hr.ToString("X8", CultureInfo.CurrentCulture)));
ModelBinding\AssociatedMetadataProvider.cs (1)
53CultureInfo.CurrentCulture,
ModelBinding\AssociatedValidatorProvider.cs (1)
36CultureInfo.CurrentCulture,
ModelBinding\CookieValueProvider.cs (1)
21: this(modelBindingExecutionContext.HttpContext.Request.Cookies, unvalidatedValues.Cookies, CultureInfo.CurrentCulture) {
ModelBinding\DataAnnotationsModelMetadata.cs (2)
37CultureInfo.CurrentCulture, 44CultureInfo.CurrentCulture,
ModelBinding\DataAnnotationsModelValidatorProvider.cs (6)
171CultureInfo.CurrentCulture, 192CultureInfo.CurrentCulture, 209CultureInfo.CurrentCulture, 301CultureInfo.CurrentCulture, 321CultureInfo.CurrentCulture, 337CultureInfo.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),
ModelBinding\FormValueProvider.cs (1)
12: base(modelBindingExecutionContext.HttpContext.Request.Form, unvalidatedValues.Form, CultureInfo.CurrentCulture) {
ModelBinding\ModelBinderErrorMessageProviders.cs (1)
46string errorMessage = String.Format(CultureInfo.CurrentCulture, errorMessageTemplate, incomingValue, displayName);
ModelBinding\ModelBinderProviderCollection.cs (1)
126string errorMessage = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelBinderProviderCollection_InvalidBinderType),
ModelBinding\ModelMetadata.cs (2)
387string toStringResult = Convert.ToString(Model, CultureInfo.CurrentCulture); 405return Convert.ToString(firstProperty.Model, CultureInfo.CurrentCulture);
ModelBinding\SimpleValueProvider.cs (1)
19: this(modelBindingExecutionContext, CultureInfo.CurrentCulture) {
ModelBinding\ValidatableObjectAdapter.cs (1)
26CultureInfo.CurrentCulture,
ModelBinding\ValueProviderResult.cs (2)
73string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ValueProviderResult_NoConverterExists), 85string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ValueProviderResult_ConversionThrew),
parent\DataAnnotations\DataAnnotations\LocalizableString.cs (1)
133string exceptionMessage = String.Format(CultureInfo.CurrentCulture,
Routing\RouteCollection.cs (2)
328CultureInfo.CurrentCulture, 361CultureInfo.CurrentCulture,
Routing\RouteParser.cs (3)
223CultureInfo.CurrentCulture, 276CultureInfo.CurrentCulture, 330CultureInfo.CurrentCulture,
Routing\UrlRoutingModule.cs (1)
70CultureInfo.CurrentCulture,
Security\MembershipPasswordAttribute.cs (1)
307return String.Format(CultureInfo.CurrentCulture, errorMessageString, name, additionalArgument);
UI\ControlBuilder.cs (2)
2441convertedValue = System.Convert.ToString(evalValue, CultureInfo.CurrentCulture); 2444convertedValue = PropertyConverter.ObjectFromString(entry.Type, memberInfo, System.Convert.ToString(evalValue, CultureInfo.CurrentCulture));
UI\HtmlForm.cs (2)
407if (page.ClientSupportsJavaScript || !formOnSubmit.ToLower(CultureInfo.CurrentCulture).Contains("javascript")) { 415if (page.ClientSupportsJavaScript || !onSubmit.ToLower(CultureInfo.CurrentCulture).Contains("javascript")) {
UI\PageAdapter.cs (1)
241if (count > 0) writer.Write(count.ToString(CultureInfo.CurrentCulture));
UI\PageParserFilter.cs (3)
185throw new HttpException(SR.GetString(SR.Too_many_controls, _numberOfControlsAllowed.ToString(CultureInfo.CurrentCulture))); 202_dependenciesAllowed.ToString(CultureInfo.CurrentCulture))); 219_directDependenciesAllowed.ToString(CultureInfo.CurrentCulture)));
UI\PartialCachingControl.cs (1)
554StringWriter cssStringWriter = new StringWriter(CultureInfo.CurrentCulture);
UI\WebControls\Adapters\MenuAdapter.cs (4)
261CultureInfo.CurrentCulture, 268CultureInfo.CurrentCulture, 283CultureInfo.CurrentCulture, 291CultureInfo.CurrentCulture,
UI\WebControls\AdPostCacheSubstitution.cs (1)
46StringWriter stringWriter = new StringWriter(CultureInfo.CurrentCulture);
UI\WebControls\basecomparevalidator.cs (4)
232value = DateTime.Parse(text, CultureInfo.CurrentCulture); 405compareResult = String.Compare((string)leftObject, (string) rightObject, false, CultureInfo.CurrentCulture); 465if (DateTime.TryParse(text, CultureInfo.CurrentCulture, DateTimeStyles.None, out date)) { 487return System.Convert.ToString(value, CultureInfo.CurrentCulture);
UI\WebControls\BoundColumn.cs (1)
121formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValue);
UI\WebControls\BoundField.cs (3)
410formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValueString); 413formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValue); 428dataValueString = String.Format(CultureInfo.CurrentCulture, formatting, dataValue);
UI\WebControls\ButtonColumn.cs (1)
204formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\ButtonField.cs (1)
183formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\Calendar.cs (4)
1576dayNumberText = d.ToString("dd", CultureInfo.CurrentCulture); 1611dayTitle = d.ToString("m", CultureInfo.CurrentCulture); 1748titleText = visibleDate.ToString("MMMM", CultureInfo.CurrentCulture); 1757titleText = visibleDate.ToString(titlePattern, CultureInfo.CurrentCulture);
UI\WebControls\ChangePassword.cs (1)
1729failureText = String.Format(CultureInfo.CurrentCulture, failureText, provider.MinRequiredPasswordLength,
UI\WebControls\FontUnit.cs (2)
147public FontUnit(string value) : this(value, CultureInfo.CurrentCulture) { 315return ToString((IFormatProvider)CultureInfo.CurrentCulture);
UI\WebControls\HyperLinkColumn.cs (2)
209formattedUrlValue = String.Format(CultureInfo.CurrentCulture, formatting, dataUrlValue); 228formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\HyperLinkField.cs (2)
248formattedUrlValue = String.Format(CultureInfo.CurrentCulture, formatting, dataUrlValues); 267formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\ImageField.cs (2)
336formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValue); 363formattedAlternateText = String.Format(CultureInfo.CurrentCulture, altTextFormatString, value);
UI\WebControls\ListControl.cs (1)
715item.Text = String.Format(CultureInfo.CurrentCulture, textFormat, dataItem);
UI\WebControls\LoginName.cs (1)
101writer.Write(String.Format(CultureInfo.CurrentCulture, formatString, userName));
UI\WebControls\Menu.cs (3)
1468text = string.Format(CultureInfo.CurrentCulture, level.FormatString, objData); 1847using (StringWriter staticHtmlBuilder = new StringWriter(CultureInfo.CurrentCulture)) { 1894using (StringWriter dynamicHtmlBuilder = new StringWriter(CultureInfo.CurrentCulture)) {
UI\WebControls\MenuItem.cs (4)
239return String.Format(CultureInfo.CurrentCulture, _owner.StaticItemFormatString, Text); 242return String.Format(CultureInfo.CurrentCulture, _owner.DynamicItemFormatString, Text); 1059String.Format(CultureInfo.CurrentCulture, _owner.StaticPopOutImageTextFormatString, Text)); 1064String.Format(CultureInfo.CurrentCulture, _owner.DynamicPopOutImageTextFormatString, Text));
UI\WebControls\ModelDataSourceView.cs (3)
1082return new DictionaryValueProvider<object>(genericDictionary, CultureInfo.CurrentCulture); 1251string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelDataSourceView_ParameterCannotBeNull), 1258string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelDataSourceView_ParameterValueHasWrongType),
UI\WebControls\ObjectDataSourceView.cs (1)
760value = converter.ConvertFromString(null, CultureInfo.CurrentCulture, s);
UI\WebControls\Parameter.cs (3)
265return DateTimeOffset.Parse(value.ToString(), CultureInfo.CurrentCulture); 271return TimeSpan.Parse(value.ToString(), CultureInfo.CurrentCulture); 304return value = Convert.ChangeType(value, type, CultureInfo.CurrentCulture);;
UI\WebControls\ParsingCulture.cs (1)
18/// <see cref='System.Globalization.CultureInfo.CurrentCulture'/> is used.
UI\WebControls\TreeNode.cs (2)
1215String.Format(CultureInfo.CurrentCulture, imageToolTip, Text)); 1219String.Format(CultureInfo.CurrentCulture, imageToolTip, Text));
UI\WebControls\TreeView.cs (1)
1494text = string.Format(CultureInfo.CurrentCulture, level.FormatString, objData);
UI\WebControls\Unit.cs (4)
89public Unit(string value) : this(value, CultureInfo.CurrentCulture, UnitType.Pixel) { 106culture = CultureInfo.CurrentCulture; 309return new Unit(s, CultureInfo.CurrentCulture); 351return ToString((IFormatProvider)CultureInfo.CurrentCulture);
UI\WebControls\unitconverter.cs (1)
69return Unit.Parse(textValue, CultureInfo.CurrentCulture);
UI\WebParts\AppearanceEditorPart.cs (7)
104CultureInfo.CurrentCulture, out heightValue)) { 106_heightErrorMessage = SR.GetString(SR.EditorPart_PropertyMinValue, MinUnitValue.ToString(CultureInfo.CurrentCulture)); 109_heightErrorMessage = SR.GetString(SR.EditorPart_PropertyMaxValue, MaxUnitValue.ToString(CultureInfo.CurrentCulture)); 136CultureInfo.CurrentCulture, out widthValue)) { 138_widthErrorMessage = SR.GetString(SR.EditorPart_PropertyMinValue, MinUnitValue.ToString(CultureInfo.CurrentCulture)); 141_widthErrorMessage = SR.GetString(SR.EditorPart_PropertyMaxValue, MaxUnitValue.ToString(CultureInfo.CurrentCulture)); 324_value.Text = value.Value.ToString(CultureInfo.CurrentCulture);
UI\WebParts\CatalogZoneBase.cs (1)
596string text = displayTitle + " (" + count.ToString(CultureInfo.CurrentCulture) + ")";
UI\WebParts\ConnectionsZone.cs (1)
1926label.Text = String.Format(CultureInfo.CurrentCulture, instructionTitle, WebPartToConnect.DisplayTitle);
UI\WebParts\ImportCatalogPart.cs (1)
46new WebPartDescription("webpart1", String.Format(CultureInfo.CurrentCulture,
UI\WebParts\LayoutEditorPart.cs (3)
112if (Int32.TryParse(_zoneIndex.Text, NumberStyles.Integer, CultureInfo.CurrentCulture, out zoneIndex)) { 114_zoneIndexErrorMessage = SR.GetString(SR.EditorPart_PropertyMinValue, MinZoneIndex.ToString(CultureInfo.CurrentCulture)); 266_zoneIndex.Text = webPart.ZoneIndex.ToString(CultureInfo.CurrentCulture);
UI\WebParts\PageCatalogPart.cs (3)
32new WebPartDescription("webpart1", String.Format(CultureInfo.CurrentCulture, 34new WebPartDescription("webpart2", String.Format(CultureInfo.CurrentCulture, 36new WebPartDescription("webpart3", String.Format(CultureInfo.CurrentCulture,
UI\WebParts\PersonalizationAdministration.cs (2)
123throw new HttpException(SR.GetString(SR.PersonalizationAdmin_UnexpectedResetSharedStateReturnValue, count.ToString(CultureInfo.CurrentCulture))); 152throw new HttpException(SR.GetString(SR.PersonalizationAdmin_UnexpectedResetUserStateReturnValue, count.ToString(CultureInfo.CurrentCulture)));
UI\WebParts\PersonalizationProviderHelper.cs (2)
41str, paramName, lengthToCheck.ToString(CultureInfo.CurrentCulture))); 86returnedValue.ToString(CultureInfo.CurrentCulture),
UI\WebParts\SqlPersonalizationProvider.cs (2)
55throw new ProviderException(SR.GetString(SR.PersonalizationProvider_ApplicationNameExceedMaxLength, maxStringLength.ToString(CultureInfo.CurrentCulture))); 464throw new ProviderException(SR.GetString(SR.PersonalizationProvider_ApplicationNameExceedMaxLength, maxStringLength.ToString(CultureInfo.CurrentCulture)));
UI\WebParts\WebPartChrome.cs (1)
571verbControl.ToolTip = String.Format(CultureInfo.CurrentCulture, verb.Description, webPart.DisplayTitle);
UI\WebParts\WebPartManager.cs (2)
1881displayTitle += " [" + count.ToString(CultureInfo.CurrentCulture) + "]"; 2323ConnectionPointKey connectionPointKey = new ConnectionPointKey(type, CultureInfo.CurrentCulture, CultureInfo.CurrentUICulture);
UI\WebParts\WebPartMenu.cs (1)
229alt = String.Format(CultureInfo.CurrentCulture, verb.Description, associatedWebPart.DisplayTitle);
UI\WebParts\WebPartZoneBase.cs (1)
258index.ToString(CultureInfo.CurrentCulture));
System.Web.ApplicationServices (5)
Hosting\CustomLoaderHelper.cs (2)
98throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.CustomLoader_NoAttributeFound, customLoaderAssemblyName)); 108throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.CustomLoader_MustImplementICustomLoader, customLoader.GetType()));
Security\MembershipProviderCollection.cs (1)
24throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.Provider_must_implement_type, typeof(MembershipProvider).ToString()), "provider");
Security\MembershipUser.cs (1)
118throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.Membership_provider_name_invalid), "providerName" );
Util\SecurityServices.cs (1)
34throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.Parameter_can_not_be_empty, paramName), paramName);
System.Web.DataVisualization (69)
Common\Annotation\AnnotationBase.cs (4)
627throw new ArgumentException(SR.ExceptionValueMustBeInRange("Width", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture))); 679throw new ArgumentException(SR.ExceptionValueMustBeInRange("Height", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture)));
Common\ChartTypes\BarChart.cs (1)
406 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\BubbleChart.cs (1)
219 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture) == 0 &&
Common\ChartTypes\ColumnChart.cs (1)
317 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture) != 0
Common\ChartTypes\ErrorBarChart.cs (1)
1100 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues( ChartTypeNames.ErrorBar, ((int)(3)).ToString(CultureInfo.CurrentCulture))));
Common\ChartTypes\FastLineChart.cs (2)
257 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 287bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.CurrentCulture, out pixelError);
Common\ChartTypes\FastPointChart.cs (2)
257 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 288bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.CurrentCulture, out pixelError);
Common\ChartTypes\FunnelChart.cs (1)
2684 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) == 0 )
Common\ChartTypes\LineChart.cs (1)
377 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\PieChart.cs (1)
526 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 )
Common\ChartTypes\PointAndFigureChart.cs (1)
336 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(ChartTypeNames.PointAndFigure, ((int)(2)).ToString(CultureInfo.CurrentCulture))));
Common\ChartTypes\PointChart.cs (1)
333 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\RadarChart.cs (1)
374 if(String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 )
Common\ChartTypes\StackedAreaChart.cs (5)
132if (String.Compare(ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture) == 0 167 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture ) == 0 247 if(String.Compare(series.ChartArea, ser.ChartArea, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 248 String.Compare(series.ChartTypeName, ser.ChartTypeName, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 1226 if(String.Compare(ser.ChartTypeName, secondPoint.dataPoint.series.ChartTypeName, true, System.Globalization.CultureInfo.CurrentCulture) == 0)
Common\Converters\AxisConverters.cs (2)
126 return DateTime.FromOADate((double)value).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 426bool parseSucceed = DateTime.TryParse(stringValue, CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate);
Common\Converters\DataManagerConverters.cs (3)
529else if (DateTime.TryParse(values[index], CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate)) 631 return valueAsSate.ToString("g", System.Globalization.CultureInfo.CurrentCulture); 656DateTime valueAsSate = DateTime.Parse(stringValue, System.Globalization.CultureInfo.CurrentCulture);
Common\Converters\ElementPositionConverter.cs (4)
123 float.Parse(array[0], System.Globalization.CultureInfo.CurrentCulture), 124 float.Parse(array[1], System.Globalization.CultureInfo.CurrentCulture), 125 float.Parse(array[2], System.Globalization.CultureInfo.CurrentCulture), 126 float.Parse(array[3], System.Globalization.CultureInfo.CurrentCulture));
Common\DataManager\DataPoint.cs (4)
2657sb.AppendFormat(CultureInfo.CurrentCulture, "{{X={0}, ", XValue); 2660sb.AppendFormat(CultureInfo.CurrentCulture, "Y={0}", YValues[0]); 2667sb.AppendFormat(CultureInfo.CurrentCulture, "{0}", YValues[i]); 2669sb.AppendFormat(CultureInfo.CurrentCulture, ", {0}", YValues[i]);
Common\DataManager\DataSeries.cs (8)
659throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 689throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointGapDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 758throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("MinPixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 813throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture))));
Common\General\AxisScrollZoom.cs (2)
1648strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 1662strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
Common\General\Chart.cs (2)
485dataTable.Locale = CultureInfo.CurrentCulture; 491dataTable.Locale = CultureInfo.CurrentCulture;
Common\General\CommonElements.cs (2)
300double.TryParse(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result); 319float.TryParse(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result);
Common\General\DataManipulator.cs (2)
935dataSet.Locale = System.Globalization.CultureInfo.CurrentCulture; 967seriesTable.Locale = System.Globalization.CultureInfo.CurrentCulture;
Common\General\Selection.cs (1)
414return String.Format(CultureInfo.CurrentCulture, "{0} of {1}", this.Type, objectType);
Common\General\Title.cs (2)
492throw (new ArgumentOutOfRangeException("value", SR.ExceptionValueMustBeInRange("DockingOffset", (-100).ToString(CultureInfo.CurrentCulture), (100).ToString(CultureInfo.CurrentCulture))));
Common\SR.cs (3)
12536 return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0); 12541 return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1); 12546 return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1, arg2);
Common\Utilities\ElementPosition.cs (4)
290 this._x.ToString(System.Globalization.CultureInfo.CurrentCulture)+", "+ 291 this._y.ToString(System.Globalization.CultureInfo.CurrentCulture)+", "+ 292 this._width.ToString(System.Globalization.CultureInfo.CurrentCulture)+", "+ 293 this._height.ToString(System.Globalization.CultureInfo.CurrentCulture);
Common\Utilities\ValueConverter.cs (4)
120result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 131result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 146result = String.Format(CultureInfo.CurrentCulture,convertionFormat, value); 160result = String.Format(CultureInfo.CurrentCulture, convertionFormat, (long)value);
WebForm\Converters\MapAreaCoordinatesConverter.cs (2)
66array[index] = float.Parse(values[index], System.Globalization.CultureInfo.CurrentCulture); 94result += d.ToString(System.Globalization.CultureInfo.CurrentCulture) + ",";
WebForm\General\ChartHttpHandler.cs (1)
523using (TextWriter w = new StringWriter(CultureInfo.CurrentCulture))
System.Web.DynamicData (76)
DynamicData\ControlFilterExpression.cs (1)
76throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicControl.cs (2)
125throw new Exception(String.Format(CultureInfo.CurrentCulture, 264throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicControlParameter.cs (5)
43CultureInfo.CurrentCulture, DynamicDataResources.DynamicControlParameter_DynamicDataSourceControlNotFound, ControlId)); 55throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 75throw new Exception(String.Format(CultureInfo.CurrentCulture, 129throw new Exception(String.Format(CultureInfo.CurrentCulture, 163CultureInfo.CurrentCulture, DynamicDataResources.DynamicParameter_NeedExpansion, typeof(DynamicControlParameter).Name));
DynamicData\DynamicDataExtensions.cs (3)
97throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaTable_CannotGetTableFromDataSource)); 120throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaTable_CannotGetTableFromControl)); 315dataValueString = String.Format(CultureInfo.CurrentCulture, formatting, fieldValue);
DynamicData\DynamicDataManager.cs (1)
123String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicEntity.cs (2)
84throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 92throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicField.cs (1)
135throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.DynamicControl_ControlNeedsToExistInADataControlUsingDynamicDataSource));
DynamicData\DynamicFilterExpression.cs (1)
32throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, "The control '{0}' could not be found.", ControlID));
DynamicData\DynamicHyperLink.cs (5)
136throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 142throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 171CultureInfo.CurrentCulture, 206throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.DynamicHyperLink_CannotDetermineTable, this.ID), exception); 210throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.DynamicHyperLink_CannotDetermineTable, this.ID));
DynamicData\DynamicQueryStringParameter.cs (1)
39CultureInfo.CurrentCulture, DynamicDataResources.DynamicParameter_NeedExpansion, typeof(DynamicQueryStringParameter).Name));
DynamicData\DynamicValidator.cs (1)
46throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\FieldTemplateUserControl.cs (6)
86throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 101throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 455errorMessage = String.Format(CultureInfo.CurrentCulture, 461errorMessage = String.Format(CultureInfo.CurrentCulture, 468errorMessage = String.Format(CultureInfo.CurrentCulture, 473errorMessage = String.Format(CultureInfo.CurrentCulture,
DynamicData\FilterFactory.cs (1)
51throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\FilterRepeater.cs (7)
142throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 146throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 157CultureInfo.CurrentCulture, 167throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 175throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 183throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 213String.Format(CultureInfo.CurrentCulture,
DynamicData\FilterUserControlBase.cs (10)
63throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 129throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 139throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 144throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 154throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 164throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 173throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 182throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 205CultureInfo.CurrentCulture, 300throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\MetaModel.cs (11)
128CultureInfo.CurrentCulture, 177throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextFactoryReturnsNull), "contextFactory"); 181throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextTypeNotSupported, contextType.FullName)); 223throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextAlreadyRegistered, dataModelProvider.ContextType.FullName)); 271String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_RegistrationErrorOccurred), 343CultureInfo.CurrentCulture, 352CultureInfo.CurrentCulture, 413CultureInfo.CurrentCulture, 455CultureInfo.CurrentCulture, 499throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 504throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
DynamicData\MetaTable.cs (6)
274throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 281throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 394throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaTable_ColumnNameConflict, 524CultureInfo.CurrentCulture, 594throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 774CultureInfo.CurrentCulture,
DynamicData\ModelProviders\AssociationProvider.cs (1)
105throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\ModelProviders\EFColumnProvider.cs (1)
113Debug.Assert(false, String.Format(CultureInfo.CurrentCulture, "Unknown EdmType {0}.", edmType.GetType().FullName));
DynamicData\ModelProviders\EFDataModelProvider.cs (1)
87Debug.Assert(result != null, String.Format(CultureInfo.CurrentCulture, "Cannot map EdmType '{0}' to matching CLR Type", entityType));
DynamicData\ModelProviders\SchemaCreator.cs (1)
24throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.SchemaCreator_UnknownModel, contextInstance.GetType().FullName));
DynamicData\QueryableFilterRepeater.cs (1)
113String.Format(CultureInfo.CurrentCulture,
DynamicData\QueryStringHandler.cs (1)
13String.Format(CultureInfo.CurrentCulture, DynamicDataResources.QueryStringHandler_VirtualPathCannotBeEmpty),
DynamicData\Util\DataControlHelper.cs (1)
38CultureInfo.CurrentCulture,
DynamicData\Util\MetaTableHelper.cs (1)
79throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\Util\Misc.cs (3)
93return Convert.ChangeType(value, type, CultureInfo.CurrentCulture); 113CultureInfo.CurrentCulture, 295throw new HttpException(String.Format(CultureInfo.CurrentCulture,
DynamicData\Util\TemplateFactory.cs (1)
124CultureInfo.CurrentCulture,
System.Web.Entity (3)
System\Data\WebControls\EntityDataSourceView.cs (1)
1742return value = Convert.ChangeType(value, parameter.TypeCode, CultureInfo.CurrentCulture); ;
System\Data\WebControls\WebControlParameterProxy.cs (2)
123: DateTimeOffset.Parse(this.Value.ToString(), CultureInfo.CurrentCulture); 130: TimeSpan.Parse(paramValue.ToString(), CultureInfo.CurrentCulture);
System.Web.Extensions (82)
ApplicationServices\ApplicationServiceHelper.cs (3)
111throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_Disabled, "AuthenticationService")); 154throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_Disabled, "ProfileService")); 161throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_Disabled, "RoleService"));
ClientServices\Providers\ProxyHelper.cs (1)
95throw new WebException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ProxyHelper_BadStatusCode, response.StatusCode.ToString(), GetResponseString(response)), we);
Compilation\WCFBuildProvider.cs (7)
186errorMessage = String.Format(CultureInfo.CurrentCulture, "{0}: {1}", IO.Path.GetFileName(mapFilePath), errorMessage); 246errorMessage = String.Format(CultureInfo.CurrentCulture, "{0}: {1}", IO.Path.GetFileName(mapFilePath), errorMessage); 307errorMessage = String.Format(CultureInfo.CurrentCulture, "'{0}': {1}", generationError.MetadataFile, errorMessage); 311errorMessage = String.Format(CultureInfo.CurrentCulture, "'{0}' ({1}): {2}", generationError.MetadataFile, generationError.LineNumber, errorMessage); 315errorMessage = String.Format(CultureInfo.CurrentCulture, "'{0}' ({1},{2}): {3}", generationError.MetadataFile, generationError.LineNumber, generationError.LinePosition, errorMessage); 359throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_FailedToGenerateCode, referenceDisplayName, collectedMessages.ToString())); 625throw new System.IO.FileNotFoundException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_FailedToLoadAssembly, assemblyName));
Compilation\WCFModel\ExternalFile.cs (1)
102throw new NotSupportedException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_InvalidFileName, value));
Compilation\WCFModel\MapFileLoader.cs (2)
269throw new XmlSchemaException(String.Format(CultureInfo.CurrentCulture, 342throw new FormatException(String.Format(CultureInfo.CurrentCulture,
Compilation\WCFModel\SchemaMerger.cs (2)
165String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_DuplicatedSchemaItems, itemTypeName, combinedName.ToString(), schema.SourceUri, originalItem.SourceUri, differentLocation) 179String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_DuplicatedSchemaItemsIgnored, itemTypeName, combinedName.ToString(), schema.SourceUri, originalItem.SourceUri, differentLocation)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (5)
567new FormatException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_SharedTypeMustBePublic, mapping.TypeName))) 583new FormatException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_ServiceContractMappingMissMatch, mapping.TypeName, contract.Namespace, contract.Name, mapping.TargetNamespace, mapping.Name))) 903new FormatException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_SharedTypeMustBePublic, referencedType.TypeName))) 934new Exception(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_DataContractExcludedAndIncluded, excludedType.TypeName)))); 1205new FormatException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_SharedTypeMustBePublic, referencedCollectionMapping.TypeName)))
Compilation\WCFModel\WsdlInspector.cs (4)
307String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_OperationDefinedInOneOfDuplicatedServiceContract, 327String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_OperationDefinedDifferently, 347String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_FieldDefinedInOneOfDuplicatedMessage, 367String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_FieldDefinedDifferentlyInDuplicatedMessage,
Globalization\ClientCultureInfo.cs (1)
106return GetClientCultureScriptBlock(CultureInfo.CurrentCulture);
Handlers\ScriptResourceHandler.cs (2)
787throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ScriptResourceHandler_ResourceUrlTooLong, _maximumResourceUrlLength)); 807throw new HttpException(String.Format(CultureInfo.CurrentCulture,
Script\Serialization\JavaScriptSerializer.cs (2)
486? String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CannotSerializeMemberGeneric, currentMember.Name, currentMember.ReflectedType.FullName) + " " + AtlasWeb.JSON_InvalidEnumType 504throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CircularReference, type.FullName));
Script\Serialization\ObjectConverter.cs (2)
403throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CannotConvertObjectToType, o.GetType(), type)); 513CultureInfo.CurrentCulture, AtlasWeb.JSON_ArrayTypeNotSupported, type.FullName));
Script\Services\ProxyGenerator.cs (2)
55throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 60throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
Script\Services\RestHandler.cs (3)
119String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_InvalidVerbRequest, 127String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_InvalidVerbRequest, 157String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_InvalidXmlReturnType,
Script\Services\WebServiceData.cs (1)
273String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_UnknownWebMethod, methodName), "methodName");
UI\ProfileServiceManager.cs (1)
204throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_UnknownProfileProperty, fullPropertyName));
UI\ScriptManager.cs (1)
1537Tuple<String, String> entry = ClientCultureInfo.GetClientCultureScriptBlock(CultureInfo.CurrentCulture);
UI\ScriptResourceAttribute.cs (2)
128throw new HttpException(String.Format(CultureInfo.CurrentCulture, 196CultureInfo.CurrentCulture,
UI\ScriptResourceInfo.cs (1)
106String.Format(CultureInfo.CurrentCulture,
UI\UpdatePanel.cs (1)
404HtmlTextWriter childWriter = new HtmlTextWriter(new StringWriter(CultureInfo.CurrentCulture));
UI\WebControls\DataPager.cs (3)
295throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_PageableItemContainerNotFound, PagedControlID)); 299throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_ControlIsntPageable, PagedControlID)); 310throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_NoNamingContainer, ID));
UI\WebControls\Dynamic.cs (1)
2052return new ParseException(string.Format(CultureInfo.CurrentCulture, format, args), pos);
UI\WebControls\Expressions\MethodExpression.cs (5)
83MethodName = String.Format(CultureInfo.CurrentCulture, MethodName, dataSource.EntitySetName); 126throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 132throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.MethodExpression_FirstParamterMustBeCorrectType, 143throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 157throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.MethodExpression_ChangingTheReturnTypeIsNotAllowed,
UI\WebControls\Expressions\OfTypeExpression.cs (2)
59throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 66throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
UI\WebControls\Expressions\SearchExpression.cs (1)
57string query = Convert.ToString(values.First().Value, CultureInfo.CurrentCulture);
UI\WebControls\ListView.cs (24)
533throw new ArgumentOutOfRangeException("value", String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_ContainerNameMustNotBeEmpty, "GroupPlaceholderID")); 669throw new ArgumentOutOfRangeException("value", String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_ContainerNameMustNotBeEmpty, "ItemPlaceholderID")); 785throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_DataKeyNamesMustBeSpecified, ID)); 1455throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 1478throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NeedICollectionOrTotalRowCount, GetType().Name)); 1506throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_Missing_VirtualItemCount, ID)); 1530throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_GroupItemCountNoGroupTemplate, ID, GroupPlaceholderID)); 1617throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_InsertTemplateRequired, ID)); 2125throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NoItemPlaceholder, ID, ItemPlaceholderID)); 2131throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NoGroupPlaceholder, ID, GroupPlaceholderID)); 2191throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2336throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2408throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2497throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2527throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2647throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_ItemTemplateRequired, ID)); 2840throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemCanceling")); 2910throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemDeleting")); 2926throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemEditing")); 2953throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemInserting")); 2978throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemUpdating")); 3049throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "SelectedIndexChanging")); 3076throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "Sorting")); 3281throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_DataSourceDoesntSupportPaging, DataSourceID));
UI\WebControls\QueryExtender.cs (1)
44String.Format(CultureInfo.CurrentCulture,
UI\WebControls\TemplatePagerField.cs (1)
119throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.TemplatePagerField_UnhandledEvent, "PagerCommand"));
System.Web.Mobile (53)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (7)
383currentDateTimeInfo.ShortDatePattern, CultureInfo.CurrentCulture)); 477arr.Add(tempDate.ToString(abbreviatedYearMonthPattern, CultureInfo.CurrentCulture)); 492writer.Write(Control.VisibleDate.ToString(monthFormat, CultureInfo.CurrentCulture)); 511weekDisplay = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 514weekDisplay += tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 539date = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 733return dateTime.ToString("gg", CultureInfo.CurrentCulture);
UI\MobileControls\Adapters\EmptyTextWriter.cs (7)
38internal EmptyTextWriter() : base(CultureInfo.CurrentCulture) 165if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0))) 176if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0, arg1))) 187if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg))) 290if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0))) 301if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0, arg1))) 312if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg)))
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (1)
136String.Format(CultureInfo.CurrentCulture, "bgcolor=\"{0}\" ", bgColorDistance < _bgColorDistanceTreshold ? "White" : "Silver");
UI\MobileControls\Adapters\HtmlPhoneCallAdapter.cs (1)
77String text = String.Format(CultureInfo.CurrentCulture, Control.AlternateFormat, Control.Text,
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (10)
365currentDateTimeInfo.ShortDatePattern, CultureInfo.CurrentCulture)); 437String displayText = String.Format(CultureInfo.CurrentCulture, "{0}:", SR.GetString(SR.CalendarAdapterOptionChooseMonth)); 459arr.Add(tempDate.ToString(abbreviatedYearMonthPattern, CultureInfo.CurrentCulture)); 473String displayText = String.Format(CultureInfo.CurrentCulture, "{0} ({1}):", 475Control.VisibleDate.ToString(monthFormat, CultureInfo.CurrentCulture)); 493weekDisplay = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 496weekDisplay += tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 508String displayText = String.Format(CultureInfo.CurrentCulture, "{0}:", SR.GetString(SR.CalendarAdapterOptionChooseDate)); 521date = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 710return dateTime.ToString("gg", CultureInfo.CurrentCulture);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (8)
333currentDateTimeInfo.ShortDatePattern, CultureInfo.CurrentCulture)); 386_textBox.Text = Control.VisibleDate.ToString(numericDateFormat, CultureInfo.CurrentCulture); 420arr.Add(tempDate.ToString(abbreviatedYearMonthPattern, CultureInfo.CurrentCulture)); 435writer.Write(Control.VisibleDate.ToString(monthFormat, CultureInfo.CurrentCulture)); 453weekDisplay = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 456weekDisplay += tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 480date = tempDate.ToString(abbreviatedMonthDayPattern, CultureInfo.CurrentCulture); 652return dateTime.ToString("gg", CultureInfo.CurrentCulture);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (1)
49writer.WriteAttribute ("method", Control.Method.ToString().ToLower(CultureInfo.CurrentCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (1)
180(String.Compare (Control.DefaultCommand, Control.Commands[0].Name, true /* ignore case */, CultureInfo.CurrentCulture) == 0);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPhoneCallAdapter.cs (1)
84CultureInfo.CurrentCulture,
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicValidationSummaryAdapter.cs (1)
76if (String.Compare(Control.FormToValidate, Control.Form.UniqueID, true, CultureInfo.CurrentCulture) != 0) {
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (1)
274return String.Format(CultureInfo.CurrentCulture,
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (2)
103tmpRequiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(String.Format(CultureInfo.CurrentCulture, htmlFragment, HttpUtility.HtmlEncode(controlText.Substring(0, allowedLength)))); 133additionalStyle = String.Format(CultureInfo.CurrentCulture, "width:{0};", width);
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (1)
31base(new StringWriter(CultureInfo.CurrentCulture), DesignerCapabilities.Instance)
UI\MobileControls\Design\DesignerCapabilities.cs (2)
139String.Format(CultureInfo.CurrentCulture, "property {0} not defined in DesignerCapabilities", key)); 141String.Format(CultureInfo.CurrentCulture, "property {0} invalid type defined", key));
UI\MobileControls\Design\DeviceSpecificDesigner.cs (2)
194return String.Format(CultureInfo.CurrentCulture, _duplicateDesignTimeHTML, 209return String.Format(CultureInfo.CurrentCulture, _designTimeHTML, _ds.Site.Name, curChoice, message);
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
651templateContent = String.Format(CultureInfo.CurrentCulture, _illFormedHtml, _illFormedWarning);
UI\MobileControls\Design\StyleSheetDesigner.cs (3)
546return String.Format(CultureInfo.CurrentCulture, _specialCaseDesignTimeHTML, 577return String.Format(CultureInfo.CurrentCulture, _specialCaseDesignTimeHTML, 590return String.Format(CultureInfo.CurrentCulture, _designTimeHTML,
UI\MobileControls\PagerStyle.cs (3)
105return String.Format(CultureInfo.CurrentCulture, s, currentPageIndex + 1); 119return String.Format(CultureInfo.CurrentCulture, s, currentPageIndex - 1); 137s = String.Format(CultureInfo.CurrentCulture, s, currentPageIndex, pageCount);
System.Windows.Forms (557)
misc\DbgUtil.cs (3)
259return String.Format( CultureInfo.CurrentCulture, "0x{0:x8} - {1}", err, message); 357trace += String.Format(CultureInfo.CurrentCulture, "at {0} {1}.{2}({3})\r\n", fileName, mi.DeclaringType, mi.Name, args ); 386return String.Format( CultureInfo.CurrentCulture, "{0}\r\nTop Stack Trace:\r\n{1}", message, DbgUtil.StackFramesToStr(frameCount));
misc\GDI\WindowsFont.cs (1)
385return string.Format(CultureInfo.CurrentCulture, "[{0}: Name={1}, Size={2} points, Height={3} pixels, Sytle={4}]", GetType().Name, logFont.lfFaceName, this.Size, this.Height, this.Style);
winforms\Managed\System\WinForms\Application.cs (3)
191return string.Format(CultureInfo.CurrentCulture, template, 723return Registry.CurrentUser.CreateSubKey(string.Format(CultureInfo.CurrentCulture, template, CompanyName, ProductName, ProductVersion)); 1265string path = string.Format(CultureInfo.CurrentCulture, template, new object[] {basePath, company, product, version});
winforms\Managed\System\WinForms\AxHost.cs (3)
2116msg.wParam = (IntPtr) Char.ToUpper(charCode, CultureInfo.CurrentCulture); 2643int hr = icp.GetCategoryName(cat, CultureInfo.CurrentCulture.LCID, out name); 3741throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.AXNoSinkAdvise, eventInterface.Name), hr));
winforms\Managed\System\WinForms\Binding.cs (4)
684cevent.Value = Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture); 699cevent.Value = Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture); 752object ret = Convert.ChangeType(value, type, CultureInfo.CurrentCulture); 823ret = Convert.ChangeType(value, type, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\BindingNavigator.cs (3)
549positionItem.Text = position.ToString(CultureInfo.CurrentCulture); 554countItem.Text = DesignMode ? CountItemFormat : String.Format(CultureInfo.CurrentCulture, CountItemFormat, count); 598newPosition = Convert.ToInt32(positionItem.Text, CultureInfo.CurrentCulture) - 1;
winforms\Managed\System\WinForms\ButtonBase.cs (2)
418throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", (value).ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
529throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 992throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Clipboard.cs (4)
120throw new ArgumentOutOfRangeException("retryTimes", SR.GetString(SR.InvalidLowBoundArgumentEx, "retryTimes", retryTimes.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 124throw new ArgumentOutOfRangeException("retryDelay", SR.GetString(SR.InvalidLowBoundArgumentEx, "retryDelay", retryDelay.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ColumnHeader.cs (2)
204throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", (value).ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ComboBox.cs (20)
543throw new ArgumentOutOfRangeException("DropDownWidth", SR.GetString(SR.InvalidArgument, "DropDownWidth", (value).ToString(CultureInfo.CurrentCulture))); 578throw new ArgumentOutOfRangeException("DropDownHeight", SR.GetString(SR.InvalidArgument, "DropDownHeight", (value).ToString(CultureInfo.CurrentCulture))); 748throw new ArgumentOutOfRangeException("ItemHeight", SR.GetString(SR.InvalidArgument, "ItemHeight", (value).ToString(CultureInfo.CurrentCulture))); 814throw new ArgumentOutOfRangeException("MaxDropDownItems", SR.GetString(SR.InvalidBoundArgument, "MaxDropDownItems", (value).ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture), (100).ToString(CultureInfo.CurrentCulture))); 1051throw new ArgumentOutOfRangeException("SelectedIndex", SR.GetString(SR.InvalidArgument, "SelectedIndex", (value).ToString(CultureInfo.CurrentCulture))); 1178throw new ArgumentOutOfRangeException("SelectionStart", SR.GetString(SR.InvalidArgument, "SelectionStart", value.ToString(CultureInfo.CurrentCulture))); 1277if (String.Compare(candidate, base.Text, true, CultureInfo.CurrentCulture) == 0) { 1304(selectedItem == null || (String.Compare(value, GetItemText(selectedItem), false, CultureInfo.CurrentCulture) != 0))) { 2172throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3250throw new ArgumentOutOfRangeException("start", SR.GetString(SR.InvalidArgument, "start", start.ToString(CultureInfo.CurrentCulture))); 3257throw new ArgumentOutOfRangeException("length", SR.GetString(SR.InvalidArgument, "length", length.ToString(CultureInfo.CurrentCulture))); 3360return s + ", Items.Count: " + ((itemsCollection == null) ? (0).ToString(CultureInfo.CurrentCulture) : itemsCollection.Count.ToString(CultureInfo.CurrentCulture)); 4224throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 4318throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 4360throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 4397throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 4407if (String.Compare(this.owner.GetItemText(value), this.owner.NativeGetItemText(index), true, CultureInfo.CurrentCulture) != 0) {
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (1)
115_remoteObjectName = string.Format(CultureInfo.CurrentCulture, "ComponentManagerBroker.{0}.{1:X}", Application.WindowsFormsVersion, pid);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ICategorizePropertiesHandler.cs (1)
63if (NativeMethods.S_OK == catObj.GetCategoryName(categoryID, CultureInfo.CurrentCulture.LCID, out categoryName)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IVsPerPropertyBrowsingHandler.cs (2)
83int hr = vsObj.GetLocalizedPropertyInfo(sender.DISPID, CultureInfo.CurrentCulture.LCID, null, pHelpString); 151int hr = vsObj.GetLocalizedPropertyInfo(sender.DISPID, CultureInfo.CurrentCulture.LCID, pNameString, null);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
1299CultureInfo.CurrentCulture.LCID, 1306errorInfo = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.DispInvokeFailed, "SetValue", hr));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (6)
500Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Adding Browsable(false) to property '" + pi.Name + "' because Invoke(dispid=0x{0:X} ,DISPATCH_PROPERTYGET) returned hr=0x{1:X}. Properties that do not return S_OK are hidden by default.", pi.DispId, hr)); 541Debug.Fail(String.Format(CultureInfo.CurrentCulture, "ITypeInfo::GetDocumentation didn't return a name for DISPID 0x{0:X} but returned SUCEEDED(hr), Component=" + cnd.GetClassName(typeInfo), dispid)); 648Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring function item 0x{0:X} because ITypeInfo::GetFuncDesc returned hr=0x{1:X} or NULL", i, hr)); 766Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring item 0x{0:X} because ITypeInfo::GetVarDesc returned hr=0x{1:X} or NULL", hr)); 789Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring item 0x{0:X} because ITypeInfo::GetDocumentation returned hr=0x{1:X} or NULL", hr)); 905Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring variable item 0x{0:X} because ITypeInfo::GetFuncDesc returned hr=0x{1:X} or NULL", hr));
winforms\Managed\System\WinForms\Control.cs (9)
3932throw new ArgumentOutOfRangeException("TabIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "TabIndex", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 7696char c2 = Char.ToUpper(charCode, CultureInfo.CurrentCulture); 7703char c1 = Char.ToUpper(text[pos], CultureInfo.CurrentCulture); 7705if (c1 == c2 || Char.ToLower(c1, CultureInfo.CurrentCulture) == Char.ToLower(c2, CultureInfo.CurrentCulture)) { 11247Debug.WriteLineIf(CompModSwitches.DragDrop.TraceInfo, " ret:" + n.ToString(CultureInfo.CurrentCulture)); 15091throw new ArgumentOutOfRangeException("index", SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture))); 16847Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "IDispatch::Invoke failed. HR: 0x" + String.Format(CultureInfo.CurrentCulture, "{0:X}", hr));
winforms\Managed\System\WinForms\Control.Ime.cs (8)
155Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format(CultureInfo.CurrentCulture, "Inside get_CanEnableIme(), value = {0}, this = {1}", ImeSupported, this ) ); 275Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside set_ImeModeBase({0}), this = {1}", value, this ) ); 357Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside set_ImeWmCharToIgnore(value={0}), this = {1}", value, this ) ); 456Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Warning, string.Format( CultureInfo.CurrentCulture, "Setting PropagatingImeMode: Current value = {0}, New value = {1}", propagatingImeMode, value ) ); 541Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside VerifyImeModeChanged(oldMode={0}, newMode={1}), this = {2}", oldMode, newMode, this ) ); 785Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside WmImeNotify(m.wparam=[{0}]), this={1}", m.WParam, this ) ); 1135Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside ImeContext.SetImeStatus(ImeMode=[{0}, handle=[{1}])", imeMode, handle ) ); 1229Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside SetOpenStatus(open=[{0}], handle=[{1}])", open, handle ) );
winforms\Managed\System\WinForms\CurrencyManager.cs (2)
284throw new IndexOutOfRangeException(SR.GetString(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture))); 290throw new IndexOutOfRangeException(SR.GetString(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridCell.cs (2)
95return "DataGridCell {RowNumber = " + RowNumber.ToString(CultureInfo.CurrentCulture) + 96", ColumnNumber = " + ColumnNumber.ToString(CultureInfo.CurrentCulture) + "}";
winforms\Managed\System\WinForms\DataGridDefaultColumnWidthTypeConverter.cs (2)
48return pulica.ToString(CultureInfo.CurrentCulture); 71return Int32.Parse(text, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\DataGridView.cs (16)
1772throw new ArgumentOutOfRangeException("ColumnCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "ColumnCount", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1996throw new ArgumentOutOfRangeException("ColumnHeadersHeight", SR.GetString(SR.InvalidLowBoundArgumentEx, "ColumnHeadersHeight", (value).ToString(CultureInfo.CurrentCulture), (minimumColumnHeadersHeight).ToString(CultureInfo.CurrentCulture))); 2000throw new ArgumentOutOfRangeException("ColumnHeadersHeight", SR.GetString(SR.InvalidHighBoundArgumentEx, "ColumnHeadersHeight", (value).ToString(CultureInfo.CurrentCulture), (maxHeadersThickness).ToString(CultureInfo.CurrentCulture))); 3507throw new ArgumentOutOfRangeException("HorizontalScrollingOffset", SR.GetString(SR.InvalidLowBoundArgumentEx, "HorizontalScrollingOffset", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 4050throw new ArgumentOutOfRangeException("RowCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "RowCount", value.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); 4057throw new ArgumentOutOfRangeException("RowCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "RowCount", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 4308throw new ArgumentOutOfRangeException("RowHeadersWidth", SR.GetString(SR.InvalidLowBoundArgumentEx, "RowHeadersWidth", (value).ToString(CultureInfo.CurrentCulture), (minimumRowHeadersWidth).ToString(CultureInfo.CurrentCulture))); 4312throw new ArgumentOutOfRangeException("RowHeadersWidth", SR.GetString(SR.InvalidHighBoundArgumentEx, "RowHeadersWidth", (value).ToString(CultureInfo.CurrentCulture), (maxHeadersThickness).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewBand.cs (15)
252throw new ArgumentOutOfRangeException("DividerHeight", SR.GetString(SR.InvalidLowBoundArgumentEx, "DividerHeight", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 256throw new ArgumentOutOfRangeException("DividerWidth", SR.GetString(SR.InvalidLowBoundArgumentEx, "DividerWidth", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 263throw new ArgumentOutOfRangeException("DividerHeight", SR.GetString(SR.InvalidHighBoundArgumentEx, "DividerHeight", (value).ToString(CultureInfo.CurrentCulture), (maxBandThickness).ToString(CultureInfo.CurrentCulture))); 267throw new ArgumentOutOfRangeException("DividerWidth", SR.GetString(SR.InvalidHighBoundArgumentEx, "DividerWidth", (value).ToString(CultureInfo.CurrentCulture), (maxBandThickness).ToString(CultureInfo.CurrentCulture))); 504throw new ArgumentOutOfRangeException("MinimumHeight", value, SR.GetString(SR.DataGridViewBand_MinimumHeightSmallerThanOne, (DataGridViewBand.minBandThickness).ToString(CultureInfo.CurrentCulture))); 508throw new ArgumentOutOfRangeException("MinimumWidth", value, SR.GetString(SR.DataGridViewBand_MinimumWidthSmallerThanOne, (DataGridViewBand.minBandThickness).ToString(CultureInfo.CurrentCulture))); 783throw new ArgumentOutOfRangeException("Height", SR.GetString(SR.InvalidHighBoundArgumentEx, "Height", (value).ToString(CultureInfo.CurrentCulture), (maxBandThickness).ToString(CultureInfo.CurrentCulture))); 787throw new ArgumentOutOfRangeException("Width", SR.GetString(SR.InvalidHighBoundArgumentEx, "Width", (value).ToString(CultureInfo.CurrentCulture), (maxBandThickness).ToString(CultureInfo.CurrentCulture))); 1054sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
1063return "DataGridViewButtonCell { ColumnIndex=" + ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (2)
241!defaultCellStyle.FormatProvider.Equals(System.Globalization.CultureInfo.CurrentCulture) || 255sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewCell.cs (11)
1595FormatPlainTextAsHtml(formattedValue.ToString(), new StringWriter(sb, CultureInfo.CurrentCulture)); 1629FormatPlainText(formattedValue.ToString(), csv, new StringWriter(sb, CultureInfo.CurrentCulture), ref escapeApplied); 2072throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 2097throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 2857throw new ArgumentOutOfRangeException("maxWidth", SR.GetString(SR.InvalidLowBoundArgument, "maxWidth", (maxWidth).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 2890throw new ArgumentOutOfRangeException("maxRatio", SR.GetString(SR.InvalidLowBoundArgument, "maxRatio", (maxRatio).ToString(CultureInfo.CurrentCulture), "0.0")); 2961throw new ArgumentOutOfRangeException("maxHeight", SR.GetString(SR.InvalidLowBoundArgument, "maxHeight", (maxHeight).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 4712return "DataGridViewCell { ColumnIndex=" + this.ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + this.RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (1)
306return System.Globalization.CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
1764return "DataGridViewCheckBoxCell { ColumnIndex=" + this.ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + this.RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (2)
346!defaultCellStyle.FormatProvider.Equals(System.Globalization.CultureInfo.CurrentCulture) || 360sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewColumn.cs (7)
322!defaultCellStyle.FormatProvider.Equals(System.Globalization.CultureInfo.CurrentCulture) || 370throw new ArgumentOutOfRangeException("DisplayIndex", value, SR.GetString(SR.DataGridViewColumn_DisplayIndexTooLarge, Int32.MaxValue.ToString(CultureInfo.CurrentCulture))); 490throw new ArgumentOutOfRangeException("FillWeight", SR.GetString(SR.InvalidLowBoundArgument, "FillWeight", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 494throw new ArgumentOutOfRangeException("FillWeight", SR.GetString(SR.InvalidHighBoundArgumentEx, "FillWeight", (value).ToString(CultureInfo.CurrentCulture), (ushort.MaxValue).ToString(CultureInfo.CurrentCulture))); 1340sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
1159throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (3)
172FormatPlainTextAsHtml(val.ToString(), new StringWriter(sb, CultureInfo.CurrentCulture)); 200FormatPlainText(val.ToString(), csv, new StringWriter(sb, CultureInfo.CurrentCulture), ref escapeApplied); 1222return "DataGridViewColumnHeaderCell { ColumnIndex=" + this.ColumnIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (11)
450throw new ArgumentOutOfRangeException("DropDownWidth", value, SR.GetString(SR.DataGridViewComboBoxCell_DropDownWidthOutOfRange, (1).ToString(CultureInfo.CurrentCulture))); 571throw new ArgumentOutOfRangeException("MaxDropDownItems", value, SR.GetString(SR.DataGridViewComboBoxCell_MaxDropDownItemsOutOfRange, (1).ToString(CultureInfo.CurrentCulture), (100).ToString(CultureInfo.CurrentCulture))); 1241return (displayValue != null) ? Convert.ToString(displayValue, CultureInfo.CurrentCulture) : string.Empty; 2690throw new FormatException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Formatter_CantConvert), value, this.DisplayType)); 2710return "DataGridViewComboBoxCell { ColumnIndex=" + this.ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + this.RowIndex.ToString(CultureInfo.CurrentCulture) + " }"; 2961throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 2977throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3080throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3122throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewComboBoxColumn.cs (1)
552sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
76if (String.Compare(valueStr, this.Text, true, CultureInfo.CurrentCulture) != 0)
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (5)
336throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 340throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 465throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 672return "DataGridViewHeaderCell { ColumnIndex=" + this.ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + this.RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewHitTestInfo.cs (2)
139return "{ Type:" + type.ToString() + ", Column:" + col.ToString(CultureInfo.CurrentCulture) + ", Row:" + row.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (2)
983return "DataGridViewImageCell { ColumnIndex=" + ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (2)
338!defaultCellStyle.FormatProvider.Equals(System.Globalization.CultureInfo.CurrentCulture) || 352sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (2)
1169return "DataGridViewLinkCell { ColumnIndex=" + ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewLinkColumn.cs (1)
392sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewMethods.cs (5)
10935throw new InvalidOperationException(SR.GetString(SR.DataGridView_WeightSumCannotExceedLongMaxValue, (ushort.MaxValue).ToString(CultureInfo.CurrentCulture))); 11057throw new InvalidOperationException(SR.GetString(SR.DataGridView_WeightSumCannotExceedLongMaxValue, (ushort.MaxValue).ToString(CultureInfo.CurrentCulture))); 13997throw new InvalidOperationException(SR.GetString(SR.DataGridView_WeightSumCannotExceedLongMaxValue, (ushort.MaxValue).ToString(CultureInfo.CurrentCulture))); 27473throw new ArgumentOutOfRangeException("width", width, SR.GetString(SR.DataGridView_SizeTooLarge, (upperSize).ToString(CultureInfo.CurrentCulture))); 27476throw new ArgumentOutOfRangeException("height", height, SR.GetString(SR.DataGridView_SizeTooLarge, (upperSize).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewRow.cs (3)
1482throw new ArgumentException(SR.GetString(SR.InvalidArgument, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture))); 1899sb.Append(this.Index.ToString(CultureInfo.CurrentCulture)); 1992return SR.GetString(SR.DataGridView_AccRowName, this.owner.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (8)
1182throw new ArgumentOutOfRangeException("indexStart", SR.GetString(SR.InvalidLowBoundArgumentEx, "indexStart", (indexStart).ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture))); 1214throw new ArgumentOutOfRangeException("indexStart", SR.GetString(SR.InvalidLowBoundArgumentEx, "indexStart", (indexStart).ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture))); 1235throw new ArgumentOutOfRangeException("indexStart", SR.GetString(SR.InvalidHighBoundArgumentEx, "indexStart", (indexStart).ToString(CultureInfo.CurrentCulture), (this.items.Count).ToString(CultureInfo.CurrentCulture))); 1267throw new ArgumentOutOfRangeException("indexStart", SR.GetString(SR.InvalidHighBoundArgumentEx, "indexStart", (indexStart).ToString(CultureInfo.CurrentCulture), (this.items.Count).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (3)
246FormatPlainTextAsHtml(val.ToString(), new StringWriter(sb, CultureInfo.CurrentCulture)); 275FormatPlainText(val.ToString(), csv, new StringWriter(sb, CultureInfo.CurrentCulture), ref escapeApplied); 1168return "DataGridViewRowHeaderCell { RowIndex=" + RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewRowHeightInfoNeededEventArgs.cs (3)
42throw new ArgumentOutOfRangeException("Height", SR.GetString(SR.InvalidHighBoundArgumentEx, "Height", (value).ToString(CultureInfo.CurrentCulture), (DataGridViewBand.maxBandThickness).ToString(CultureInfo.CurrentCulture))); 59throw new ArgumentOutOfRangeException("MinimumHeight", value, SR.GetString(SR.DataGridViewBand_MinimumHeightSmallerThanOne, (DataGridViewBand.minBandThickness).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewRowsRemovedEventArgs.cs (4)
23throw new ArgumentOutOfRangeException("rowIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowIndex", rowIndex.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 27throw new ArgumentOutOfRangeException("rowCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "rowCount", rowCount.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (4)
117throw new ArgumentOutOfRangeException("MaxInputLength", SR.GetString(SR.InvalidLowBoundArgumentEx, "MaxInputLength", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 831return "DataGridViewTextBoxCell { ColumnIndex=" + ColumnIndex.ToString(CultureInfo.CurrentCulture) + ", RowIndex=" + RowIndex.ToString(CultureInfo.CurrentCulture) + " }";
winforms\Managed\System\WinForms\DataGridViewTextBoxColumn.cs (1)
119sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DateTimePicker.cs (4)
752DateTime maxSupportedDateTime = CultureInfo.CurrentCulture.Calendar.MaxSupportedDateTime; 812DateTime minSupportedDateTime = CultureInfo.CurrentCulture.Calendar.MinSupportedDateTime; 978Value = DateTime.Parse(value, CultureInfo.CurrentCulture); 1181return value.ToString("G", CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\DomainUpDown.cs (4)
150throw new ArgumentOutOfRangeException("SelectedIndex", SR.GetString(SR.InvalidArgument, "SelectedIndex", (value).ToString(CultureInfo.CurrentCulture))); 530s += ", Items.Count: " + Items.Count.ToString(CultureInfo.CurrentCulture); 531s += ", SelectedIndex: " + SelectedIndex.ToString(CultureInfo.CurrentCulture); 717return String.Compare(p.ToString(), q.ToString(), false, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\FileDialogCustomPlace.cs (1)
68return string.Format(System.Globalization.CultureInfo.CurrentCulture, "{0} Path: {1} KnownFolderGuid: {2}", base.ToString(), this.Path, this.KnownFolderGuid);
winforms\Managed\System\WinForms\FlatButtonAppearance.cs (2)
51throw new ArgumentOutOfRangeException("BorderSize", value, SR.GetString(SR.InvalidLowBoundArgumentEx, "BorderSize", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Form.cs (1)
4350return string.Format(CultureInfo.CurrentCulture, Application.SafeTopLevelCaptionFormat, original, securityZone, securitySite);
winforms\Managed\System\WinForms\Formatter.cs (3)
353formatInfo = CultureInfo.CurrentCulture; 388return String.Format(CultureInfo.CurrentCulture, SR.GetString(stringResId), value, targetType.Name); 399return CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\HtmlHistory.cs (4)
71throw new ArgumentOutOfRangeException("numberBack", SR.GetString(SR.InvalidLowBoundArgumentEx, "numberBack", numberBack.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 85throw new ArgumentOutOfRangeException("numberForward", SR.GetString(SR.InvalidLowBoundArgumentEx, "numberForward", numberForward.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ImageList.cs (10)
268throw new ArgumentOutOfRangeException("ImageSize", SR.GetString(SR.InvalidBoundArgument, "ImageSize.Width", value.Width.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture), maxImageWidth.ToString())); 272throw new ArgumentOutOfRangeException("ImageSize", SR.GetString(SR.InvalidBoundArgument, "ImageSize.Height", value.Height.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture), maxImageHeight.ToString())); 627throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 694throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 908return s + " Images.Count: " + Images.Count.ToString(CultureInfo.CurrentCulture) + ", ImageSize: " + ImageSize.ToString(); 1141throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1146throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1577throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Label.cs (2)
518throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", (value).ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Layout\TableLayout.cs (2)
1256throw new ArgumentException(SR.GetString(SR.InvalidArgument, "RowPosition", row.ToString(CultureInfo.CurrentCulture))); 1259throw new ArgumentException(SR.GetString(SR.InvalidArgument, "ColumnPosition", column.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\LinkArea.cs (4)
81return "{Start=" + Start.ToString(CultureInfo.CurrentCulture) + ", Length=" + Length.ToString(CultureInfo.CurrentCulture) + "}"; 147culture = CultureInfo.CurrentCulture; 188culture = CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\LinkConverter.cs (2)
72culture = CultureInfo.CurrentCulture; 114culture = CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\ListBox.cs (18)
309(value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 628throw new ArgumentOutOfRangeException("ItemHeight", SR.GetString(SR.InvalidExBoundArgument, "ItemHeight", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture), "256")); 887throw new ArgumentOutOfRangeException("SelectedIndex", SR.GetString(SR.InvalidArgument, "SelectedIndex", (value).ToString(CultureInfo.CurrentCulture))); 1108if (String.Compare(value, GetItemText(Items[index]), true, CultureInfo.CurrentCulture) == 0) { 1336throw new ArgumentOutOfRangeException("index", SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture))); 1483throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 1765SendMessage(NativeMethods.LB_SETLOCALE, CultureInfo.CurrentCulture.LCID, 0); 2131throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 2185s += ", Items.Count: " + Items.Count.ToString(CultureInfo.CurrentCulture); 3172throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3289throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3345throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3367throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3377if (String.Compare(this.owner.GetItemText(value), this.owner.NativeGetItemText(index), true, CultureInfo.CurrentCulture) != 0) { 3683throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3711throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ListControl.cs (5)
318if (String.Compare(props[i].Name, bindingMemberInfo.BindingField, true, CultureInfo.CurrentCulture) == 0) { 539found = String.Compare(str, GetItemText(items[index]), ignorecase, CultureInfo.CurrentCulture) == 0; 542found = String.Compare(str, 0, GetItemText(items[index]), 0, length, ignorecase, CultureInfo.CurrentCulture) == 0; 567return (item != null) ? Convert.ToString(item, CultureInfo.CurrentCulture) : ""; 601return (filteredItem != null) ? Convert.ToString(item, CultureInfo.CurrentCulture) : "";
winforms\Managed\System\WinForms\ListView.cs (44)
1825throw new System.ArgumentException(SR.GetString(SR.ListViewVirtualListSizeInvalidArgument, "value", (value.ToString(CultureInfo.CurrentCulture)))); 3060throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3091throw new ArgumentOutOfRangeException("startIndex", SR.GetString(SR.InvalidArgument, "startIndex", (startIndex).ToString(CultureInfo.CurrentCulture))); 3204} else if (isPrefixSearch && CultureInfo.CurrentCulture.CompareInfo.IsPrefix(lvsi.Text, text, CompareOptions.IgnoreCase)) { 3392throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3413throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 3430(index).ToString(CultureInfo.CurrentCulture))); 3501throw new ArgumentOutOfRangeException("itemIndex", SR.GetString(SR.InvalidArgument, "itemIndex", (itemIndex).ToString(CultureInfo.CurrentCulture))); 3506throw new ArgumentOutOfRangeException("subItemIndex", SR.GetString(SR.InvalidArgument, "subItemIndex", (subItemIndex).ToString(CultureInfo.CurrentCulture))); 3524(itemIndex).ToString(CultureInfo.CurrentCulture))); 4673throw new ArgumentOutOfRangeException("startIndex", SR.GetString(SR.InvalidArgument, "startIndex", (startIndex).ToString(CultureInfo.CurrentCulture))); 4677throw new ArgumentOutOfRangeException("endIndex", SR.GetString(SR.InvalidArgument, "endIndex", (endIndex).ToString(CultureInfo.CurrentCulture))); 4684throw new ArgumentOutOfRangeException("startIndex", SR.GetString(SR.InvalidArgument, "startIndex", (startIndex).ToString(CultureInfo.CurrentCulture))); 4688throw new ArgumentOutOfRangeException("endIndex", SR.GetString(SR.InvalidArgument, "endIndex", (endIndex).ToString(CultureInfo.CurrentCulture))); 4918throw new ArgumentOutOfRangeException("columnIndex", SR.GetString(SR.InvalidArgument, "columnIndex", (columnIndex).ToString(CultureInfo.CurrentCulture))); 5051throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 5064throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 5079throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 5091throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 5204s += ", Items.Count: " + listItemsArray.Count.ToString(CultureInfo.CurrentCulture); 5212s += ", Items.Count: " + Items.Count.ToString(CultureInfo.CurrentCulture); 6400return (String.Compare(currentItem.Text,nextItem.Text, false, CultureInfo.CurrentCulture)); 6403return (String.Compare(nextItem.Text,currentItem.Text, false, CultureInfo.CurrentCulture)); 6470throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 6489throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 7038throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 7203throw new ArgumentOutOfRangeException("itemIndex", SR.GetString(SR.InvalidArgument, "itemIndex", (itemIndex).ToString(CultureInfo.CurrentCulture))); 7219throw new ArgumentOutOfRangeException("itemIndex", SR.GetString(SR.InvalidArgument, "itemIndex", (itemIndex).ToString(CultureInfo.CurrentCulture))); 7267throw new ArgumentOutOfRangeException("itemIndex", SR.GetString(SR.InvalidArgument, "itemIndex", (itemIndex).ToString(CultureInfo.CurrentCulture))); 7278throw new ArgumentOutOfRangeException("itemIndex", SR.GetString(SR.InvalidArgument, "itemIndex", (itemIndex).ToString(CultureInfo.CurrentCulture))); 7380throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 7697throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8074throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8180throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8191(index).ToString(CultureInfo.CurrentCulture))); 8374throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8381throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8713throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8792throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 8868throw new ArgumentOutOfRangeException("displayIndex", SR.GetString(SR.InvalidArgument, "displayIndex", (displayIndex).ToString(CultureInfo.CurrentCulture))); 8887throw new ArgumentOutOfRangeException("displayIndex", SR.GetString(SR.InvalidArgument, "displayIndex", (displayIndex).ToString(CultureInfo.CurrentCulture))); 9091throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 9148throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 9168(index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ListViewGroup.cs (2)
402if (String.Compare(key, this[i].Name, false /*case insensitive*/, System.Globalization.CultureInfo.CurrentCulture) == 0) { 417if (String.Compare(key, this[i].Name, false /*case insensitive*/, System.Globalization.CultureInfo.CurrentCulture) ==0) {
winforms\Managed\System\WinForms\ListViewItem.cs (5)
537throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", value.ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture))); 793throw new ArgumentOutOfRangeException("StateImageIndex", SR.GetString(SR.InvalidArgument, "StateImageIndex", (value).ToString(CultureInfo.CurrentCulture))); 1779throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 1785throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\MaskedTextBox.cs (4)
126MaskedTextProvider maskedTextProvider = new MaskedTextProvider(nullMask, CultureInfo.CurrentCulture); 141MaskedTextProvider maskedTextProvider = new MaskedTextProvider(mask, CultureInfo.CurrentCulture); 2734this.Culture = CultureInfo.CurrentCulture; 2942return !CultureInfo.CurrentCulture.Equals(this.Culture);
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (1)
105windowListItem.Text = String.Format(CultureInfo.CurrentCulture, "&{0} {1}", accel, text);
winforms\Managed\System\WinForms\Menu.cs (6)
619return s + ", Items.Count: " + ItemCount.ToString(CultureInfo.CurrentCulture); 634char menuKey = Char.ToUpper((char) NativeMethods.Util.LOWORD(m.WParam), CultureInfo.CurrentCulture); 671Char.ToUpper(mi.Text[0], CultureInfo.CurrentCulture) == key; 702throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture))); 868throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument,"index",(index).ToString(CultureInfo.CurrentCulture))); 1126throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument,"index",(index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\MenuItem.cs (1)
345throw new ArgumentOutOfRangeException("Index", SR.GetString(SR.InvalidArgument, "Index", (value).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\MonthCalendar.cs (12)
610throw new ArgumentOutOfRangeException("MaxSelectionCount", SR.GetString(SR.InvalidLowBoundArgumentEx, "MaxSelectionCount", (value).ToString("D", CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); 616throw new ArgumentException(SR.GetString(SR.MonthCalendarMaxSelCount, (value).ToString("D", CultureInfo.CurrentCulture)), "MaxSelectionCount"); 781throw new ArgumentOutOfRangeException("ScrollChange", SR.GetString(SR.InvalidLowBoundArgumentEx, "ScrollChange", (value).ToString("D", CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 784throw new ArgumentOutOfRangeException("ScrollChange", SR.GetString(SR.InvalidHighBoundArgumentEx, "ScrollChange", (value).ToString("D", CultureInfo.CurrentCulture), (MaxScrollChange).ToString("D", CultureInfo.CurrentCulture))); 1398return value.ToString("d", CultureInfo.CurrentCulture); 2038throw new ArgumentOutOfRangeException("x", SR.GetString(SR.MonthCalendarInvalidDimensions, (x).ToString("D", CultureInfo.CurrentCulture), (y).ToString("D", CultureInfo.CurrentCulture))); 2041throw new ArgumentOutOfRangeException("y", SR.GetString(SR.MonthCalendarInvalidDimensions, (x).ToString("D", CultureInfo.CurrentCulture), (y).ToString("D", CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\NotifyIcon.cs (1)
672throw new ArgumentOutOfRangeException("timeout", SR.GetString(SR.InvalidArgument, "timeout", (timeout).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\NumericUpDown.cs (11)
143throw new ArgumentOutOfRangeException("DecimalPlaces", SR.GetString(SR.InvalidBoundArgument, "DecimalPlaces", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture), "99")); 195throw new ArgumentOutOfRangeException("Increment", SR.GetString(SR.InvalidArgument, "Increment", value.ToString(CultureInfo.CurrentCulture))); 375throw new ArgumentOutOfRangeException("Value", SR.GetString(SR.InvalidBoundArgument, "Value", value.ToString(CultureInfo.CurrentCulture), "'Minimum'", "'Maximum'")); 524NumberFormatInfo numberFormatInfo = System.Globalization.CultureInfo.CurrentCulture.NumberFormat; 611Value = Constrain(Decimal.Parse(Text, CultureInfo.CurrentCulture)); 712s += ", Minimum = " + Minimum.ToString(CultureInfo.CurrentCulture) + ", Maximum = " + Maximum.ToString(CultureInfo.CurrentCulture); 758text = num.ToString((ThousandsSeparator ? "N" : "F") + DecimalPlaces.ToString(CultureInfo.CurrentCulture), CultureInfo.CurrentCulture); 863shortText = testNumber.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\OpacityConverter.cs (3)
49double val = Double.Parse(text, CultureInfo.CurrentCulture); 53text = val.ToString(CultureInfo.CurrentCulture); 107return perc.ToString(CultureInfo.CurrentCulture) + "%";
winforms\Managed\System\WinForms\Padding.cs (6)
228return "{Left=" + Left.ToString(CultureInfo.CurrentCulture) + ",Top=" + Top.ToString(CultureInfo.CurrentCulture) + ",Right=" + Right.ToString(CultureInfo.CurrentCulture) + ",Bottom=" + Bottom.ToString(CultureInfo.CurrentCulture) + "}"; 317culture = CultureInfo.CurrentCulture; 352culture = CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (6)
151throw new ArgumentOutOfRangeException("Columns", SR.GetString(SR.InvalidLowBoundArgumentEx, "Columns", value.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); 213throw new ArgumentOutOfRangeException("Rows", SR.GetString(SR.InvalidLowBoundArgumentEx, "Rows", value.ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); 294throw new ArgumentOutOfRangeException("StartPage", SR.GetString(SR.InvalidLowBoundArgumentEx, "StartPage", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ProgressBar.cs (8)
395throw new ArgumentOutOfRangeException("Maximum", SR.GetString(SR.InvalidLowBoundArgumentEx, "Maximum", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 433throw new ArgumentOutOfRangeException("Minimum", SR.GetString(SR.InvalidLowBoundArgumentEx, "Minimum", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 628throw new ArgumentOutOfRangeException("Value", SR.GetString(SR.InvalidBoundArgument, "Value", value.ToString(CultureInfo.CurrentCulture), "'minimum'", "'maximum'")); 874return s + ", Minimum: " + Minimum.ToString(CultureInfo.CurrentCulture) + ", Maximum: " + Maximum.ToString(CultureInfo.CurrentCulture) + ", Value: " + Value.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
1186throw new ArgumentException(SR.GetString(SR.PropertyGridSetNull, count.ToString(CultureInfo.CurrentCulture), value.Length.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\PropertyGridInternal\ArrayElementGridEntry.cs (1)
50return "[" + index.ToString(CultureInfo.CurrentCulture) + "]";
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
3121return String.Compare(((PropertyDescriptor)left).DisplayName, ((PropertyDescriptor)right).DisplayName, true, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (1)
342result = String.Compare(a1.PropertyType.FullName, a2.PropertyType.FullName, true, System.Globalization.CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
2687rgvalue = gridEntry.TypeConverter.ConvertTo(gridEntry, CultureInfo.CurrentCulture, rgvalue, value.GetType()); 2693equal = 0 == String.Compare((string)value, rgvalue.ToString(), true, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\RichTextBox.cs (6)
310throw new ArgumentOutOfRangeException("BulletIndent", SR.GetString(SR.InvalidArgument, "BulletIndent", (value).ToString(CultureInfo.CurrentCulture))); 709throw new ArgumentOutOfRangeException("RightMargin", SR.GetString(SR.InvalidLowBoundArgumentEx, "RightMargin", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1598throw new ArgumentOutOfRangeException("ZoomFactor", SR.GetString(SR.InvalidExBoundArgument, "ZoomFactor", (value).ToString(CultureInfo.CurrentCulture), (0.015625f).ToString(CultureInfo.CurrentCulture), (64.0f).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ScrollBar.cs (8)
329throw new ArgumentOutOfRangeException("LargeChange", SR.GetString(SR.InvalidLowBoundArgumentEx, "LargeChange", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 422throw new ArgumentOutOfRangeException("SmallChange", SR.GetString(SR.InvalidLowBoundArgumentEx, "SmallChange", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 497throw new ArgumentOutOfRangeException("Value", SR.GetString(SR.InvalidBoundArgument, "Value", (value).ToString(CultureInfo.CurrentCulture), "'minimum'", "'maximum'")); 782return s + ", Minimum: " + Minimum.ToString(CultureInfo.CurrentCulture) + ", Maximum: " + Maximum.ToString(CultureInfo.CurrentCulture) + ", Value: " + Value.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ScrollProperties.cs (7)
115throw new ArgumentOutOfRangeException("LargeChange", SR.GetString(SR.InvalidLowBoundArgumentEx, "LargeChange", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 180throw new ArgumentOutOfRangeException("Minimum", SR.GetString(SR.InvalidLowBoundArgumentEx, "Minimum", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 236throw new ArgumentOutOfRangeException("SmallChange", SR.GetString(SR.InvalidLowBoundArgumentEx, "SmallChange", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 268throw new ArgumentOutOfRangeException("Value", SR.GetString(SR.InvalidBoundArgument, "Value", (value).ToString(CultureInfo.CurrentCulture), "'minimum'", "'maximum'"));
winforms\Managed\System\WinForms\SelectionRangeConverter.cs (2)
69culture = CultureInfo.CurrentCulture; 112culture = CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\SplitContainer.cs (11)
794throw new ArgumentOutOfRangeException("SplitterDistance", SR.GetString(SR.InvalidLowBoundArgument, "SplitterDistance", (value).ToString(CultureInfo.CurrentCulture), "0")); 890throw new ArgumentOutOfRangeException("SplitterIncrement", SR.GetString(SR.InvalidLowBoundArgumentEx, "SplitterIncrement", (value).ToString(CultureInfo.CurrentCulture), "1")); 1443throw new ArgumentOutOfRangeException("Panel1MinSize", SR.GetString(SR.InvalidLowBoundArgument, "Panel1MinSize", (value).ToString(CultureInfo.CurrentCulture), "0")); 1448throw new ArgumentOutOfRangeException("Panel1MinSize", SR.GetString(SR.InvalidArgument, "Panel1MinSize", (value).ToString(CultureInfo.CurrentCulture))); 1453throw new ArgumentOutOfRangeException("Panel1MinSize", SR.GetString(SR.InvalidArgument, "Panel1MinSize", (value).ToString(CultureInfo.CurrentCulture))); 1468throw new ArgumentOutOfRangeException("Panel2MinSize", SR.GetString(SR.InvalidLowBoundArgument, "Panel2MinSize", (value).ToString(CultureInfo.CurrentCulture), "0")); 1472throw new ArgumentOutOfRangeException("Panel2MinSize", SR.GetString(SR.InvalidArgument, "Panel2MinSize", (value).ToString(CultureInfo.CurrentCulture))); 1478throw new ArgumentOutOfRangeException("Panel2MinSize", SR.GetString(SR.InvalidArgument, "Panel2MinSize", (value).ToString(CultureInfo.CurrentCulture))); 1492throw new ArgumentOutOfRangeException("SplitterWidth", SR.GetString(SR.InvalidLowBoundArgumentEx, "SplitterWidth", (value).ToString(CultureInfo.CurrentCulture), "1")); 1496throw new ArgumentOutOfRangeException("SplitterWidth", SR.GetString(SR.InvalidArgument, "SplitterWidth", (value).ToString(CultureInfo.CurrentCulture))); 1502throw new ArgumentOutOfRangeException("SplitterWidth", SR.GetString(SR.InvalidArgument, "SplitterWidth", (value).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\Splitter.cs (2)
1054return s + ", MinExtra: " + MinExtra.ToString(CultureInfo.CurrentCulture) + ", MinSize: " + MinSize.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\StatusBar.cs (4)
975s += ", Panels.Count: " + Panels.Count.ToString(CultureInfo.CurrentCulture); 1242throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1500throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1587throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\StatusBarPanel.cs (2)
261throw new ArgumentOutOfRangeException("MinWidth", SR.GetString(SR.InvalidLowBoundArgumentEx, "MinWidth", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\StringSorter.cs (1)
179return String.Compare(s1, s2, false, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\TabControl.cs (8)
734throw new ArgumentOutOfRangeException("SelectedIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "SelectedIndex", value.ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture))); 1204throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1241throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1301throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1703throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1749throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1883s += ", TabPages.Count: " + TabPages.Count.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\TableLayoutPanelCellPosition.cs (5)
24throw new ArgumentOutOfRangeException("row", SR.GetString(SR.InvalidArgument, "row", (row).ToString(CultureInfo.CurrentCulture))); 27throw new ArgumentOutOfRangeException("column", SR.GetString(SR.InvalidArgument, "column", (column).ToString(CultureInfo.CurrentCulture))); 68return Column.ToString(CultureInfo.CurrentCulture) + "," + Row.ToString(CultureInfo.CurrentCulture); 109culture = CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\TableLayoutSettings.cs (8)
114throw new ArgumentOutOfRangeException("ColumnCount", value, SR.GetString (SR.InvalidLowBoundArgumentEx, "ColumnCount", value.ToString (CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 140throw new ArgumentOutOfRangeException("RowCount", value, SR.GetString (SR.InvalidLowBoundArgumentEx, "RowCount", value.ToString (CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 249throw new ArgumentOutOfRangeException("ColumnSpan", SR.GetString(SR.InvalidArgument, "ColumnSpan", (value).ToString(CultureInfo.CurrentCulture))); 279throw new ArgumentOutOfRangeException("RowSpan", SR.GetString(SR.InvalidArgument, "RowSpan", (value).ToString(CultureInfo.CurrentCulture))); 328throw new ArgumentOutOfRangeException("Row", SR.GetString(SR.InvalidArgument, "Row", (row).ToString(CultureInfo.CurrentCulture))); 380throw new ArgumentException(SR.GetString(SR.InvalidArgument, "Column", (column).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (6)
88xmlWriter.WriteAttributeString("Row",c.Row.ToString(CultureInfo.CurrentCulture)); 89xmlWriter.WriteAttributeString("RowSpan", c.RowSpan.ToString(CultureInfo.CurrentCulture)); 91xmlWriter.WriteAttributeString("Column", c.Column.ToString(CultureInfo.CurrentCulture)); 92xmlWriter.WriteAttributeString("ColumnSpan", c.ColumnSpan.ToString(CultureInfo.CurrentCulture)); 153Debug.Fail(string.Format(CultureInfo.CurrentCulture, "Failed to parse int: {0}", attributeValue)); 229Debug.Fail(string.Format(CultureInfo.CurrentCulture, "Failed to parse float for style: {0}", floatString));
winforms\Managed\System\WinForms\TableLayoutStyle.cs (2)
48throw new ArgumentOutOfRangeException("Size", SR.GetString(SR.InvalidLowBoundArgumentEx, "Size", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\TabPage.cs (2)
192throw new ArgumentOutOfRangeException ("ImageIndex", SR.GetString (SR.InvalidLowBoundArgumentEx, "imageIndex", (value).ToString (CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\TextBoxBase.cs (6)
757throw new ArgumentOutOfRangeException("MaxLength", SR.GetString(SR.InvalidLowBoundArgumentEx, "MaxLength", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1175throw new ArgumentOutOfRangeException("SelectionLength", SR.GetString(SR.InvalidArgument, "SelectionLength", value.ToString(CultureInfo.CurrentCulture))); 1211throw new ArgumentOutOfRangeException("SelectionStart", SR.GetString(SR.InvalidArgument, "SelectionStart", value.ToString(CultureInfo.CurrentCulture))); 1805throw new ArgumentOutOfRangeException("lineNumber", SR.GetString(SR.InvalidArgument, "lineNumber", lineNumber.ToString(CultureInfo.CurrentCulture))); 1921throw new ArgumentOutOfRangeException("start", SR.GetString(SR.InvalidArgument, "start", start.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (3)
184detailsTextBuilder.Append(string.Format(CultureInfo.CurrentCulture, sectionseparator, SR.GetString(SR.ExDlgMsgExceptionSection))); 188detailsTextBuilder.Append(string.Format(CultureInfo.CurrentCulture, sectionseparator, SR.GetString(SR.ExDlgMsgLoadedAssembliesSection))); 220detailsTextBuilder.Append(string.Format(CultureInfo.CurrentCulture, sectionseparator, SR.GetString(SR.ExDlgMsgJITDebuggingSection)));
winforms\Managed\System\WinForms\Timer.cs (2)
215throw new ArgumentOutOfRangeException("Interval", SR.GetString(SR.TimerInvalidInterval, value, (0).ToString(CultureInfo.CurrentCulture))); 268return s + ", Interval: " + Interval.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ToolBar.cs (5)
1192throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1506s += ", Buttons.Count: " + buttonCount.ToString(CultureInfo.CurrentCulture); 1809throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 1817throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture))); 2120throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", index.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ToolBarButton.cs (1)
200throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", (value).ToString(CultureInfo.CurrentCulture), -1));
winforms\Managed\System\WinForms\ToolStrip.cs (9)
2759char charToCompare = Char.ToUpper(charCode, CultureInfo.CurrentCulture); 2760char firstLetter = Char.ToUpper(text[0], CultureInfo.CurrentCulture); 2761if (firstLetter == charToCompare ||(Char.ToLower(charCode, CultureInfo.CurrentCulture) == Char.ToLower(text[0], CultureInfo.CurrentCulture)) ) { 3531Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Item to get mouse move: {0}", (item == null) ? "null" : item.ToString())); 3533Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "This is a new item - last item to get was {0}", (lastMouseActiveItem == null) ? "null" : lastMouseActiveItem.ToString())); 3542Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseEnter on: {0}", (lastMouseActiveItem == null) ? "null" : lastMouseActiveItem.ToString())); 3559Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseMove on: {0}", (item == null) ? "null" : item.ToString())); 3568Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseMove on: {0}", (this == null) ? "null" : this.ToString()));
winforms\Managed\System\WinForms\ToolStripComboBox.cs (1)
599return base.ToString() + ", Items.Count: " + Items.Count.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ToolStripContainer.cs (1)
465throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfTypes, contentPanelType.Name, panelType.Name)), value.GetType().Name);
winforms\Managed\System\WinForms\ToolStripItem.cs (3)
1330throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", value.ToString(CultureInfo.CurrentCulture), (-1).ToString(CultureInfo.CurrentCulture))); 3927Debug.WriteLineIf(ToolStrip.SelectionDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "[Selection DBG] WBI.Unselect: {0}", this.ToString()));
winforms\Managed\System\WinForms\ToolStripManager.cs (5)
357Debug.WriteLineIf(ToolStrip.ControlTabDebug.TraceVerbose, "SELECTNEXTTOOLSTRIP: start: " + startTabIndex.ToString(CultureInfo.CurrentCulture) + " " + start.Name); 364Debug.WriteLineIf(ToolStrip.ControlTabDebug.TraceVerbose, "FORWARD considering selection " + toolStrip.Name + " " + toolStrip.TabIndex.ToString(CultureInfo.CurrentCulture)); 401Debug.WriteLineIf(ToolStrip.ControlTabDebug.TraceVerbose, "\tREVERSE skipping wrap candidate " + toolStrip.Name + toolStrip.TabIndex.ToString(CultureInfo.CurrentCulture)); 1714Debug.WriteLineIf(ToolStrip.SnapFocusDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "[ProcessMenuKey] MenuStripToActivate is: {0}", menuStripToActivate)); 2288return "MergeAction: " + mergeAction.ToString() + " | TargetItem: " + (TargetItem == null ? "null" : TargetItem.Text) + " Index: " + index.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\ToolStripPanel.cs (14)
916throw new ArgumentOutOfRangeException("row", SR.GetString(SR.IndexOutOfRange, row.ToString(CultureInfo.CurrentCulture))); 976Debug.WriteLineIf(ToolStripPanelDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "RC.MoveControl - Point {0} is not in current rafting container drag bounds {1}, calling MoveOutsideContainer", clientLocation, DragBounds)); 1049Debug.WriteLineIf(ToolStripPanelDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "\tThere is no row corresponding to this point, creating a new one.")); 1097Debug.WriteLineIf(ToolStripPanelRow.ToolStripPanelRowCreationDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "\tThere was a row, but we cant add the control to it, creating/inserting new row.")); 1105Debug.WriteLineIf(ToolStripPanelRow.ToolStripPanelRowCreationDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "\tAttempts to leave the current row failed as there's no space in the next row. Since there's only one control, just keep the row.")); 1124Debug.WriteLineIf(ToolStripPanelDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "\tCalling JoinRow.")); 1239Debug.Fail(String.Format(CultureInfo.CurrentCulture, "ToolStripPanelRow has not been assigned! Should be set to {0}.", i)); 1242Debug.Fail(String.Format(CultureInfo.CurrentCulture, "Detected orphan cell! {0} is in row {1}. It shouldnt have a cell in {2}! \r\n\r\nTurn on DEBUG_PAINT in ToolStripPanel and ToolStripPanelRow to investigate.", cell.Control.Name, goodRowIndex, i)); 1256Debug.Write("Row " + i.ToString(CultureInfo.CurrentCulture) + ": "); 1258Debug.Write(String.Format(CultureInfo.CurrentCulture, "[{0} {1}] ", RowsInternal[i].ControlsInternal[j].Name, ((ToolStripPanelCell)RowsInternal[i].Cells[j]).Margin)); 1283string fail = String.Format(CultureInfo.CurrentCulture, 1287!RowsInternal.Contains(draggedToolStrip1.ToolStripPanelRow) ? "unknown" : RowsInternal.IndexOf(draggedToolStrip1.ToolStripPanelRow).ToString(CultureInfo.CurrentCulture), 1290fail += String.Format(CultureInfo.CurrentCulture, 1294!RowsInternal.Contains(draggedToolStrip2.ToolStripPanelRow) ? "unknown" : RowsInternal.IndexOf(draggedToolStrip2.ToolStripPanelRow).ToString(CultureInfo.CurrentCulture),
winforms\Managed\System\WinForms\ToolStripPanelCell.cs (1)
58throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfType, typeof(ToolStrip).Name)), control.GetType().Name);
winforms\Managed\System\WinForms\ToolStripSplitButton.cs (2)
262throw new ArgumentOutOfRangeException("DropDownButtonWidth", SR.GetString(SR.InvalidLowBoundArgumentEx, "DropDownButtonWidth", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\ToolTip.cs (18)
173throw new ArgumentOutOfRangeException("AutomaticDelay", SR.GetString(SR.InvalidLowBoundArgumentEx, "AutomaticDelay", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 201throw new ArgumentOutOfRangeException("AutoPopDelay", SR.GetString(SR.InvalidLowBoundArgumentEx, "AutoPopDelay", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 391throw new ArgumentOutOfRangeException("InitialDelay", SR.GetString(SR.InvalidLowBoundArgumentEx, "InitialDelay", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 438throw new ArgumentOutOfRangeException("ReshowDelay", SR.GetString(SR.InvalidLowBoundArgumentEx, "ReshowDelay", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1636throw new ArgumentOutOfRangeException("duration", SR.GetString(SR.InvalidLowBoundArgumentEx, "duration", (duration).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1680throw new ArgumentOutOfRangeException("duration", SR.GetString(SR.InvalidLowBoundArgumentEx, "duration", (duration).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1731throw new ArgumentOutOfRangeException("duration", SR.GetString(SR.InvalidLowBoundArgumentEx, "duration", (duration).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 1751throw new ArgumentOutOfRangeException(nameof(duration), SR.GetString(SR.InvalidLowBoundArgumentEx, nameof(duration), (duration).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 2156return s + " InitialDelay: " + InitialDelay.ToString(CultureInfo.CurrentCulture) + ", ShowAlways: " + ShowAlways.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\TrackBar.cs (4)
688throw new ArgumentOutOfRangeException("Value", SR.GetString(SR.InvalidBoundArgument, "Value", (value).ToString(CultureInfo.CurrentCulture), "'Minimum'", "'Maximum'")); 1160return s + ", Minimum: " + Minimum.ToString(CultureInfo.CurrentCulture) + ", Maximum: " + Maximum.ToString(CultureInfo.CurrentCulture) + ", Value: " + Value.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\TreeNode.cs (1)
975throw new ArgumentOutOfRangeException("StateImageIndex", SR.GetString(SR.InvalidArgument, "StateImageIndex", (value).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\TreeNodeCollection.cs (1)
71throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\TreeView.cs (13)
577throw new ArgumentOutOfRangeException("ImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "ImageIndex", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 764throw new ArgumentOutOfRangeException("Indent", SR.GetString(SR.InvalidLowBoundArgumentEx, "Indent", (value).ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 767throw new ArgumentOutOfRangeException("Indent", SR.GetString(SR.InvalidHighBoundArgumentEx, "Indent", (value).ToString(CultureInfo.CurrentCulture), (MaxIndent).ToString(CultureInfo.CurrentCulture))); 806throw new ArgumentOutOfRangeException("ItemHeight", SR.GetString(SR.InvalidLowBoundArgumentEx, "ItemHeight", (value).ToString(CultureInfo.CurrentCulture), (1).ToString(CultureInfo.CurrentCulture))); 809throw new ArgumentOutOfRangeException("ItemHeight", SR.GetString(SR.InvalidHighBoundArgument, "ItemHeight", (value).ToString(CultureInfo.CurrentCulture), Int16.MaxValue.ToString(CultureInfo.CurrentCulture))); 1066throw new ArgumentOutOfRangeException("SelectedImageIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "SelectedImageIndex", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 2466s += ", Nodes.Count: " + Nodes.Count.ToString(CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\TrustManagerMoreInformation.cs (3)
370pictureBox.AccessibleDescription = string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TrustManager_WarningIconAccessibleDescription_LowRisk), pictureBox.AccessibleDescription); 381pictureBox.AccessibleDescription = string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TrustManager_WarningIconAccessibleDescription_MediumRisk), pictureBox.AccessibleDescription); 393pictureBox.AccessibleDescription = string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TrustManager_WarningIconAccessibleDescription_HighRisk), pictureBox.AccessibleDescription);
winforms\Managed\System\WinForms\TrustManagerPromptUI.cs (3)
659this.pictureBoxWarning.AccessibleDescription = string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TrustManager_WarningIconAccessibleDescription_LowRisk), this.pictureBoxWarning.AccessibleDescription); 671this.pictureBoxWarning.AccessibleDescription = string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TrustManager_WarningIconAccessibleDescription_MediumRisk), this.pictureBoxWarning.AccessibleDescription); 684this.pictureBoxWarning.AccessibleDescription = string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TrustManager_WarningIconAccessibleDescription_HighRisk), this.pictureBoxWarning.AccessibleDescription);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
407throw new ArgumentOutOfRangeException("imageIndex", SR.GetString(SR.InvalidArgument, "imageIndex", imageIndex.ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
394msg.wParam = (IntPtr) Char.ToUpper(charCode, CultureInfo.CurrentCulture); 747Debug.Assert(hr == NativeMethods.S_OK, String.Format(CultureInfo.CurrentCulture, "DoVerb call failed for verb 0x{0:X}", verb));
winforms\Managed\System\WinForms\WinFormsUtils.cs (3)
274mnemonic = Char.ToUpper(text[i+1], CultureInfo.CurrentCulture); 277mnemonic = Char.ToLower(text[i+1], CultureInfo.CurrentCulture); 561throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfType, typeOfControl.Name)), value.GetType().Name);
System.Windows.Forms.DataVisualization (66)
Common\Annotation\AnnotationBase.cs (4)
627throw new ArgumentException(SR.ExceptionValueMustBeInRange("Width", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture))); 679throw new ArgumentException(SR.ExceptionValueMustBeInRange("Height", (-WidthHightLimit).ToString(CultureInfo.CurrentCulture), WidthHightLimit.ToString(CultureInfo.CurrentCulture)));
Common\ChartTypes\BarChart.cs (1)
406 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\BubbleChart.cs (1)
219 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture) == 0 &&
Common\ChartTypes\ColumnChart.cs (1)
317 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture) != 0
Common\ChartTypes\ErrorBarChart.cs (1)
1100 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues( ChartTypeNames.ErrorBar, ((int)(3)).ToString(CultureInfo.CurrentCulture))));
Common\ChartTypes\FastLineChart.cs (2)
257 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 287bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.CurrentCulture, out pixelError);
Common\ChartTypes\FastPointChart.cs (2)
257 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 288bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.CurrentCulture, out pixelError);
Common\ChartTypes\FunnelChart.cs (1)
2684 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) == 0 )
Common\ChartTypes\LineChart.cs (1)
377 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\PieChart.cs (1)
526 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 )
Common\ChartTypes\PointAndFigureChart.cs (1)
336 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(ChartTypeNames.PointAndFigure, ((int)(2)).ToString(CultureInfo.CurrentCulture))));
Common\ChartTypes\PointChart.cs (1)
333 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\RadarChart.cs (1)
374 if(String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 )
Common\ChartTypes\StackedAreaChart.cs (5)
132if (String.Compare(ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture) == 0 167 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture ) == 0 247 if(String.Compare(series.ChartArea, ser.ChartArea, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 248 String.Compare(series.ChartTypeName, ser.ChartTypeName, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 1226 if(String.Compare(ser.ChartTypeName, secondPoint.dataPoint.series.ChartTypeName, true, System.Globalization.CultureInfo.CurrentCulture) == 0)
Common\Converters\AxisConverters.cs (2)
126 return DateTime.FromOADate((double)value).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 426bool parseSucceed = DateTime.TryParse(stringValue, CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate);
Common\Converters\DataManagerConverters.cs (3)
529else if (DateTime.TryParse(values[index], CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate)) 631 return valueAsSate.ToString("g", System.Globalization.CultureInfo.CurrentCulture); 656DateTime valueAsSate = DateTime.Parse(stringValue, System.Globalization.CultureInfo.CurrentCulture);
Common\Converters\ElementPositionConverter.cs (4)
123 float.Parse(array[0], System.Globalization.CultureInfo.CurrentCulture), 124 float.Parse(array[1], System.Globalization.CultureInfo.CurrentCulture), 125 float.Parse(array[2], System.Globalization.CultureInfo.CurrentCulture), 126 float.Parse(array[3], System.Globalization.CultureInfo.CurrentCulture));
Common\DataManager\DataPoint.cs (4)
2657sb.AppendFormat(CultureInfo.CurrentCulture, "{{X={0}, ", XValue); 2660sb.AppendFormat(CultureInfo.CurrentCulture, "Y={0}", YValues[0]); 2667sb.AppendFormat(CultureInfo.CurrentCulture, "{0}", YValues[i]); 2669sb.AppendFormat(CultureInfo.CurrentCulture, ", {0}", YValues[i]);
Common\DataManager\DataSeries.cs (8)
659throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 689throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointGapDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 758throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("MinPixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 813throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture))));
Common\General\AxisScrollZoom.cs (2)
1648strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 1662strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture);
Common\General\Chart.cs (2)
485dataTable.Locale = CultureInfo.CurrentCulture; 491dataTable.Locale = CultureInfo.CurrentCulture;
Common\General\CommonElements.cs (2)
300double.TryParse(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result); 319float.TryParse(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result);
Common\General\DataManipulator.cs (2)
935dataSet.Locale = System.Globalization.CultureInfo.CurrentCulture; 967seriesTable.Locale = System.Globalization.CultureInfo.CurrentCulture;
Common\General\Selection.cs (1)
414return String.Format(CultureInfo.CurrentCulture, "{0} of {1}", this.Type, objectType);
Common\General\Title.cs (2)
492throw (new ArgumentOutOfRangeException("value", SR.ExceptionValueMustBeInRange("DockingOffset", (-100).ToString(CultureInfo.CurrentCulture), (100).ToString(CultureInfo.CurrentCulture))));
Common\SR.cs (3)
12536 return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0); 12541 return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1); 12546 return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1, arg2);
Common\Utilities\ElementPosition.cs (4)
290 this._x.ToString(System.Globalization.CultureInfo.CurrentCulture)+", "+ 291 this._y.ToString(System.Globalization.CultureInfo.CurrentCulture)+", "+ 292 this._width.ToString(System.Globalization.CultureInfo.CurrentCulture)+", "+ 293 this._height.ToString(System.Globalization.CultureInfo.CurrentCulture);
Common\Utilities\ValueConverter.cs (4)
120result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 131result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 146result = String.Format(CultureInfo.CurrentCulture,convertionFormat, value); 160result = String.Format(CultureInfo.CurrentCulture, convertionFormat, (long)value);
System.Workflow.Activities (430)
Common\CompModHelpers.cs (2)
553Debug.WriteLine("Error loading install directory: " + error.ToString(CultureInfo.CurrentCulture)); 603Debug.WriteLine("Error loading 3.0 install directory: " + error.ToString(CultureInfo.CurrentCulture));
CorrelationValidator.cs (29)
40ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), interfaceType.FullName), ErrorNumbers.Error_GenericMethodsNotSupported); 49ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ExternalDataExchangeException), interfaceType.FullName), ErrorNumbers.Error_TypeNotExist); 79ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported); 110validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_CorrelationTokenSpecifiedForUncorrelatedInterface), activity.QualifiedName, interfaceType), ErrorNumbers.Error_InvalidIdentifier, false, "CorrelationToken")); 121validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_MissingCorrelationTokenProperty), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet, false, "CorrelationToken")); 127validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_MissingCorrelationTokenOwnerNameProperty), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet, false, "CorrelationToken")); 158ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_OwnerActivityIsNotParent), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet); 172ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InitializerInReplicator), replicatorParent.QualifiedName), ErrorNumbers.Error_InitializerInReplicator, false); 200ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_CorrelationTokenInReplicator, correlator.Name, replicatorParent.QualifiedName)), ErrorNumbers.Error_CorrelationTokenInReplicator, true); 288ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_UninitializedCorrelation)), ErrorNumbers.Error_UninitializedCorrelation, true); 293error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_MisMatchCorrelationTokenOwnerNameProperty), correlator.Name), ErrorNumbers.Error_UninitializedCorrelation, false); 301ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InitializerFollowerInTxnlScope)), ErrorNumbers.Error_InitializerFollowerInTxnlScope, false); 428string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported); 439string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ReturnTypeNotVoid), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name), ErrorNumbers.Error_ReturnTypeNotVoid); 452string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_OutRefParameterNotSupported), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name, param.Name), ErrorNumbers.Error_OutRefParameterNotSupported); 478ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationAttributeInvalid, typeof(CorrelationParameterAttribute).Name, "Name", interfaceType.Name), ErrorNumbers.Error_CorrelationAttributeInvalid); 485ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_DuplicateCorrelationAttribute, typeof(CorrelationParameterAttribute).Name, parameterAttribute.Name, interfaceType.Name), ErrorNumbers.Error_DuplicateCorrelationAttribute); 576ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationParameterNotFound, typeof(CorrelationAliasAttribute).Name, paramName, memberInfo.Name, typeof(CorrelationParameterAttribute).Name, interfaceType.Name), ErrorNumbers.Error_CorrelationParameterNotFound); 602ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationInvalid, (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name, paramName), ErrorNumbers.Error_CorrelationInvalid); 609ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationTypeNotConsistent, paramPath, typeof(CorrelationAliasAttribute).Name, (memberInfo.DeclaringType == interfaceType) ? memberInfo.Name : memberInfo.DeclaringType.Name, paramType.Name, ((Type)paramTypes[paramName]).Name, paramName, interfaceType.Name), ErrorNumbers.Error_CorrelationTypeNotConsistent); 618ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationInitializerNotDefinied, interfaceType.Name), ErrorNumbers.Error_CorrelationInitializerNotDefinied); 645ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_MissingCorrelationParameterAttribute, interfaceType.Name), ErrorNumbers.Error_MissingCorrelationParameterAttribute); 675ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationAttributeInvalid, typeof(CorrelationAliasAttribute).Name, "Name", memberInfo.Name), ErrorNumbers.Error_CorrelationAttributeInvalid); 683ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_CorrelationAttributeInvalid, typeof(CorrelationAliasAttribute).Name, "Path", memberInfo.Name), ErrorNumbers.Error_CorrelationAttributeInvalid); 691ValidationError error = new ValidationError(SR.GetString(CultureInfo.CurrentCulture, SR.Error_DuplicateCorrelationAttribute, typeof(CorrelationAliasAttribute).Name, aliasAttribute.Name, memberInfo.Name), ErrorNumbers.Error_DuplicateCorrelationAttribute); 880validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InvalidEventArgsSignature, operation)), ErrorNumbers.Error_FieldNotExists, false, "EventName")); 891validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InvalidEventPropertyName, paramName)), ErrorNumbers.Error_FieldNotExists, false, "ParameterBindings")); 893validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InvalidMethodPropertyName, paramName)), ErrorNumbers.Error_FieldNotExists, false, "ParameterBindings")); 929validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture,
Delay.cs (1)
240throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.GetString(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration"));
Executors\WorkflowWebService.cs (2)
96methodMessage.SendException(new ApplicationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_WorkflowCompleted))); 123throw new ApplicationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_WorkflowTerminated), response.Exception);
LocalService\ExternalDataExchangeService.cs (4)
72throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 99throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 281throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ExternalDataExchangeServiceExists), type)); 308throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ServiceMissingExternalDataExchangeInterface)));
LocalService\MethodMessage.cs (2)
262throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_WorkflowInstanceDehydratedBeforeSendingResponse))); 275throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_WorkflowInstanceDehydratedBeforeSendingResponse)));
Rules\ArithmeticLiteral.cs (96)
318string message = string.Format(CultureInfo.CurrentCulture, Messages.ArithOpBadTypes, operation.ToString(), 432string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName, CodeBinaryOperatorType.Add, this.TypeName); 437string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue, CodeBinaryOperatorType.Add, this.TypeName); 442string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Add, this.TypeName); 447string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Add, this.TypeName); 452string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Add, this.TypeName); 457string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Add, this.TypeName); 462string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Add, this.TypeName); 467string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Add, this.TypeName); 472string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Add, this.TypeName); 477string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Add, this.TypeName); 482string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Add, this.TypeName); 487string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Add, this.TypeName); 492string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Add, this.TypeName); 498string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName, CodeBinaryOperatorType.Subtract, this.TypeName); 503string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue, CodeBinaryOperatorType.Subtract, this.TypeName); 508string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 513string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 518string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 523string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 528string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 533string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 538string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 543string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 549string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName, CodeBinaryOperatorType.Multiply, this.TypeName); 554string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue, CodeBinaryOperatorType.Multiply, this.TypeName); 559string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Multiply, this.TypeName); 564string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Multiply, this.TypeName); 569string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Multiply, this.TypeName); 574string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Multiply, this.TypeName); 579string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Multiply, this.TypeName); 584string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Multiply, this.TypeName); 589string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Multiply, this.TypeName); 594string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Multiply, this.TypeName); 600string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName, CodeBinaryOperatorType.Divide, this.TypeName); 605string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue, CodeBinaryOperatorType.Divide, this.TypeName); 610string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Divide, this.TypeName); 615string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Divide, this.TypeName); 620string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Divide, this.TypeName); 625string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Divide, this.TypeName); 630string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Divide, this.TypeName); 635string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Divide, this.TypeName); 640string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Divide, this.TypeName); 645string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Divide, this.TypeName); 651string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.m_type, CodeBinaryOperatorType.Modulus, this.TypeName); 656string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue, CodeBinaryOperatorType.Modulus, this.TypeName); 661string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Modulus, this.TypeName); 666string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Modulus, this.TypeName); 671string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Modulus, this.TypeName); 676string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Modulus, this.TypeName); 681string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Modulus, this.TypeName); 686string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Modulus, this.TypeName); 691string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Modulus, this.TypeName); 696string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Modulus, this.TypeName); 702string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.m_type, CodeBinaryOperatorType.BitwiseAnd, this.TypeName); 707string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue, CodeBinaryOperatorType.BitwiseAnd, this.TypeName); 712string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseAnd, this.TypeName); 717string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseAnd, this.TypeName); 722string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseAnd, this.TypeName); 727string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseAnd, this.TypeName); 732string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseAnd, this.TypeName); 737string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseAnd, this.TypeName); 742string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseAnd, this.TypeName); 747string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseAnd, this.TypeName); 752string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseAnd, this.TypeName); 758string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName, CodeBinaryOperatorType.BitwiseOr, this.TypeName); 763string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue, CodeBinaryOperatorType.BitwiseOr, this.TypeName); 768string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseOr, this.TypeName); 773string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseOr, this.TypeName); 778string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseOr, this.TypeName); 783string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseOr, this.TypeName); 788string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseOr, this.TypeName); 793string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseOr, this.TypeName); 798string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseOr, this.TypeName); 803string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseOr, this.TypeName); 808string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.BitwiseOr, this.TypeName); 878return (v + m_value.ToString(CultureInfo.CurrentCulture)); 1190return (v + m_value.ToString(CultureInfo.CurrentCulture)); 1498return (v + m_value.ToString(CultureInfo.CurrentCulture)); 1793return (v + m_value.ToString(CultureInfo.CurrentCulture)); 2087return (v + m_value.ToString(CultureInfo.CurrentCulture)); 2386return (v + m_value.ToString(CultureInfo.CurrentCulture)); 2702return (v + m_value.ToString(CultureInfo.CurrentCulture)); 2917return (v + m_value.ToString(CultureInfo.CurrentCulture)); 3128return (v + m_value.ToString(CultureInfo.CurrentCulture)); 3295return (v + m_value.ToString(CultureInfo.CurrentCulture)); 3356return (v.ToString(CultureInfo.CurrentCulture) + m_value); 3360return (v.ToString(CultureInfo.CurrentCulture) + m_value); 3364return (v.ToString(CultureInfo.CurrentCulture) + m_value); 3368return (v.ToString(CultureInfo.CurrentCulture) + m_value); 3372return (v.ToString(CultureInfo.CurrentCulture) + m_value); 3376return (v.ToString(CultureInfo.CurrentCulture) + m_value); 3380return (v.ToString(CultureInfo.CurrentCulture) + m_value); 3384return (v.ToString(CultureInfo.CurrentCulture) + m_value); 3388return (v.ToString(CultureInfo.CurrentCulture) + m_value); 3392return (v.ToString(CultureInfo.CurrentCulture) + m_value);
Rules\CodeDomDecompiler.cs (1)
481string message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, binaryExpr.Operator.ToString());
Rules\ConditionChanges.cs (2)
199string message = string.Format(CultureInfo.CurrentCulture, Messages.ConditionNameNotIdentical, newConditionDefinition.Name, conditionDefinition.Name); 425string message = string.Format(CultureInfo.CurrentCulture, Messages.ConditionNameNotIdentical, originalRuleSetDefinition.Name, updatedRuleSetDefinition.Name);
Rules\DeclarativeConditionsCollection.cs (2)
60string message = string.Format(CultureInfo.CurrentCulture, Messages.ConditionExists, item.Name); 101string message = string.Format(CultureInfo.CurrentCulture, Messages.InvalidConditionName, "item.Name");
Rules\DeclarativeExpressionConditionDeclaration.cs (9)
166string message = string.Format(CultureInfo.CurrentCulture, Messages.ConditionExpressionNull, typeof(CodePrimitiveExpression).ToString()); 269string message = string.Format(CultureInfo.CurrentCulture, Messages.ConditionValidationFailed, this._condition); 345string message = string.Format(CultureInfo.CurrentCulture, Messages.UnexpectedArgumentType, typeof(RuleConditionReference).FullName, "obj"); 352string message = string.Format(CultureInfo.CurrentCulture, Messages.ContextStackItemMissing, typeof(Activity).Name); 359string message = string.Format(CultureInfo.CurrentCulture, Messages.ContextStackItemMissing, typeof(PropertyValidationContext).Name); 382string message = string.Format(CultureInfo.CurrentCulture, Messages.ConditionNotFound, declarativeCondition.ConditionName); 404string genericErrorMsg = string.Format(CultureInfo.CurrentCulture, Messages.InvalidConditionExpression, expressionPropertyName); 429string message = string.Format(CultureInfo.CurrentCulture, Messages.DuplicateConditions, declarativeCondition.ConditionName); 447string message = string.Format(CultureInfo.CurrentCulture, Messages.InvalidConditionName, "ConditionName");
Rules\Design\Dialogs\ConditionBrowserDialog.cs (1)
122string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(ITypeProvider).FullName);
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
153System.Diagnostics.Trace.WriteLine(string.Format(CultureInfo.CurrentCulture, "KeyCode:{0}, KeyData:{1}, KeyValue:{2}", e.KeyCode, e.KeyData, e.KeyValue));
Rules\Design\Dialogs\RuleConditionDialog.cs (1)
46string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(ITypeProvider).FullName);
Rules\Design\Dialogs\RuleSetDialog.cs (7)
49string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(ITypeProvider).FullName); 158this.priorityTextBox.Text = rule.Priority.ToString(CultureInfo.CurrentCulture); 374rule.Priority = int.Parse(this.priorityTextBox.Text, CultureInfo.CurrentCulture); 436listViewItem.SubItems[1].Text = rule.Priority.ToString(CultureInfo.CurrentCulture); 438listViewItem.SubItems[3].Text = rule.Active.ToString(CultureInfo.CurrentCulture); 519int.TryParse(item1.SubItems[col].Text, NumberStyles.Integer, CultureInfo.CurrentCulture, out val1); 520int.TryParse(item2.SubItems[col].Text, NumberStyles.Integer, CultureInfo.CurrentCulture, out val2);
Rules\Design\LogicalExpressionEditor.cs (2)
53string message = string.Format(CultureInfo.CurrentCulture, Messages.ConditionNotFound, conditionDeclaration.ConditionName); 219string message = string.Format(CultureInfo.CurrentCulture, Messages.RuleSetNotFound, ruleSetReference.RuleSetName);
Rules\Design\LogicalExpressionTypeConverter.cs (8)
28throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(IReferenceService).FullName)); 128string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(ISite).FullName); 253throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Messages.NotARuleConditionReference, "component"), "component"); 268throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Messages.NotARuleConditionReference, "component"), "component"); 277string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(ISite).FullName); 342throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Messages.NotARuleConditionReference, "component"), "component"); 385string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(ISite).FullName); 485string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(ISite).FullName);
Rules\Executor.cs (17)
67string message = string.Format(CultureInfo.CurrentCulture, Messages.TargetEvaluatedNullField, fieldInfo.Name); 81string message = string.Format(CultureInfo.CurrentCulture, Messages.TargetEvaluatedNullField, fieldInfo.Name); 115string message = string.Format(CultureInfo.CurrentCulture, Messages.TargetEvaluatedNullProperty, propertyInfo.Name); 130string message = string.Format(CultureInfo.CurrentCulture, Messages.Error_PropertyGet, 141string message = string.Format(CultureInfo.CurrentCulture, Messages.TargetEvaluatedNullProperty, propertyInfo.Name); 156string message = string.Format(CultureInfo.CurrentCulture, Messages.Error_PropertySet, 215string.Format(CultureInfo.CurrentCulture, Messages.ValidationMismatch, 713string.Format(CultureInfo.CurrentCulture, 733string.Format(CultureInfo.CurrentCulture, 760string.Format(CultureInfo.CurrentCulture, 780string.Format(CultureInfo.CurrentCulture, 803string message = string.Format(CultureInfo.CurrentCulture, Messages.CannotCastNullToValueType, RuleDecompiler.DecompileType(toType)); 879converted = ((IConvertible)c).ToType(resultType, CultureInfo.CurrentCulture); 894converted = ((IConvertible)f).ToType(resultType, CultureInfo.CurrentCulture); 909converted = ((IConvertible)d).ToType(resultType, CultureInfo.CurrentCulture); 924converted = ((IConvertible)d).ToType(resultType, CultureInfo.CurrentCulture); 937converted = convert.ToType(resultType, CultureInfo.CurrentCulture);
Rules\Expressions.cs (91)
49string message = string.Format(CultureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(CodeThisReferenceExpression).ToString()); 118string message = string.Format(CultureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(CodePrimitiveExpression).ToString()); 192message = string.Format(CultureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(CodeBinaryOperatorExpression).ToString()); 203message = string.Format(CultureInfo.CurrentCulture, Messages.NullBinaryOpLHS, binaryExpr.Operator.ToString()); 212message = string.Format(CultureInfo.CurrentCulture, Messages.CodeExpressionNotHandled, binaryExpr.Left.GetType().FullName); 224message = string.Format(CultureInfo.CurrentCulture, Messages.NullBinaryOpRHS, binaryExpr.Operator.ToString()); 233message = string.Format(CultureInfo.CurrentCulture, Messages.CodeExpressionNotHandled, binaryExpr.Right.GetType().FullName); 327message = string.Format(CultureInfo.CurrentCulture, Messages.LogicalOpBadTypeLHS, binaryExpr.Operator.ToString(), 336message = string.Format(CultureInfo.CurrentCulture, Messages.LogicalOpBadTypeRHS, binaryExpr.Operator.ToString(), 347message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, binaryExpr.Operator.ToString()); 483string message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 631message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, operation.ToString()); 637message = string.Format(CultureInfo.CurrentCulture, 658string message = string.Format(CultureInfo.CurrentCulture, Messages.NullBinaryOpLHS, binaryExpr.Operator.ToString()); 665string message = string.Format(CultureInfo.CurrentCulture, Messages.NullBinaryOpRHS, binaryExpr.Operator.ToString()); 730string message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, binaryExpr.Operator.ToString()); 905message = string.Format(CultureInfo.CurrentCulture, Messages.NullFieldTarget, fieldRefExpr.FieldName); 929message = string.Format(CultureInfo.CurrentCulture, Messages.NullFieldTarget, fieldRefExpr.FieldName); 947message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownField, fieldRefExpr.FieldName, RuleDecompiler.DecompileType(targetType)); 957message = string.Format(CultureInfo.CurrentCulture, Messages.CouldNotDetermineMemberType, fieldRefExpr.FieldName); 966message = string.Format(CultureInfo.CurrentCulture, Messages.FieldSetNotAllowed, fieldRefExpr.FieldName, RuleDecompiler.DecompileType(targetType)); 996string message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 1014string message = string.Format(CultureInfo.CurrentCulture, Messages.NullFieldTarget, fieldRefExpr.FieldName); 1060message = string.Format(CultureInfo.CurrentCulture, Messages.NullPropertyTarget, propGetExpr.PropertyName); 1084message = string.Format(CultureInfo.CurrentCulture, Messages.NullPropertyTarget, propGetExpr.PropertyName); 1102message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownProperty, propGetExpr.PropertyName, RuleDecompiler.DecompileType(targetType)); 1112message = string.Format(CultureInfo.CurrentCulture, Messages.CouldNotDetermineMemberType, propGetExpr.PropertyName); 1123message = string.Format(CultureInfo.CurrentCulture, baseMessage, propGetExpr.PropertyName, RuleDecompiler.DecompileType(targetType)); 1168message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 1178message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 1208string message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 1225string message = string.Format(CultureInfo.CurrentCulture, Messages.NullPropertyTarget, propGetExpr.PropertyName); 1276message = string.Format(CultureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(CodeMethodInvokeExpression).ToString()); 1285message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodTarget, invokeExpr.Method.MethodName); 1317message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodTarget, invokeExpr.Method.MethodName); 1334message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodParameter, i.ToString(CultureInfo.CurrentCulture), invokeExpr.Method.MethodName); 1344message = string.Format(CultureInfo.CurrentCulture, Messages.CodeExpressionNotHandled, argExpr.GetType().FullName); 1408message = string.Format(CultureInfo.CurrentCulture, Messages.CouldNotDetermineMemberType, invokeExpr.Method.MethodName); 1458message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 1468message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 1516message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 1526message = string.Format(CultureInfo.CurrentCulture, Messages.TargetEvaluatedNullMethod, invokeExpr.Method.MethodName); 1592Array paramsArray = (Array)arrayType.InvokeMember(arrayType.Name, BindingFlags.CreateInstance, null, null, new object[] { actualArgCount - i }, CultureInfo.CurrentCulture); 1614message = string.Format(CultureInfo.CurrentCulture, Messages.Error_MethodInvoke, 1638string message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodTarget, invokeExpr.Method.MethodName); 1661string message = string.Format(CultureInfo.CurrentCulture, Messages.NullMethodTypeParameter, i.ToString(CultureInfo.CurrentCulture), invokeExpr.Method.MethodName); 1732string message = string.Format(CultureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(CodeDirectionExpression).ToString()); 1750string message = string.Format(CultureInfo.CurrentCulture, Messages.CodeExpressionNotHandled, directionExpr.Expression.GetType().FullName); 1899string message = string.Format(CultureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(CodeTypeReferenceExpression).ToString()); 1995message = string.Format(CultureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(CodeCastExpression).ToString()); 2012message = string.Format(CultureInfo.CurrentCulture, Messages.CodeExpressionNotHandled, castExpr.Expression.GetType().FullName); 2042message = string.Format(CultureInfo.CurrentCulture, Messages.CastOfNullInvalid, RuleDecompiler.DecompileType(toType)); 2088Convert.ChangeType(fromValueDefault, toType2, CultureInfo.CurrentCulture); 2114message = string.Format(CultureInfo.CurrentCulture, Messages.CastIncompatibleTypes, RuleDecompiler.DecompileType(fromType), RuleDecompiler.DecompileType(toType)); 2167message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 2180message = string.Format(CultureInfo.CurrentCulture, Messages.CastIncompatibleTypes, Messages.NullValue, RuleDecompiler.DecompileType(toType)); 2307message = string.Format(CultureInfo.CurrentCulture, Messages.NullIndexerTarget); 2341message = string.Format(CultureInfo.CurrentCulture, Messages.CodeExpressionNotHandled, argExpr.GetType().FullName); 2392message = string.Format(CultureInfo.CurrentCulture, baseMessage, pi.Name, RuleDecompiler.DecompileType(targetType)); 2437message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 2447message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 2491message = string.Format(CultureInfo.CurrentCulture, Messages.ExpressionNotValidated); 2504message = string.Format(CultureInfo.CurrentCulture, Messages.TargetEvaluatedNullIndexer); 2543Array paramsArray = (Array)arrayType.InvokeMember(arrayType.Name, BindingFlags.CreateInstance, null, null, new object[] { actualArgCount - i }, CultureInfo.CurrentCulture); 2567message = string.Format(CultureInfo.CurrentCulture, Messages.NullIndexerTarget); 2575message = string.Format(CultureInfo.CurrentCulture, Messages.MissingIndexExpressions); 2693message = string.Format(CultureInfo.CurrentCulture, Messages.CannotIndexType, RuleDecompiler.DecompileType(targetType)); 2703message = string.Format(CultureInfo.CurrentCulture, Messages.ArrayIndexBadRank, rank); 2735message = string.Format(CultureInfo.CurrentCulture, Messages.CodeExpressionNotHandled, argExpr.GetType().FullName); 2762message = string.Format(CultureInfo.CurrentCulture, Messages.ArrayIndexBadType, RuleDecompiler.DecompileType(argType)); 2816string message = string.Format(CultureInfo.CurrentCulture, Messages.TargetEvaluatedNullIndexer); 2846message = string.Format(CultureInfo.CurrentCulture, Messages.NullIndexerTarget); 2854message = string.Format(CultureInfo.CurrentCulture, Messages.MissingIndexExpressions); 2920message = string.Format(CultureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(CodeObjectCreateExpression).ToString()); 2953message = string.Format(CultureInfo.CurrentCulture, Messages.NullConstructorParameter, i.ToString(CultureInfo.CurrentCulture), RuleDecompiler.DecompileType(resultType)); 2988message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownConstructor, RuleDecompiler.DecompileType(resultType)); 2998message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownConstructor, RuleDecompiler.DecompileType(resultType)); 3120string message = string.Format(CultureInfo.CurrentCulture, 3157string message = string.Format(CultureInfo.CurrentCulture, Messages.NullConstructorTypeParameter, i.ToString(CultureInfo.CurrentCulture), createExpression.CreateType); 3220message = string.Format(CultureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(CodeObjectCreateExpression).ToString()); 3246message = string.Format(CultureInfo.CurrentCulture, Messages.ArrayTypeInvalid, resultType.Name); 3278message = string.Format(CultureInfo.CurrentCulture, Messages.ArraySizeTypeInvalid, sizeInfo.ExpressionType.Name); 3291message = string.Format(CultureInfo.CurrentCulture, Messages.MissingInitializer, resultType.Name); 3315message = string.Format(CultureInfo.CurrentCulture, Messages.InitializerMismatch, i, resultType.Name); 3353message = string.Format(CultureInfo.CurrentCulture, Messages.InitializerCountMismatch, createExpression.Initializers.Count, size); 3456string message = string.Format(CultureInfo.CurrentCulture, Messages.NullConstructorTypeParameter, i.ToString(CultureInfo.CurrentCulture), createExpression.CreateType);
Rules\Helpers.cs (1)
89string message = string.Format(CultureInfo.CurrentCulture, Messages.NotCloneable, original.GetType().FullName);
Rules\Literal.cs (66)
150string.Format(CultureInfo.CurrentCulture, 433string message = string.Format(CultureInfo.CurrentCulture, Messages.RelationalOpBadTypes, comparison.ToString(), 457string message2 = string.Format(CultureInfo.CurrentCulture, Messages.RelationalOpBadTypes, comparison.ToString(), 553message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, op.ToString()); 773message = string.Format(CultureInfo.CurrentCulture, 791message = string.Format(CultureInfo.CurrentCulture, 1025string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1030string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1035string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1040string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1045string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1050string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1055string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1060string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1065string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1070string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1075string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1080string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1085string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1090string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1106string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1111string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1116string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1121string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1126string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1131string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1136string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1141string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1146string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1151string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1156string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1161string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1166string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1171string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1187string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1192string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1197string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1202string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1207string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1212string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1217string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1222string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1227string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1232string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1237string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1242string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1247string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1252string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1268string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1273string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1278string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1283string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1288string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1293string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1298string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1303string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1308string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1313string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1318string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1323string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1328string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 1333string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleComparisonTypes, literalValue.GetType(), m_type); 4984return 0 > string.Compare(m_value, rhs, false, System.Globalization.CultureInfo.CurrentCulture); 4997return 0 < string.Compare(m_value, rhs, false, System.Globalization.CultureInfo.CurrentCulture); 5006return 0 >= string.Compare(m_value, (string)rhs, false, System.Globalization.CultureInfo.CurrentCulture); 5019return 0 <= string.Compare(m_value, rhs, false, System.Globalization.CultureInfo.CurrentCulture);
Rules\Parser\Parser.cs (14)
1119message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_MissingLparenAfterCommand, "UPDATE"); 1588string message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownFieldOrProperty, name, RuleDecompiler.DecompileType(type)); 1615string message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownFieldOrProperty, name, RuleDecompiler.DecompileType(thisType)); 1933string message = string.Format(CultureInfo.CurrentCulture, 2023string message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_UnknownIdentifier, name); 2087string message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_UnknownNamespaceMember, name, nsSym.GetQualifiedName()); 2108message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_MissingTypeArguments, typeSym.Name); 2119message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_NotAGenericType, RuleDecompiler.DecompileType(type)); 2127message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_BadTypeArgCount, RuleDecompiler.DecompileType(type)); 2177string message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_MissingTypeArguments, typeName); 2327string message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_BadTypeArgCount, typeName); 2658Array paramsArgs = (Array)paramType.InvokeMember(paramType.Name, BindingFlags.CreateInstance, null, null, new object[] { numArgs - fixedParameterCount }, CultureInfo.CurrentCulture); 2748message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownMethod, type.Name, RuleDecompiler.DecompileType(type)); 2759message = string.Format(CultureInfo.CurrentCulture, Messages.AmbiguousConstructor, type.Name);
Rules\Parser\Scanner.cs (10)
338message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidCharacter, ch); 353message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidCharacter, ch); 481string message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidEscapeSequence, ch); 602message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidFloatingPointConstant, exception.Message); 615message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidFloatingPointConstant, exception.Message); 628message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidDecimalConstant, exception.Message); 643message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidIntegerConstant, exception.Message); 734string message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidExponentDigit, ch); 818string message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidHexDigit, ch); 840string message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidIntegerConstant, string.Empty);
Rules\Rule.cs (1)
163string prefix = string.Format(CultureInfo.CurrentCulture, Messages.RuleValidationError, name);
Rules\RuleAction.cs (1)
152string message = string.Format(CultureInfo.CurrentCulture, Messages.UpdateUnknownFieldOrProperty, parts[i]);
Rules\RuleAttributes.cs (5)
97message = string.Format(CultureInfo.CurrentCulture, Messages.InvalidRuleAttributeParameter, firstPart, member.Name); 154message = string.Format(CultureInfo.CurrentCulture, Messages.UpdateUnknownFieldOrProperty, parts[i]); 330message = string.Format(CultureInfo.CurrentCulture, Messages.AttributeMethodNotFound, member.Name, this.GetType().Name, Messages.NullValue); 346message = string.Format(CultureInfo.CurrentCulture, Messages.AttributeMethodNotFound, member.Name, this.GetType().Name, methodInvoked); 373message = string.Format(CultureInfo.CurrentCulture, Messages.InvokeAttrRefersToParameterAttribute, mi.Name);
Rules\RuleEngine.cs (1)
35string message = string.Format(CultureInfo.CurrentCulture, Messages.RuleSetValidationFailed, ruleSet.name);
Rules\RuleSetCollection.cs (2)
40string message = string.Format(CultureInfo.CurrentCulture, Messages.RuleSetExists, item.Name); 75string message = string.Format(CultureInfo.CurrentCulture, Messages.InvalidRuleSetName, "item.Name");
Rules\RuleSetReference.cs (6)
102string message = string.Format(CultureInfo.CurrentCulture, Messages.UnexpectedArgumentType, typeof(RuleSetReference).FullName, "obj"); 108string message = string.Format(CultureInfo.CurrentCulture, Messages.ContextStackItemMissing, typeof(Activity).Name); 114string message = string.Format(CultureInfo.CurrentCulture, Messages.ContextStackItemMissing, typeof(PropertyValidationContext).Name); 137string message = string.Format(CultureInfo.CurrentCulture, Messages.RuleSetNotFound, ruleSetReference.RuleSetName); 159string genericErrorMsg = string.Format(CultureInfo.CurrentCulture, Messages.InvalidRuleSetExpression, expressionPropertyName); 205string message = string.Format(CultureInfo.CurrentCulture, Messages.InvalidRuleSetName, "RuleSetReference");
Rules\RuleValidation.cs (32)
744string message = string.Format(CultureInfo.CurrentCulture, Messages.BinaryOpNotSupported, op.ToString()); 1071string message = string.Format(CultureInfo.CurrentCulture, Messages.CyclicalExpression); 1265string message = string.Format(CultureInfo.CurrentCulture, 1366string message2 = string.Format(CultureInfo.CurrentCulture, 1456string message = string.Format(CultureInfo.CurrentCulture, 1608string message2 = string.Format(CultureInfo.CurrentCulture, 1908string message = string.Format(CultureInfo.CurrentCulture, Messages.AssignNotAllowed, Messages.NullValue, RuleDecompiler.DecompileType(lhsType)); 2270System.Convert.ChangeType(primitive.Value, lhsType, CultureInfo.CurrentCulture); 2315message = string.Format(CultureInfo.CurrentCulture, Messages.StaticMember, memberName); 2321message = string.Format(CultureInfo.CurrentCulture, Messages.NonStaticMember, memberName); 2335message = string.Format(CultureInfo.CurrentCulture, Messages.CannotAccessPrivateMember, memberName, RuleDecompiler.DecompileType(targetType)); 2346message = string.Format(CultureInfo.CurrentCulture, Messages.CannotAccessInternalMember, memberName, RuleDecompiler.DecompileType(targetType)); 2529message = string.Format(CultureInfo.CurrentCulture, Messages.MethodDirectionMismatch, argPosition, methodName, dirString); 2540message = string.Format(CultureInfo.CurrentCulture, Messages.MethodArgumentTypeMismatch, argPosition, methodName, RuleDecompiler.DecompileType(argument.type), RuleDecompiler.DecompileType(this.type)); 2552message = string.Format(CultureInfo.CurrentCulture, Messages.MethodArgumentTypeMismatch, argPosition, methodName, RuleDecompiler.DecompileType(argument.type), RuleDecompiler.DecompileType(this.type)); 3136string message = string.Format(CultureInfo.CurrentCulture, Messages.MethodArgCountMismatch, name, numArguments); 3163message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownConstructor, RuleDecompiler.DecompileType(targetType)); 3181message = string.Format(CultureInfo.CurrentCulture, Messages.AmbiguousConstructor, RuleDecompiler.DecompileType(targetType)); 3204message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownMethod, methodName, RuleDecompiler.DecompileType(targetType)); 3222message = string.Format(CultureInfo.CurrentCulture, Messages.AmbiguousMatch, methodName); 3461string message = string.Format(CultureInfo.CurrentCulture, Messages.MethodArgCountMismatch, name, numArguments); 3478string message = string.Format(CultureInfo.CurrentCulture, Messages.MethodOverloadNotFound, methodName); 3506string message = string.Format(CultureInfo.CurrentCulture, Messages.MethodArgCountMismatch, name, numArguments); 3523string message = string.Format(CultureInfo.CurrentCulture, Messages.ConstructorOverloadNotFound); 3547message = string.Format(CultureInfo.CurrentCulture, Messages.IndexerCountMismatch, numArgs); 3561message = string.Format(CultureInfo.CurrentCulture, Messages.IndexerNotFound, RuleDecompiler.DecompileType(targetType)); 3578message = string.Format(CultureInfo.CurrentCulture, Messages.AmbiguousIndexerMatch); 3651string message = string.Format(CultureInfo.CurrentCulture, Messages.IndexerCountMismatch, numArguments); 3668string message = string.Format(CultureInfo.CurrentCulture, Messages.IndexerOverloadNotFound); 3713message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownType, typeRef.BaseType); 3750message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownGenericType, sb.ToString()); 3880string message = string.Format(CultureInfo.CurrentCulture, Messages.Error_TypeNotAuthorized, type.FullName);
Rules\Statements.cs (1)
170message = string.Format(CultureInfo.CurrentCulture, Messages.AssignNotAllowed, RuleDecompiler.DecompileType(expressionType), RuleDecompiler.DecompileType(assignmentType));
Rules\Tracer.cs (2)
35tracePrefix = string.Format(CultureInfo.CurrentCulture, traceRuleIdentifier, name, activityExecutionContext.ContextGuid.ToString()); 37tracePrefix = string.Format(CultureInfo.CurrentCulture, traceRuleHeader, name);
Rules\Walker.cs (3)
127string message = string.Format(CultureInfo.CurrentCulture, Messages.CodeExpressionNotHandled, expression.GetType().FullName); 140CultureInfo.CurrentCulture, Messages.ErrorsCollectionMissing, typeName); 240string message = string.Format(CultureInfo.CurrentCulture, Messages.CodeStatementNotHandled, statement.GetType().FullName);
SR.cs (6)
23System.Diagnostics.Debug.Assert(DescriptionValue != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", description)); 49System.Diagnostics.Debug.Assert(localizedString != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", value)); 71System.Diagnostics.Debug.Assert(DisplayNameValue != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", name)); 112System.Diagnostics.Debug.Assert(res != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", name)); 115return String.Format(CultureInfo.CurrentCulture, res, args); 134System.Diagnostics.Debug.Assert(res != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", name));
WebServiceFault.cs (1)
139throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_PropertyNotSet, FaultProperty.Name));
System.Workflow.ComponentModel (58)
AuthoringOM\Activity.cs (8)
428throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_NoRuntimeAvailable)); 431throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_InvalidInvokingState)); 450throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_NoRuntimeAvailable)); 453throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_InvalidInvokingState)); 1542throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_ActiveChildExist)); 1549throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_ActiveChildContextExist)); 1602+ string.Format(CultureInfo.CurrentCulture, " In instance {0} in activity {1}\n", new object[] { this.WorkflowInstanceId, string.Empty }) 1603+ string.Format(CultureInfo.CurrentCulture, "Inner exception: {0}", new object[] { exception });
AuthoringOM\ActivityExecutionContext.cs (2)
693throw new ArgumentException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_DOIsNotAnActivity)); 696throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_PropertyCanBeOnlyCleared));
AuthoringOM\ActivityExecutionContextCollection.cs (1)
167throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_CannotCompleteContext));
AuthoringOM\ActivityExecutorDelegateInfo.cs (1)
356return "SubscriptionEvent(" + "(" + this.ContextId.ToString(CultureInfo.CurrentCulture) + ")" + this.activityQualifiedName + ", " + this.args.ToString() + ")";
AuthoringOM\ActivityExecutorOperation.cs (1)
159return "ActivityOperation(" + "(" + this.ContextId.ToString(CultureInfo.CurrentCulture) + ")" + this.activityName + ", " + ActivityOperationToString(this.operation) + ")";
AuthoringOM\ActivityStatusChangeEventArgs.cs (1)
67return "ActivityStatusChange('" + "(" + this.stateId.ToString(CultureInfo.CurrentCulture) + ")" + this.activityQualifiedName + "', " + Activity.ActivityExecutionStatusEnumToString(this.ExecutionStatus) + ", " + Activity.ActivityExecutionResultEnumToString(this.ExecutionResult) + ")";
AuthoringOM\Behaviors\ExceptionHandlers.cs (1)
192validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ScopeDuplicateFaultHandlerActivityFor), new object[] { Helpers.GetEnclosingActivity(exceptionHandlers).GetType().Name, catchType.FullName }), ErrorNumbers.Error_ScopeDuplicateFaultHandlerActivityFor));
AuthoringOM\Behaviors\WorkflowTransactionOptions.cs (1)
107throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.GetString(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration"));
AuthoringOM\Compiler\CompileXomlTask.cs (1)
644workflowErrorLogger.LogMessage(string.Format(CultureInfo.CurrentCulture, "\nCompile complete -- {0} errors, {1} warnings \n", new object[] { errorCount, warningCount }));
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (2)
460throw new Exception(TypeSystemSR.GetString(CultureInfo.CurrentCulture, "Error_TypeResolution", name)); 1046return String.Format(CultureInfo.CurrentCulture, res, args);
AuthoringOM\Compiler\XomlCompilerError.cs (3)
99return string.Format(CultureInfo.CurrentCulture, "{0} : {1} {2}: {3}", new object[] { FileName, IsWarning ? "warning" : "error", ErrorNumber, ErrorText }); 101return string.Format(CultureInfo.CurrentCulture, "{0}({1},{2}) : {3} {4}: {5}", new object[] { FileName, this.incrementLineAndColumn ? Line + 1 : Line, this.incrementLineAndColumn ? Column + 1 : Column, IsWarning ? "warning" : "error", ErrorNumber, ErrorText }); 105return string.Format(CultureInfo.CurrentCulture, "{0} {1}: {2}", IsWarning ? "warning" : "error", ErrorNumber, ErrorText);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
52new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_LibraryPath.ToString(CultureInfo.InvariantCulture), string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.LibraryPathIsInvalid), libraryPath));
AuthoringOM\ComponentFactoryHelpers.cs (1)
222message = string.Format(CultureInfo.CurrentCulture, resourceManager.GetString("Error_CantCreateInstanceOfComponent"), new object[] { typeName, message });
AuthoringOM\Design\ActivityDesigner.cs (2)
814this.rulesText += String.Format(CultureInfo.CurrentCulture, "{0}: {1}", ruleName, ruleDescription); 2223verb.Properties["Text"] = (propertyName != null && verb.Enabled) ? string.Format(CultureInfo.CurrentCulture, DR.GetString(DR.BindSelectedPropertyFormat), propertyName) : DR.GetString(DR.BindSelectedProperty);
AuthoringOM\Design\DesignerWidgets.cs (3)
234graphics.DrawString(index.ToString(CultureInfo.CurrentCulture), Control.DefaultFont, SystemBrushes.ControlText, (RectangleF)itemRectangle, format); 3534previewModeDescription += " [" + index.ToString(CultureInfo.CurrentCulture) + "/" + previewedActivities.Count.ToString(CultureInfo.CurrentCulture) + "]";
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (8)
144this.Text = string.Format(CultureInfo.CurrentCulture, ActivityBindDialogTitleFormat, context.PropertyDescriptor.Name); 207this.newMemberHelpTextBox.Lines = string.Format(CultureInfo.CurrentCulture, CreateNewMemberHelpFormat, GetSimpleTypeFullName(this.boundType)).Split(new char[] { '\n' }); 374helpMessage = string.Format(CultureInfo.CurrentCulture, PleaseSelectActivityProperty, desiredType); 383helpMessage = string.Format(CultureInfo.CurrentCulture, PropertyAssignableFormat, memberType, desiredType) + ((memberDescription.Length > 0) ? string.Format(CultureInfo.CurrentCulture, DescriptionFormat, memberDescription) : string.Empty); 385helpMessage = string.Format(CultureInfo.CurrentCulture, PleaseSelectCorrectActivityProperty, desiredType, memberType); 392helpMessage = string.Format(CultureInfo.CurrentCulture, PleaseSelectActivityProperty, desiredType); 1026DesignerHelpers.ShowError(this.parent.serviceProvider, string.Format(CultureInfo.CurrentCulture, this.parent.IncorrectIndexChange, newLabel));
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
661Debug.Assert(false, string.Format(CultureInfo.CurrentCulture, "Could not load type '{0}'", stockTypeName));
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
727errorMessage = string.Format(CultureInfo.CurrentCulture, errorMessage, new object[] { fileDialog.FileName });
AuthoringOM\Design\UITypeEditors.cs (2)
85oldTypeName = typeDescriptorContext.PropertyDescriptor.Converter.ConvertTo(typeDescriptorContext, CultureInfo.CurrentCulture, value, typeof(string)) as string; 96returnVal = typeDescriptorContext.PropertyDescriptor.Converter.ConvertFrom(typeDescriptorContext, CultureInfo.CurrentCulture, dlg.SelectedType.FullName);
AuthoringOM\Design\WorkflowPrinting.cs (2)
245headerFooter = headerFooter.Replace("{#}", headerFooterPrintData.CurrentPage.ToString(CultureInfo.CurrentCulture)); 246headerFooter = headerFooter.Replace("{##}", headerFooterPrintData.TotalPages.ToString(CultureInfo.CurrentCulture));
AuthoringOM\Fault.cs (4)
58throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_PropertyNotSet, FaultProperty.Name)); 63throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_ExceptionTypeNotException, this.FaultType, FaultTypeProperty.Name)); 68throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_FaultIsNotOfFaultType)); 79throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_FaultTypeNoDefaultConstructor, this.FaultType));
AuthoringOM\ScheduleChanges.cs (1)
349throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_DynamicUpdateEvaluation, new object[] { workflowCoreRuntime.InstanceID.ToString() }));
AuthoringOM\SR.cs (6)
22System.Diagnostics.Debug.Assert(DescriptionValue != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", new object[] { description })); 48System.Diagnostics.Debug.Assert(localizedString != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", new object[] { value })); 70System.Diagnostics.Debug.Assert(DisplayNameValue != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", new object[] { name })); 114System.Diagnostics.Debug.Assert(res != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", new object[] { name })); 117return string.Format(CultureInfo.CurrentCulture, res, args); 136System.Diagnostics.Debug.Assert(res != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", new object[] { name }));
Shared\CompModHelpers.cs (2)
551Debug.WriteLine("Error loading install directory: " + error.ToString(CultureInfo.CurrentCulture)); 601Debug.WriteLine("Error loading 3.0 install directory: " + error.ToString(CultureInfo.CurrentCulture));
Shared\XomlSerializationHelpers.cs (2)
119serializationManager.ReportError(new WorkflowMarkupSerializationException(string.Format(CultureInfo.CurrentCulture, resourceManager.GetString("UnknownDefinitionTag"), new object[] { StandardXomlKeys.Definitions_XmlNs_Prefix, reader.LocalName, StandardXomlKeys.Definitions_XmlNs }), (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1)); 150serializationManager.ReportError(new WorkflowMarkupSerializationException(string.Format(CultureInfo.CurrentCulture, resourceManager.GetString("UnknownDefinitionTag"), StandardXomlKeys.Definitions_XmlNs_Prefix, reader.LocalName, StandardXomlKeys.Definitions_XmlNs), (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1));
System.Workflow.Runtime (82)
CorrelationToken.cs (1)
113throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CorrelationAlreadyInitialized, this.Name));
DebugEngine\DebugController.cs (7)
303Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugController.Attach(): programId = {0}", programId)); 364Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugController.Detach():")); 434Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugController.AttachTimerCallback():")); 462Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugController.OnDomainUnload():")); 586Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: Failure in DebugController.AttachToConduit: {0}, Call stack:{1}", e.Message, e.StackTrace)); 597Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugController.ServiceContainerStarted():")); 619Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugController.ServiceContainerStopped():"));
DebugEngine\DebugControllerThread.cs (5)
40Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugControllerThread.DebugControllerThread():")); 51Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugControllerThread.StopThread():")); 94Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugControllerThread.ControllerThreadFunction():")); 174Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugControllerThread.ExpressionEvaluationFunction(): ThreadAbortException")); 181Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugControllerThread.ExpressionEvaluationFunction(): other exception"));
Hosting\DbResourceAllocator.cs (2)
127throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 372String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidTransaction));
Hosting\DefaultWorkflowSchedulerService.cs (1)
73if (!int.TryParse(p, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.CurrentCulture, out maxSimultaneousWorkflows))
Hosting\ManualWorkflowSchedulerService.cs (5)
108throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 130throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 132throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "timerId")); 144throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "timerId")); 247throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId"));
Hosting\PersistenceException.cs (1)
18public PersistenceException() : base(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.PersistenceException)) { }
Hosting\SqlWorkflowPersistenceService.cs (4)
761int seconds = Convert.ToInt32(parameters[SqlWorkflowPersistenceService.InstanceOwnershipTimeoutSecondsToken], System.Globalization.CultureInfo.CurrentCulture); 774int interval = int.Parse(parameters[key], CultureInfo.CurrentCulture); 1040throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.WorkflowRuntimeNotStarted)); 1088throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.WorkflowRuntimeNotStarted));
Hosting\WorkflowRuntimeService.cs (4)
67throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceNotAddedToRuntime, this.GetType().Name)); 69throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceAlreadyStarted, this.GetType().Name)); 77throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceNotAddedToRuntime, this.GetType().Name)); 79throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceNotStarted, this.GetType().Name));
PerformanceCounterManager.cs (1)
356throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "sender", typeof(WorkflowExecutor).ToString()));
Scheduler.cs (1)
153throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidActivityName, item.ActivityId));
System\Activities\Statements\Interop.cs (9)
252throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropArgumentDirectionMismatch, propertyInName, propertyOutName)); 290metadata.AddValidationError(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropBodyNotSet, this.DisplayName)); 297metadata.AddValidationError(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropWrongBody, this.DisplayName)); 303metadata.AddValidationError(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropBodyMustHavePublicDefaultConstructor, this.DisplayName)); 311metadata.AddValidationError(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.AttemptToBindUnknownProperties, this.DisplayName, this.extraDynamicArguments.First())); 350throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropWorkflowRuntimeServiceNotSupported)); 505throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MetaPropertyDoesNotExist, name, this.ActivityType.FullName)); 1139string message = string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropBodyRootLevelViolation, activity.DisplayName, validationEnum.ToString() + "Activity"); 1150string message = string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropBodyNestedViolation, activity.DisplayName, validationEnum.ToString() + "Activity");
System\Activities\Statements\InteropExecutor.cs (9)
495string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropExceptionTraceMessage, 520string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropExceptionTraceMessage, 618throw new NotImplementedException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropNonSupportedBehavior, this.ServiceProvider.Activity.DisplayName)); 623throw new NotImplementedException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropNonSupportedBehavior, this.ServiceProvider.Activity.DisplayName)); 628throw new NotImplementedException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropNonSupportedBehavior, this.ServiceProvider.Activity.DisplayName)); 740throw new NotImplementedException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropNonSupportedBehavior, this.ServiceProvider.Activity.DisplayName)); 745throw new NotImplementedException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropNonSupportedBehavior, this.ServiceProvider.Activity.DisplayName)); 831throw new NotImplementedException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropNonSupportedBehavior, this.ServiceProvider.Activity.DisplayName)); 836throw new NotImplementedException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropNonSupportedBehavior, this.ServiceProvider.Activity.DisplayName));
Tracking.cs (1)
1620throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.CurrentCulture, ExecutionStringManager.NullProfileForChannel, this._scheduleType.AssemblyQualifiedName));
Tracking\SqlTrackingWorkflowInstance.cs (2)
223throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.CurrentCulture, ExecutionStringManager.SqlTrackingTypeNotFound, qId)); 370throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.CurrentCulture, ExecutionStringManager.SqlTrackingTypeNotFound, qId));
WorkflowDefinitionDispenser.cs (1)
261throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.WorkflowTypeMismatch, workflowType.FullName));
WorkflowExecutor.cs (7)
382throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.SemanticErrorInvalidNamedParameter, ((Activity)this.WorkflowDefinition).Name, arg)); 565throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CannotStartInstanceTwice, this.InstanceId)); 1446string errMsg = String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceService, this.InstanceId); 1566string errMsg = String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceService, this.InstanceId); 2978string errMsg = String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceService, this.InstanceId); 3028throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceServiceWithPersistOnClose, activity.Name)); 3146throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "dependencyObject", typeof(Activity).ToString()));
WorkflowInstance.cs (2)
33throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "instanceId")); 209throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceService, this.InstanceId));
WorkflowQueuingService.cs (10)
182throw new QueueException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.QueueNotEnabled, queueName), MessageQueueErrorCode.QueueNotAvailable); 214throw new QueueException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.QueueNotEnabled, queueName), MessageQueueErrorCode.QueueNotAvailable); 251string message = string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.EventQueueException, args); 274string message = string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.EventQueueException, args); 403string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.QueueBusyException, new object[] { queueName }); 420string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.EventQueueException, args); 444string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.EventQueueException, args); 486string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.QueueBusyException, new object[] { mergeItem.Key }); 637string message = string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.EventQueueException, msgArgs); 654string message = string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.EventQueueException, msgArgs);
WorkflowRuntime.cs (9)
157throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 255throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CantBeEmptyGuid, "instanceId")); 595string errMsg = String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceService, instanceId); 1091throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 1131CultureInfo.CurrentCulture, 1137CultureInfo.CurrentCulture, ExecutionStringManager.InvalidWorkflowRuntimeConfiguration, 1142CultureInfo.CurrentCulture, ExecutionStringManager.InvalidWorkflowRuntimeConfiguration, 1147CultureInfo.CurrentCulture, ExecutionStringManager.InvalidWorkflowRuntimeConfiguration, 1189throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "sender", typeof(WorkflowExecutor).ToString()));
System.WorkflowServices (6)
SR.cs (2)
44Fx.Assert(DescriptionValue != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", new object[] { description })); 73Fx.Assert(localizedString != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", new object[] { value }));
System\ServiceModel\Dispatcher\DurableDispatcherAddressingFault.cs (1)
20faultReason = new FaultReason(new FaultReasonText(SR2.GetString(SR2.CurrentOperationCannotCreateInstance), CultureInfo.CurrentCulture));
System\ServiceModel\Dispatcher\WorkflowOperationFault.cs (2)
24faultReason = new FaultReason(new FaultReasonText(SR2.GetString(SR2.OperationNotAvailable), CultureInfo.CurrentCulture)); 29faultReason = new FaultReason(new FaultReasonText(SR2.GetString(SR2.OperationNotImplemented), CultureInfo.CurrentCulture));
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (1)
119Convert.ToInt32(parameters[ChannelManagerService.MaxIdleChannelsPerEndpointSetting], System.Globalization.CultureInfo.CurrentCulture);
System.Xml (2)
System\Xml\Serialization\CodeIdentifiers.cs (2)
16public CaseInsensitiveKeyComparer() : base(CultureInfo.CurrentCulture) { 28return s.ToUpper(CultureInfo.CurrentCulture).GetHashCode();
UIAutomationClientsideProviders (18)
MS\Internal\AutomationProxies\Accessible.cs (4)
1226Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Unexpected exception thrown for AccessibleChildren: {0}", e)); 1234Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Unexpected hresult from AccessibleChildren: {0} count is {1} and actualCount is {2}", hr, count, actualCount)); 1438Debug.Assert(false, string.Format(CultureInfo.CurrentCulture, "MsaaNativeProvider: IAccessible threw a COMException: {0}", e.Message)); 1460Debug.Assert(false, string.Format(CultureInfo.CurrentCulture, "Unexpected IAccessible exception: {0}", e));
MS\Internal\AutomationProxies\EventManager.cs (1)
133System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Unexpected idProp {0} for idOject 0x{1:x8} on element {2} for event {3}", idProp, idObject, el, eventId));
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (2)
161Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "ERROR: AdviseEventRemoved called for {0} and event/property {1} without matching AdviseEventAdded.", hwnd, key), "NativeMsaaProxy"); 167Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "ERROR: AdviseEventRemoved called for {0} without matching AdviseEventAdded.", hwnd), "NativeMsaaProxy");
MS\Internal\AutomationProxies\NonClientArea.cs (1)
116System.Diagnostics.Debug.Assert(idChild == 0, string.Format(CultureInfo.CurrentCulture, "Invalid Child Id, idChild == {2}\n\rClassName: \"{0}\"\n\rhwnd = 0x{1:x8}", Misc.ProxyGetClassName(hwnd), hwnd.ToInt32(), idChild));
MS\Internal\AutomationProxies\WindowsIPAddress.cs (3)
326_sAutomationId = "Octet " + position.ToString(CultureInfo.CurrentCulture); // This string is a non-localizable string 398Misc.ProxySendMessage(_hwnd, NativeMethods.WM_SETTEXT, IntPtr.Zero, new StringBuilder(i.ToString(CultureInfo.CurrentCulture))); 411return double.Parse(s, CultureInfo.CurrentCulture);
MS\Internal\AutomationProxies\WindowsMenu.cs (5)
2470return string.Format(CultureInfo.CurrentCulture, "{0}{1}{2}", sCanonicalsKeyword, menuText.Substring(pos + cKeyChars + 1, cMenuChars - (pos + cKeyChars + 2)), Char.ToUpper(menuText[cMenuChars - 1], CultureInfo.InvariantCulture)); 2501return "F" + iKey.ToString(CultureInfo.CurrentCulture); 2527itemId = "Item " + result.ToString(CultureInfo.CurrentCulture); 2534itemId = "Item " + (_item + 1).ToString(CultureInfo.CurrentCulture); 2878_sAutomationId = "Item " + (item).ToString(CultureInfo.CurrentCulture);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
440_sAutomationId = "StatusBar.Pane" + item.ToString(CultureInfo.CurrentCulture); // This string is a non-localizable string
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
643itemId = "Item " + tbb.idCommand.ToString(CultureInfo.CurrentCulture);
WindowsBase (1)
Shared\MS\Win32\NativeMethodsCLR.cs (1)
75return String.Format(System.Globalization.CultureInfo.CurrentCulture,"[{0}, {1}, {2}, {3}, {4}, {5}]", this.eM11, this.eM12, this.eM21, this.eM22, this.eDx, this.eDy );