110 instantiations of CultureInfo
ComSvcConfig (1)
Tool.cs (1)
907Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
mscorlib (21)
system\globalization\culturedata.cs (3)
1023cultures[i] = new CultureInfo(cultureNames[i]); 1029cultures[cultureNames.Length] = new CultureInfo("zh-CHS"); 1030cultures[cultureNames.Length + 1] = new CultureInfo("zh-CHT");
system\globalization\cultureinfo.cs (9)
191CultureInfo temp = new CultureInfo("", false); 378return new CultureInfo(cultureData); 606return userOverride ? new CultureInfo(name) : CultureInfo.GetCultureInfo(name); 630culture = new CultureInfo(name); 642culture = new CultureInfo(name.Substring(0, idx)); 662return (new CultureInfo(culture.m_cultureData.SSPECIFICCULTURE)); 1810retval = new CultureInfo(name, altName); 1814retval = new CultureInfo(name, false); 1819retval = new CultureInfo(lcid, false);
system\globalization\datetimeformatinfo.cs (2)
2388temp = new CultureInfo("ja-JP", false).DateTimeFormat; 2405temp = new CultureInfo("zh-TW", false).DateTimeFormat;
system\globalization\japanesecalendar.cs (1)
354new CultureInfo("ja-JP");
system\globalization\koreancalendar.cs (1)
102new CultureInfo("ko-KR");
system\globalization\taiwancalendar.cs (1)
99new CultureInfo("zh-TW");
system\reflection\assembly.cs (1)
2578return new CultureInfo(locale);
system\reflection\assemblyname.cs (2)
104_CultureInfo = (value == null) ? null : new CultureInfo(value); 354_CultureInfo = new CultureInfo(lcid);
system\reflection\emit\assemblybuilderdata.cs (1)
251CultureInfo culture = new CultureInfo(m_CABuilders[i].m_constructorArgs[0].ToString());
PresentationBuildTasks (1)
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (1)
202cl = new CultureInfo(name);
PresentationCore (13)
Core\CSharp\MS\Internal\FontCache\FontFaceLayoutInfo.cs (4)
1086new MajorLanguageDesc(new CultureInfo("en"), ScriptTags.Latin, LanguageTags.English), // English neutral culture 1087new MajorLanguageDesc(new CultureInfo("de"), ScriptTags.Latin, LanguageTags.German), // German neutral culture 1088new MajorLanguageDesc(new CultureInfo("ja"), ScriptTags.CJKIdeographic, LanguageTags.Japanese), // Japanese neutral culture 1089new MajorLanguageDesc(new CultureInfo("ja"), ScriptTags.Hiragana, LanguageTags.Japanese) // Japanese neutral culture
Core\CSharp\MS\Internal\Resources\ResourceManagerWrapper.cs (1)
204ciNeutral = new CultureInfo(neutralLangAttr.CultureName);
Core\CSharp\System\Windows\Input\InputLanguageManager.cs (1)
299return new CultureInfo((short)NativeMethods.IntPtrToInt32(hkl));
Core\CSharp\System\Windows\Input\InputLanguageSource.cs (5)
118return new CultureInfo(_CurrentInputLanguage); 161return InputLanguageManager.Current.ReportInputLanguageChanging(new CultureInfo(langid), new CultureInfo(_langid)); 182InputLanguageManager.Current.ReportInputLanguageChanged(new CultureInfo(langid), new CultureInfo(prevlangid));
Core\CSharp\System\Windows\Input\InputProcessorProfiles.cs (1)
195arrayLang.Add(new CultureInfo(langid));
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
238asmName.CultureInfo = new CultureInfo(String.Empty);
PresentationFramework (15)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
875CultureInfo cultureInfo = new CultureInfo(languageString);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (10)
65new CultureInfo("zh-HANS"), // Chinese Simplified 66new CultureInfo("zh-HANT"), // Chinese Traditional 67new CultureInfo("zh-HK"), // Chinese Hong Kong SAR 68new CultureInfo("zh-MO"), // Chinese Macau SAR 69new CultureInfo("zh-CN"), // Chinese China 70new CultureInfo("zh-SG"), // Chinese Singapore 71new CultureInfo("zh-TW"), // Chinese `Taiwan 72new CultureInfo("ja-JP"), // Japanese 73new CultureInfo("ko-KR"), // Korean 74new CultureInfo("th-TH") // Thai
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
4949CultureInfo ci = new CultureInfo((int)fsThis.LangCur);
src\Framework\System\windows\Documents\TextSelection.cs (1)
1710CultureInfo cultureInfo = new CultureInfo((short)keyboardList[keyboardListIndex]);
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
677result = new CultureInfo(lcid);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
3299CultureInfo ci = new CultureInfo(valueString);
System (11)
compmod\system\componentmodel\CultureInfoConverter.cs (1)
124retVal = new CultureInfo(text);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (9)
254PerformanceCounterLib library = GetPerformanceCounterLib(machine, new CultureInfo(EnglishLCID)); 308PerformanceCounterLib library = GetPerformanceCounterLib(machine, new CultureInfo(EnglishLCID)); 693library = GetPerformanceCounterLib(machineName, new CultureInfo(EnglishLCID)); 724library = GetPerformanceCounterLib(machine, new CultureInfo(EnglishLCID)); 742PerformanceCounterLib library = GetPerformanceCounterLib(machine, new CultureInfo(EnglishLCID)); 775PerformanceCounterLib library = GetPerformanceCounterLib(machine, new CultureInfo(EnglishLCID)); 846library = GetPerformanceCounterLib(machine, new CultureInfo(EnglishLCID)); 1047PerformanceCounterLib library = GetPerformanceCounterLib(machine, new CultureInfo(EnglishLCID)); 1081PerformanceCounterLib library = GetPerformanceCounterLib(machine, new CultureInfo(EnglishLCID));
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
751library = PerformanceCounterLib.GetPerformanceCounterLib(machineName, new CultureInfo(0x009));
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartConnectionPointsAdorner.cs (2)
68FormattedText trueMarkerFormattedText = new FormattedText(trueLabelText, new System.Globalization.CultureInfo(textCulture), 99FormattedText falseMarkerFormattedText = new FormattedText(falseLabelText, new System.Globalization.CultureInfo(textCulture),
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
163_xamlCultureInfo = new CultureInfo("en-us", false);
System.Data (14)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
163_xamlCultureInfo = new CultureInfo("en-us", false);
fx\src\data\System\Data\DataSet.cs (1)
433_culture = new CultureInfo(lcid);
fx\src\data\System\Data\DataTable.cs (1)
400CultureInfo culture = new CultureInfo(lcid);
fx\src\data\System\Data\Odbc\OdbcParameter.cs (2)
647CultureInfo culInfo = new CultureInfo(lcid); 850CultureInfo culInfo = new CultureInfo(lcid);
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
3733ci = new CultureInfo(cultureId); 3742ci = new CultureInfo(0x427);
fx\src\data\System\Data\SQLTypes\SQLString.cs (2)
148CultureInfo culInfo = new CultureInfo(m_lcid); 381CultureInfo culInfo = new CultureInfo(m_lcid);
fx\src\data\System\Data\XMLSchema.cs (5)
64propValue = new CultureInfo(value); 272propValue = new CultureInfo(value); 1385table.Locale = new CultureInfo(value); 2224_ds.Locale = new CultureInfo(value); 2238_ds.SetLocaleValue(new CultureInfo(0x409), false);
System.Data.Entity.Design (1)
System\Data\Entity\Design\PluralizationService\EnglishPluralizationService.cs (1)
262this.Culture = new CultureInfo("en");
System.Data.SqlXml (11)
System\Xml\Xsl\Runtime\XmlCollation.cs (9)
168cultInfo = new CultureInfo(lang); 248cultInfo = new CultureInfo(zhTWbopo); 253cultInfo = new CultureInfo(MakeLCID(cultInfo.LCID, /*Stroke*/ 0x02)); 258cultInfo = new CultureInfo(MakeLCID(cultInfo.LCID, /*Unicode*/ 0x01)); 263cultInfo = new CultureInfo(deDEphon); 268cultInfo = new CultureInfo(huHUtech); 274cultInfo = new CultureInfo(kaGEmode); 326Debug.Assert(this.cultInfo == null || this.cultInfo.Equals(new CultureInfo(this.cultInfo.LCID)), 334this.cultInfo = (lcid != LOCALE_CURRENT) ? new CultureInfo(lcid) : null;
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
507return new CultureInfo(lang);
System\Xml\Xsl\Runtime\XsltLibrary.cs (1)
236lcid = new CultureInfo(lang).LCID;
System.Management (2)
WmiGenerator.cs (2)
4964assemblyName.CultureInfo = new CultureInfo(""); 4986assemblyName.CultureInfo = new CultureInfo("");
System.Web (5)
Configuration\GlobalizationSection.cs (2)
251CultureInfo dummyCultureInfo = new CultureInfo(configCulture.Substring(5)); 255new CultureInfo(configCulture);
Handlers\AssemblyResourceLoader.cs (1)
557realName.CultureInfo = new CultureInfo(cultureString);
httpserverutility.cs (2)
170_cultureCache[name] = CultureInfo.ReadOnly(new CultureInfo(name)); 200_cultureCache[culture] = CultureInfo.ReadOnly(new CultureInfo(culture));
System.Web.Extensions (3)
Handlers\ScriptResourceHandler.cs (3)
141new CultureInfo(cultureString) : 409String.IsNullOrEmpty(cultureName) ? CultureInfo.InvariantCulture : new CultureInfo(cultureName), 484String.IsNullOrEmpty(cultureName) ? CultureInfo.InvariantCulture : new CultureInfo(cultureName),
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Application.cs (1)
3106culture = new CultureInfo(SafeNativeMethods.GetThreadLocale());
winforms\Managed\System\WinForms\InputLanguage.cs (1)
53return new CultureInfo((int)handle & 0xFFFF);
System.Workflow.Activities (1)
Common\TypeSystemHelpers.cs (1)
229thatCulture = new CultureInfo(partValue);
System.Workflow.ComponentModel (1)
Shared\TypeSystemHelpers.cs (1)
228thatCulture = new CultureInfo(partValue);
System.Xml (1)
System\Xml\XPath\Internal\CompiledXPathExpr.cs (1)
137this.cinfo = new CultureInfo(lang);
UIAutomationClient (1)
MS\Internal\Automation\Schema.cs (1)
189return new CultureInfo((int)value);
WindowsBase (1)
Base\MS\Internal\PlatformCulture.cs (1)
39return new CultureInfo(uiLanguage);
WsatConfig (1)
CommandLine\ConsoleEntryPoint.cs (1)
261Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\AttributeData.cs (1)
19static CultureInfo invariantEnglishUS = CultureInfo.ReadOnly(new CultureInfo("en-us", false));
10912 references to CultureInfo
ComSvcConfig (27)
ComplusTypeValidator.cs (8)
37object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture); 42asm = typeOfInterfaceResolver.InvokeMember("ResolveAssemblyFromIID", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Assembly; 94object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture); 99typeOfInterface = typeOfInterfaceResolver.InvokeMember("VerifyType", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Type; 170object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture); 175typeOfInterface = typeOfInterfaceResolver.InvokeMember("VerifyType", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Type; 220object resolver = typeOfInterfaceResolver.InvokeMember("Provider", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.GetProperty, null, null, null, CultureInfo.InvariantCulture); 225typeOfInterface = typeOfInterfaceResolver.InvokeMember("VerifyType", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Type;
parent\svcutil\CommandLineParser.cs (15)
29this.name = (name.Substring(1)).ToLower(CultureInfo.InvariantCulture); 31this.name = name.ToLower(CultureInfo.InvariantCulture); 33this.abbreviation = (abbreviation.Substring(1)).ToLower(CultureInfo.InvariantCulture); 35this.abbreviation = abbreviation.ToLower(CultureInfo.InvariantCulture); 64temp = (other.Substring(1)).ToLower(CultureInfo.InvariantCulture); 66temp = other.ToLower(CultureInfo.InvariantCulture); 111if (contents.TryGetValue(key.ToLower(CultureInfo.InvariantCulture), out values)) 128if (!contents.TryGetValue(key.ToLower(CultureInfo.InvariantCulture), out result)) 135return contents.ContainsKey(key.ToLower(CultureInfo.InvariantCulture)); 140contents.Add(key.ToLower(CultureInfo.InvariantCulture), values); 202argSwitch = CommandSwitch.FindSwitch(arg.ToLower(CultureInfo.InvariantCulture), switches); 204throw new ArgumentException(SR.GetString(SR.ErrUnknownSwitch, arg.ToLower(CultureInfo.InvariantCulture))); 211throw new ArgumentException(SR.GetString(SR.ErrUnexpectedValue, arg.ToLower(CultureInfo.InvariantCulture))); 216throw new ArgumentException(SR.GetString(SR.ErrExpectedValue, arg.ToLower(CultureInfo.InvariantCulture))); 223throw new ArgumentException(SR.GetString(SR.ErrSingleUseSwitch, arg.ToLower(CultureInfo.InvariantCulture)));
SvcFileManager.cs (3)
185while (File.Exists(fileName + "." + count.ToString(CultureInfo.InvariantCulture) + ".svc")) 190fileName = fileName + "." + count.ToString(CultureInfo.InvariantCulture); 218null, null, new object[1] { serviceText }, CultureInfo.InvariantCulture);
Tool.cs (1)
902Thread.CurrentThread.CurrentUICulture = CultureInfo.CurrentUICulture.GetConsoleFallbackUICulture();
Microsoft.Activities.Build (3)
Microsoft\Activities\Build\BeforeInitializeComponentExtension.cs (3)
60string codeFileName = string.Format(CultureInfo.InvariantCulture, "{0}_{1}_{2}.{3}", classData.Namespace, classData.Name, FileNameSuffix, codeDomProvider.FileExtension); 87helperClassName = string.Format(CultureInfo.InvariantCulture, "{0}.{1}", buildContext.RootNamespace, classData.HelperClassFullName); 139builder.Append(string.Format(CultureInfo.InvariantCulture, "{0}_{1}.{2}", classData.Name, FileNameSuffix, "txt"));
mscorlib (1120)
microsoft\win32\oavariantlib.cs (2)
24using CultureInfo = System.Globalization.CultureInfo; 79internal static Variant ChangeType(Variant source, Type targetClass, short options, CultureInfo culture)
microsoft\win32\registry.cs (2)
102basekeyName = keyName.Substring(0, i).ToUpper(System.Globalization.CultureInfo.InvariantCulture); 105basekeyName = keyName.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
microsoft\win32\registrykey.cs (2)
1559int data = Convert.ToInt32(value, System.Globalization.CultureInfo.InvariantCulture); 1572long data = Convert.ToInt64(value, System.Globalization.CultureInfo.InvariantCulture);
system\activator.cs (13)
25using CultureInfo = System.Globalization.CultureInfo; 59CultureInfo culture) 70CultureInfo culture, 261CultureInfo culture, 286CultureInfo culture, 309CultureInfo culture, 375CultureInfo culture, 406CultureInfo culture, 428CultureInfo culture, 481CultureInfo culture, 506CultureInfo culture, 552CultureInfo culture, 579CultureInfo culture,
system\AggregateException.cs (1)
449CultureInfo.InvariantCulture,
system\appdomain.cs (11)
48using CultureInfo = System.Globalization.CultureInfo; 1675CultureInfo culture, 1713CultureInfo culture, 1741CultureInfo culture, 1764CultureInfo culture, 1800CultureInfo culture, 1827CultureInfo culture, 4549CultureInfo culture, 4570CultureInfo culture, 4632CultureInfo culture, 4655CultureInfo culture,
system\char.cs (6)
372public static char ToUpper(char c, CultureInfo culture) { 387return ToUpper(c, CultureInfo.CurrentCulture); 393return ToUpper(c, CultureInfo.InvariantCulture); 401public static char ToLower(char c, CultureInfo culture) { 415return ToLower(c, CultureInfo.CurrentCulture); 421return ToLower(c, CultureInfo.InvariantCulture);
system\collections\caseinsensitivecomparer.cs (4)
29m_compareInfo = CultureInfo.CurrentCulture.CompareInfo; 32public CaseInsensitiveComparer(CultureInfo culture) { 46return new CaseInsensitiveComparer(CultureInfo.CurrentCulture); 57m_InvariantCaseInsensitiveComparer = new CaseInsensitiveComparer(CultureInfo.InvariantCulture);
system\collections\caseinsensitivehashcodeprovider.cs (4)
35m_text = CultureInfo.CurrentCulture.TextInfo; 38public CaseInsensitiveHashCodeProvider(CultureInfo culture) { 52return new CaseInsensitiveHashCodeProvider(CultureInfo.CurrentCulture); 63m_InvariantCaseInsensitiveHashCodeProvider = new CaseInsensitiveHashCodeProvider(CultureInfo.InvariantCulture);
system\collections\comparer.cs (3)
30public static readonly Comparer Default = new Comparer(CultureInfo.CurrentCulture); 31public static readonly Comparer DefaultInvariant = new Comparer(CultureInfo.InvariantCulture); 39public Comparer(CultureInfo culture) {
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 (5)
19using CultureInfo = System.Globalization.CultureInfo; 388serializedTicks = Convert.ToInt64(enumerator.Value, CultureInfo.InvariantCulture); 392serializedDateData = Convert.ToUInt64(enumerator.Value, CultureInfo.InvariantCulture); 1538return (GetDateTimeFormats(CultureInfo.CurrentCulture)); 1557return (GetDateTimeFormats(format, CultureInfo.CurrentCulture));
system\defaultbinder.cs (4)
19using CultureInfo = System.Globalization.CultureInfo; 40ParameterModifier[] modifiers, CultureInfo cultureInfo, String[] names, out Object state) 442public override FieldInfo BindToField(BindingFlags bindingAttr,FieldInfo[] match, Object value,CultureInfo cultureInfo) 706public override Object ChangeType(Object value,Type type,CultureInfo cultureInfo)
system\diagnostics\eventing\eventprovider.cs (1)
541string valueName = "ControllerData_Session_" + etwSessionId.ToString(CultureInfo.InvariantCulture);
system\diagnostics\eventing\eventsource.cs (23)
2722commandArgs.Arguments["EtwSessionKeyword"] = (commandArgs.perEventSourceSessionId + SessionMask.SHIFT_SESSION_TO_KEYWORD).ToString(CultureInfo.InvariantCulture); 3511string msg = manifest.GetLocalizedMessage(eventKey, CultureInfo.CurrentUICulture, etwFormat: false); 4031WriteStringToListener(listener, string.Format(CultureInfo.InvariantCulture, "Session {0}: {1} = {2}", perEventSourceSessionId, t.Item1, t.Item2), m); 4037WriteStringToListener(listener, string.Format(CultureInfo.InvariantCulture, "Session {0}: Activity Sampling support: {1}", 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))); 6438sb.Append(" <map value=\"0x").Append(hexValue.ToString("x", CultureInfo.InvariantCulture)).Append("\""); 6470sb.Append(" mask=\"0x").Append(keyword.ToString("x", CultureInfo.InvariantCulture)).Append("\"/>").AppendLine(); 6499List<CultureInfo> cultures = null; 6506cultures = new List<CultureInfo>(); 6507cultures.Add(CultureInfo.CurrentUICulture); 6522foreach (var ci in cultures) 6553string localizedString = resources.GetString(key, CultureInfo.InvariantCulture); 6570internal string GetLocalizedMessage(string key, CultureInfo ci, bool etwFormat) 6599private static List<CultureInfo> GetSupportedCultures(ResourceManager resources) 6601var cultures = new List<CultureInfo>(); 6603foreach (CultureInfo ci in CultureInfo.GetCultures(CultureTypes.SpecificCultures /*| CultureTypes.NeutralCultures*/)) 6609if (!cultures.Contains(CultureInfo.CurrentUICulture)) 6610cultures.Insert(0, CultureInfo.CurrentUICulture); 6643eventMessage = resources.GetString("event_" + eventName, CultureInfo.InvariantCulture); 6714ManifestError(Environment.GetResourceString("EventSource_UndefinedKeyword", "0x" + bit.ToString("x", CultureInfo.CurrentCulture), eventName), true);
system\diagnostics\stacktrace.cs (2)
664sb.AppendFormat(CultureInfo.InvariantCulture, " {0} ", word_At); 747sb.AppendFormat(CultureInfo.InvariantCulture, inFileLineNum, fileName, sf.GetFileLineNumber());
system\enum.cs (16)
222result = (UInt64)Convert.ToInt64(value, CultureInfo.InvariantCulture); 231result = Convert.ToUInt64(value, CultureInfo.InvariantCulture); 402temp = Convert.ChangeType(value, underlyingType, CultureInfo.InvariantCulture); 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 (5)
85public CultureInfo m_culture; 89public GetResourceStringUserData(ResourceHelper resourceHelper, String key, CultureInfo culture) 108internal String GetResourceString(String key, CultureInfo culture) { 152CultureInfo culture = userData.m_culture; 1333return String.Format(CultureInfo.CurrentCulture, s, values);
system\exception.cs (1)
525si.AddValue("MemberType", (int)Int32.Parse(args[0], CultureInfo.InvariantCulture), typeof(Int32));
system\FormattableString.cs (2)
74return formattable.ToString(Globalization.CultureInfo.InvariantCulture); 79return ToString(Globalization.CultureInfo.CurrentCulture);
system\gc.cs (2)
437CultureInfo.CurrentCulture, 447CultureInfo.CurrentCulture,
system\globalization\calendar.cs (2)
249String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Argument_ResultCalendarRange"), 841CultureInfo.InvariantCulture,
system\globalization\calendardata.cs (3)
163if (CultureInfo.IsTaiwanSku) 250if (CultureInfo.IsTaiwanSku) 364return CultureInfo.GetCultureInfo(culture).m_cultureData.GetCalendar(calendarId);
system\globalization\chineselunisolarcalendar.cs (2)
321CultureInfo.CurrentCulture, 342CultureInfo.CurrentCulture,
system\globalization\compareinfo.cs (9)
120internal CompareInfo(CultureInfo culture) 203return CultureInfo.GetCultureInfo(culture).CompareInfo; 224return CultureInfo.GetCultureInfo(name).CompareInfo; 245CompareInfo c = CultureInfo.InvariantCulture.CompareInfo; 268CultureInfo ci; 273ci = CultureInfo.GetCultureInfo(this.culture); 278ci = CultureInfo.GetCultureInfo(m_name); 298culture = CultureInfo.GetCultureInfo(this.Name).LCID; // This is the lcid of the constructing culture (still have to dereference to get target sort) 1285return CultureInfo.GetCultureInfo(this.Name).LCID;
system\globalization\culturedata.cs (17)
607if (CultureInfo.IsTaiwanSku) 841CultureInfo[] specifics = SpecificCultures; 964internal static CultureInfo[] GetCultures(CultureTypes types) 977CultureInfo.CurrentCulture, 1009return new CultureInfo[0]; 1019CultureInfo[] cultures = new CultureInfo[arrayLength]; 1038internal static volatile CultureInfo[] specificCultures; 1040private static CultureInfo[] SpecificCultures 1214if (CultureInfo.UserDefaultUICulture.Name.Equals(Thread.CurrentThread.CurrentUICulture.Name)) 1401if (CultureInfo.UserDefaultUICulture.Name.Equals(Thread.CurrentThread.CurrentUICulture.Name)) 1524if (CultureInfo.UserDefaultUICulture.Name.Equals(Thread.CurrentThread.CurrentUICulture.Name)) 2723return CultureInfo.GetCalendarInstance(defaultCalId); 3073string result = CultureInfo.nativeGetLocaleInfoEx(localeName, lctype); 3094int result = CultureInfo.nativeGetLocaleInfoExInt(this.sWindowsName, lctype); 3122if (cultureId == CultureInfo.LOCALE_CUSTOM_DEFAULT || cultureId == CultureInfo.LOCALE_CUSTOM_UNSPECIFIED)
system\globalization\cultureinfo.cs (92)
98[NonSerialized]private CultureInfo m_consoleFallbackCulture; 134private static volatile CultureInfo s_userDefaultCulture; 141private static volatile CultureInfo s_InvariantCultureInfo; 144private static volatile CultureInfo s_userDefaultUICulture; 147private static volatile CultureInfo s_InstalledUICultureInfo; 150private static volatile CultureInfo s_DefaultThreadCurrentUICulture; 151private static volatile CultureInfo s_DefaultThreadCurrentCulture; 168[NonSerialized]private CultureInfo m_parent; 191CultureInfo temp = new CultureInfo("", false); 206static CultureInfo InitUserDefaultCulture() 216return (CultureInfo.InvariantCulture); 219CultureInfo temp = GetCultureByName(strDefault, true); 226static CultureInfo InitUserDefaultUICulture() 236CultureInfo temp = GetCultureByName( strDefault, true); 240return (CultureInfo.InvariantCulture); 250internal static CultureInfo GetCultureInfoForUserPreferredLanguageInAppX() 274CultureInfo toReturn = null; 296internal static bool SetCultureInfoForUserPreferredLanguageInAppX(CultureInfo ci) 358this.m_isInherited = (this.GetType() != typeof(System.Globalization.CultureInfo)); 369private static CultureInfo CreateCultureInfoNoThrow(string name, bool useUserOverride) 415this.m_isInherited = (this.GetType() != typeof(System.Globalization.CultureInfo)); 427if (obj.GetType().Assembly != typeof(System.Globalization.CultureInfo).Assembly) { 431CultureInfo.CurrentCulture, 471m_isInherited = (this.GetType() != typeof(System.Globalization.CultureInfo)); 475if (this.GetType().Assembly == typeof(System.Globalization.CultureInfo).Assembly) 566if (this.GetType() == typeof(System.Globalization.CultureInfo)) 594CultureInfo altCulture = GetCultureInfo(textAndCompareCultureName); 601private static CultureInfo GetCultureByName(String name, bool userOverride) 606return userOverride ? new CultureInfo(name) : CultureInfo.GetCultureInfo(name); 624public static CultureInfo CreateSpecificCulture(String name) { 625Contract.Ensures(Contract.Result<CultureInfo>() != null); 627CultureInfo culture; 688internal static bool VerifyCultureName(CultureInfo culture, bool throwException) { 712public static CultureInfo CurrentCulture 715Contract.Ensures(Contract.Result<CultureInfo>() != null); 763internal static CultureInfo UserDefaultCulture { 766Contract.Ensures(Contract.Result<CultureInfo>() != null); 768CultureInfo temp = s_userDefaultCulture; 777s_userDefaultCulture = CultureInfo.InvariantCulture; 788internal static CultureInfo UserDefaultUICulture { 790Contract.Ensures(Contract.Result<CultureInfo>() != null); 792CultureInfo temp = s_userDefaultUICulture; 801s_userDefaultUICulture = CultureInfo.InvariantCulture; 811public static CultureInfo CurrentUICulture { 813Contract.Ensures(Contract.Result<CultureInfo>() != null); 863public static CultureInfo InstalledUICulture { 865Contract.Ensures(Contract.Result<CultureInfo>() != null); 867CultureInfo temp = s_InstalledUICultureInfo; 884public static CultureInfo DefaultThreadCurrentCulture { 902public static CultureInfo DefaultThreadCurrentUICulture { 921CultureInfo.VerifyCultureName(value, true); 957public static CultureInfo InvariantCulture { 960Contract.Ensures(Contract.Result<CultureInfo>() != null); 974public virtual CultureInfo Parent 979Contract.Ensures(Contract.Result<CultureInfo>() != null); 980CultureInfo culture = null; 1002Interlocked.CompareExchange<CultureInfo>(ref m_parent, culture, null); 1048public static CultureInfo[] GetCultures(CultureTypes types) { 1049Contract.Ensures(Contract.Result<CultureInfo[]>() != null); 1316CultureInfo that = value as CultureInfo; 1603public CultureInfo GetConsoleFallbackUICulture() 1605Contract.Ensures(Contract.Result<CultureInfo>() != null); 1607CultureInfo temp = m_consoleFallbackCulture; 1622CultureInfo ci = (CultureInfo)MemberwiseClone(); 1659public static CultureInfo ReadOnly(CultureInfo ci) { 1663Contract.Ensures(Contract.Result<CultureInfo>() != null); 1669CultureInfo newInfo = (CultureInfo)(ci.MemberwiseClone()); 1725get { return Name == CultureInfo.InvariantCulture.Name; } 1730internal static CultureInfo GetCultureInfoHelper(int lcid, string name, string altName) 1740CultureInfo retval; 1765retval = (CultureInfo)tempNameHT[name + '\xfffd' + altName]; 1773retval = (CultureInfo)tempNameHT[name]; 1794retval = (CultureInfo) tempLcidHT[lcid]; 1887public static CultureInfo GetCultureInfo(int culture) 1896Contract.Ensures(Contract.Result<CultureInfo>() != null); 1898CultureInfo retval = GetCultureInfoHelper(culture, null, null); 1910public static CultureInfo GetCultureInfo(string name) 1917Contract.Ensures(Contract.Result<CultureInfo>() != null); 1920CultureInfo retval = GetCultureInfoHelper(0, name, null); 1932public static CultureInfo GetCultureInfo(string name, string altName) 1944Contract.Ensures(Contract.Result<CultureInfo>() != null); 1947CultureInfo retval = GetCultureInfoHelper(-1, name, altName); 1952CultureInfo.CurrentCulture, 1963public static CultureInfo GetCultureInfoByIetfLanguageTag(string name) 1965Contract.Ensures(Contract.Result<CultureInfo>() != null); 1972String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_CultureIetfNotSupported"), name) 1976CultureInfo ci = GetCultureInfo(name); 1983String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_CultureIetfNotSupported"), name)
system\globalization\culturenotfoundexception.cs (1)
116return String.Format(CultureInfo.InvariantCulture,
system\globalization\datetimeformat.cs (9)
145internal static readonly DateTimeFormatInfo InvariantFormatInfo = CultureInfo.InvariantCulture.DateTimeFormat; 341CultureInfo.CurrentCulture, 486result.Append(((int)fraction).ToString(fixedNumberFormats[tokenLen - 1], CultureInfo.InvariantCulture)); 500result.Append(((int)fraction).ToString(fixedNumberFormats[effectiveDigits - 1], CultureInfo.InvariantCulture)); 630result.Append(year.ToString(fmtPattern, CultureInfo.InvariantCulture)); 755result.AppendFormat(CultureInfo.InvariantCulture, "{0:0}", offset.Hours); 759result.AppendFormat(CultureInfo.InvariantCulture, "{0:00}", offset.Hours); 762result.AppendFormat(CultureInfo.InvariantCulture, ":{0:00}", offset.Minutes); 800result.AppendFormat(CultureInfo.InvariantCulture, "{0:00}:{1:00}", offset.Hours, offset.Minutes);
system\globalization\datetimeformatinfo.cs (9)
87[NonSerialized]private CultureInfo m_cultureInfo = null; 215private CultureInfo Culture 221m_cultureInfo = CultureInfo.GetCultureInfo(this.CultureName); 341: this(CultureInfo.InvariantCulture.m_cultureData, 440CultureInfo.CheckDomainSafetyObject(calendar, this); 519System.Globalization.CultureInfo culture = System.Threading.Thread.CurrentThread.CurrentCulture; 534CultureInfo cultureProvider = provider as CultureInfo; 630CultureInfo.CheckDomainSafetyObject(value, this);
system\globalization\eastasianlunisolarcalendar.cs (1)
160String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("ArgumentOutOfRange_CalendarRange"),
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 (7)
205throw new ArgumentOutOfRangeException("year", String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("ArgumentOutOfRange_Range"), 342CultureInfo.CurrentCulture, 358CultureInfo.InvariantCulture, 389CultureInfo.CurrentCulture, 571CultureInfo.CurrentCulture, 608CultureInfo.CurrentCulture, 657CultureInfo.CurrentCulture,
system\globalization\hebrewcalendar.cs (6)
380CultureInfo.CurrentCulture, 403CultureInfo.CurrentCulture, 427CultureInfo.CurrentCulture, 446CultureInfo.InvariantCulture, 709CultureInfo.CurrentCulture, 1066CultureInfo.CurrentCulture,
system\globalization\hijricalendar.cs (10)
230CultureInfo.CurrentCulture, 289int advance = Int32.Parse(str.ToString(), CultureInfo.InvariantCulture); 349CultureInfo.InvariantCulture, 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 (11)
288CultureInfo cultureProvider = formatProvider as CultureInfo; 328CultureInfo.CurrentCulture, 467System.Globalization.CultureInfo culture = System.Threading.Thread.CurrentThread.CurrentCulture; 503CultureInfo.CurrentCulture, 525CultureInfo.CurrentCulture, 547CultureInfo.CurrentCulture, 569CultureInfo.CurrentCulture, 618CultureInfo.CurrentCulture, 657CultureInfo.CurrentCulture, 706CultureInfo.CurrentCulture,
system\globalization\Persiancalendar.cs (8)
142CultureInfo.InvariantCulture, 161CultureInfo.CurrentCulture, 175CultureInfo.CurrentCulture, 296CultureInfo.CurrentCulture, 456CultureInfo.CurrentCulture, 512CultureInfo.CurrentCulture, 544CultureInfo.CurrentCulture, 570CultureInfo.CurrentCulture,
system\globalization\regioninfo.cs (6)
88CultureInfo.CurrentCulture, 105if (culture == CultureInfo.LOCALE_INVARIANT) //The InvariantCulture has no matching region 110if (culture == CultureInfo.LOCALE_NEUTRAL) 116if (culture == CultureInfo.LOCALE_CUSTOM_DEFAULT) 337CultureInfo.CurrentCulture, 372temp = new RegionInfo(CultureInfo.CurrentCulture.m_cultureData);
system\globalization\sortkey.cs (2)
73win32LCID = CultureInfo.GetCultureInfo(localeName).LCID; 87localeName = CultureInfo.GetCultureInfo(win32LCID).Name;
system\globalization\taiwancalendar.cs (2)
230CultureInfo.CurrentCulture, 254CultureInfo.CurrentCulture,
system\globalization\taiwanlunisolarcalendar.cs (1)
264CultureInfo.CurrentCulture,
system\globalization\textinfo.cs (5)
178m_cultureName = CultureInfo.GetCultureInfo(m_win32LangID).m_cultureData.CultureName; 185this.m_cultureData = CultureInfo.GetCultureInfo(m_cultureName).m_cultureData; 216this.m_win32LangID = (CultureInfo.GetCultureInfo(m_cultureName)).LCID; 420return CultureInfo.GetCultureInfo(this.m_textInfoName).LCID; 624CultureInfo.GetCultureInfo(m_textInfoName).CompareInfo.Compare("abcdefghijklmnopqrstuvwxyz",
system\globalization\thaibuddhistcalendar.cs (1)
204CultureInfo.CurrentCulture,
system\globalization\timespanformat.cs (3)
126sb.Append((fraction).ToString(DateTimeFormat.fixedNumberFormats[effectiveDigits - 1], CultureInfo.InvariantCulture)); 199result.Append((tmp).ToString(DateTimeFormat.fixedNumberFormats[tokenLen - 1], CultureInfo.InvariantCulture)); 222result.Append((tmp).ToString(DateTimeFormat.fixedNumberFormats[effectiveDigits - 1], CultureInfo.InvariantCulture));
system\globalization\umalquracalendar.cs (7)
385CultureInfo.InvariantCulture, 404CultureInfo.CurrentCulture, 532CultureInfo.CurrentCulture, 716CultureInfo.CurrentCulture, 778CultureInfo.CurrentCulture, 810CultureInfo.CurrentCulture, 839CultureInfo.CurrentCulture,
system\guid.cs (2)
621char upperCaseCh = Char.ToUpper(ch, CultureInfo.InvariantCulture); 884if(str.Length > i+1 && str[i] == '0' && (Char.ToLower(str[i+1], CultureInfo.InvariantCulture) == 'x'))
system\iappdomain.cs (3)
34using CultureInfo = System.Globalization.CultureInfo; 166CultureInfo culture, 176CultureInfo culture,
system\intptr.cs (2)
143return ((int)m_value).ToString(CultureInfo.InvariantCulture); 155return ((int)m_value).ToString(format, CultureInfo.InvariantCulture);
system\io\fileloadexception.cs (1)
194return String.Format(CultureInfo.CurrentCulture, format, fileName, message);
system\io\isolatedstorage\isolatedstoragefile.cs (1)
2226new BinaryWriter(ms).Write(name.ToUpper(CultureInfo.InvariantCulture));
system\io\stringwriter.cs (2)
44: this(new StringBuilder(), CultureInfo.CurrentCulture) 54public StringWriter(StringBuilder sb) : this(sb, CultureInfo.CurrentCulture) {
system\io\textwriter.cs (1)
622internal NullTextWriter(): base(CultureInfo.InvariantCulture) {
system\marshalbyrefobject.cs (2)
34using CultureInfo = System.Globalization.CultureInfo; 81Object[] args,ParameterModifier[] modifiers,CultureInfo culture,String[] namedParameters)
system\object.cs (3)
25using CultureInfo = System.Globalization.CultureInfo; 199CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_BadType"), 213CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_BadField"),
system\oleautbinder.cs (3)
16using CultureInfo = System.Globalization.CultureInfo; 25public override Object ChangeType(Object value, Type type, CultureInfo cultureInfo) 29cultureInfo = CultureInfo.CurrentCulture;
system\reflection\assembly.cs (16)
24using CultureInfo = System.Globalization.CultureInfo; 837public virtual Assembly GetSatelliteAssembly(CultureInfo culture) 843public virtual Assembly GetSatelliteAssembly(CultureInfo culture, Version version) 1012CultureInfo culture, 2098CultureInfo refCI = partialName.CultureInfo; 2117private static bool CulturesEqual(CultureInfo refCI, CultureInfo defCI) 2119bool defNoCulture = defCI.Equals(CultureInfo.InvariantCulture); 2123if ((refCI == null) || refCI.Equals(CultureInfo.InvariantCulture)) 2569internal CultureInfo GetLocale() 2576return CultureInfo.InvariantCulture; 2862public override Assembly GetSatelliteAssembly(CultureInfo culture) 2870public override Assembly GetSatelliteAssembly(CultureInfo culture, Version version) 2878internal Assembly InternalGetSatelliteAssembly(CultureInfo culture, 2903CultureInfo culture, 3056CultureInfo culture,
system\reflection\assemblyname.cs (4)
23using CultureInfo = System.Globalization.CultureInfo; 44private CultureInfo _CultureInfo; 88public CultureInfo CultureInfo 483CultureInfo cultureInfo,
system\reflection\binder.cs (4)
20using CultureInfo = System.Globalization.CultureInfo; 30ParameterModifier[] modifiers,CultureInfo culture,String[] names, out Object state); 35Object value,CultureInfo culture); 51public abstract Object ChangeType(Object value,Type type,CultureInfo culture);
system\reflection\cominterfaces.cs (12)
88Object InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters); 94Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder, Object target, Object[] args, CultureInfo culture); 228Assembly GetSatelliteAssembly(CultureInfo culture); 229Assembly GetSatelliteAssembly(CultureInfo culture, Version version); 236Object CreateInstance(String typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes); 322Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture); 380Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture); 444Object Invoke_2(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture); 462Object Invoke_4(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture); 505void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture); 562Object GetValue(Object obj,BindingFlags invokeAttr,Binder binder, Object[] index, CultureInfo culture); 564void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture);
system\reflection\ConstructorInfo.cs (8)
91public abstract Object Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture); 116Object _ConstructorInfo.Invoke_2(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 126Object _ConstructorInfo.Invoke_4(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 549String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateInterfaceEx"), declaringType)); 554String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateAbstEx"), declaringType)); 574String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateGenericEx"), declaringType)); 598Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 704public override Object Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
system\reflection\customattribute.cs (16)
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))); 804String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_CATypeResolutionFailed"), typeName)); 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); 1791String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString( 1822String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString( 2030CultureInfo.CurrentUICulture, Environment.GetResourceString("Format_AttributeUsage"), attributeType));
system\reflection\emit\assemblybuilder.cs (3)
34using CultureInfo = System.Globalization.CultureInfo; 1389public override Assembly GetSatelliteAssembly(CultureInfo culture) 1397public override Assembly GetSatelliteAssembly(CultureInfo culture, Version version)
system\reflection\emit\assemblybuilderdata.cs (3)
18using CultureInfo = System.Globalization.CultureInfo; 137CultureInfo locale = m_assembly.GetLocale(); 251CultureInfo culture = new CultureInfo(m_CABuilders[i].m_constructorArgs[0].ToString());
system\reflection\emit\constructorbuilder.cs (3)
13using CultureInfo = System.Globalization.CultureInfo; 117public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 147public override Object Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
system\reflection\emit\dynamicilgenerator.cs (1)
1243CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_MethodDeclaringTypeGenericLcg"), m, t));
system\reflection\emit\dynamicmethod.cs (3)
13using CultureInfo = System.Globalization.CultureInfo; 714public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) { 924public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) {
system\reflection\emit\enumbuilder.cs (3)
24using CultureInfo = System.Globalization.CultureInfo; 100CultureInfo culture, 396string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,]
system\reflection\emit\fieldbuilder.cs (2)
13using CultureInfo = System.Globalization.CultureInfo; 138public override void SetValue(Object obj,Object val,BindingFlags invokeAttr,Binder binder,CultureInfo culture)
system\reflection\emit\generictypeparameterbuilder.cs (2)
100string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,] 107public override Object InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) { throw new NotSupportedException(); }
system\reflection\emit\methodbuilder.cs (2)
13using CultureInfo = System.Globalization.CultureInfo; 577public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
system\reflection\emit\methodbuilderinstantiation.cs (1)
67public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
system\reflection\emit\modulebuilder.cs (2)
401throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 425throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture,
system\reflection\emit\propertybuilder.cs (3)
21using CultureInfo = System.Globalization.CultureInfo; 186public override Object GetValue(Object obj,BindingFlags invokeAttr,Binder binder,Object[] index,CultureInfo culture) 196public override void SetValue(Object obj,Object value,BindingFlags invokeAttr,Binder binder,Object[] index,CultureInfo culture)
system\reflection\emit\symbolmethod.cs (2)
15using CultureInfo = System.Globalization.CultureInfo; 144public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
system\reflection\emit\symboltype.cs (3)
15using CultureInfo = System.Globalization.CultureInfo; 321string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,] 341Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
system\reflection\emit\typebuilder.cs (3)
19using CultureInfo = System.Globalization.CultureInfo; 1076Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) 1500string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,]
system\reflection\emit\typebuilderinstantiation.cs (2)
104string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", comma); 108public override Object InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) { throw new NotSupportedException(); }
system\reflection\emit\xxxontypebuilderinstantiation.cs (4)
80public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 177public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 190public override Object Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 289public override void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) { throw new InvalidOperationException(); }
system\reflection\fieldinfo.cs (7)
48CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_FieldDeclaringTypeGeneric"), 134public abstract void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture); 533String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_FieldDeclTarget"), 554internal void InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, ref StackCrawlMark stackMark) 611internal void UnsafeSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) 761public override void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) 933public override void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
system\reflection\ireflect.cs (2)
23using CultureInfo = System.Globalization.CultureInfo; 112CultureInfo culture,
system\reflection\mdimport.cs (2)
253public override string ToString() { return String.Format(CultureInfo.InvariantCulture, "0x{0:x8}", Value); } 756return String.Format(CultureInfo.CurrentCulture, "MetadataException HResult = {0:x}.", m_hr);
system\reflection\methodbase.cs (3)
72CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_MethodDeclaringTypeGeneric"), 179public abstract Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture); 339BindingFlags invokeAttr, CultureInfo culture, Signature sig)
system\reflection\methodbody.cs (3)
91return String.Format(CultureInfo.CurrentUICulture, 98return String.Format(CultureInfo.CurrentUICulture, 103return String.Format(CultureInfo.CurrentUICulture,
system\reflection\methodinfo.cs (3)
710public override Object Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 745internal object UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 773private object[] InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
system\reflection\module.cs (4)
750String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_InvalidToken", tk, this))); 914String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_ResolveString"), metadataToken, ToString())); 918String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_InvalidToken", tk, this))); 924String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_ResolveString"), metadataToken, ToString()));
system\reflection\pointer.cs (1)
17using CultureInfo = System.Globalization.CultureInfo;
system\reflection\propertyinfo.cs (4)
84public abstract void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture); 114public abstract Object GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture); 624public override Object GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) 647public override void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
system\reflection\typedelegator.cs (2)
16using CultureInfo = System.Globalization.CultureInfo; 49Object[] args,ParameterModifier[] modifiers,CultureInfo culture,String[] namedParameters)
system\resources\filebasedresourcegroveler.cs (3)
44public ResourceSet GrovelForResourceSet(CultureInfo culture, Dictionary<String, ResourceSet> localResourceSets, bool tryParents, bool createIfNotExists, ref StackCrawlMark stackMark) 85public bool HasNeutralResources(CultureInfo culture, String defaultResName) 112private String FindResourceFile(CultureInfo culture, String fileName)
system\resources\iresourcegroveler.cs (2)
26ResourceSet GrovelForResourceSet(CultureInfo culture, Dictionary<String, ResourceSet> localResourceSets, bool tryParents, 31bool HasNeutralResources(CultureInfo culture, String defaultResName);
system\resources\manifestbasedresourcegroveler.cs (16)
62public ResourceSet GrovelForResourceSet(CultureInfo culture, Dictionary<String, ResourceSet> localResourceSets, bool tryParents, bool createIfNotExists, ref StackCrawlMark stackMark) 72CultureInfo lookForCulture = UltimateFallbackFixup(culture); 181public bool HasNeutralResources(CultureInfo culture, String defaultResName) 194private CultureInfo UltimateFallbackFixup(CultureInfo lookForCulture) 197CultureInfo returnCulture = lookForCulture; 211returnCulture = CultureInfo.InvariantCulture; 223internal static CultureInfo GetNeutralResourcesLanguage(Assembly a, ref UltimateResourceFallbackLocation fallbackLocation) 254return CultureInfo.InvariantCulture; 259CultureInfo c = CultureInfo.GetCultureInfo(cultureName); 270return CultureInfo.InvariantCulture; 474CompareInfo comparer = CultureInfo.InvariantCulture.CompareInfo; 538private RuntimeAssembly GetSatelliteAssembly(CultureInfo lookForCulture, ref StackCrawlMark stackMark) 570Contract.Assert(false, "[This assert catches satellite assembly build/deployment problems - report this message to your build lab & loc engineer]" + Environment.NewLine + "GetSatelliteAssembly failed for culture " + lookForCulture.Name + " and version " + (_mediator.SatelliteContractVersion == null ? _mediator.MainAssembly.GetVersion().ToString() : _mediator.SatelliteContractVersion.ToString()) + " of assembly " + _mediator.MainAssembly.GetSimpleName() + " with error code 0x" + hr.ToString("X", CultureInfo.InvariantCulture) + Environment.NewLine + "Exception: " + fle); 656publicKeyTok.Append(token[i].ToString("x", CultureInfo.InvariantCulture));
system\resources\resourcefallbackmanager.cs (10)
32internal class ResourceFallbackManager : IEnumerable<CultureInfo> 34private CultureInfo m_startingCulture; 35private CultureInfo m_neutralResourcesCulture; 50internal ResourceFallbackManager(CultureInfo startingCulture, CultureInfo neutralResourcesCulture, bool useParents) 58m_startingCulture = CultureInfo.CurrentUICulture; 71public IEnumerator<CultureInfo> GetEnumerator() 76CultureInfo currentCulture = m_startingCulture; 83yield return CultureInfo.InvariantCulture; 139yield return CultureInfo.InvariantCulture;
system\resources\resourcemanager.cs (34)
59public virtual CultureInfo GlobalResourceContextBestFitCultureInfo { 65public virtual bool SetGlobalResourceContextDefaultCulture(CultureInfo ci) { return false; } 196private CultureInfo _neutralResourcesCulture; // For perf optimizations. 339CultureInfo culture = CultureInfo.InvariantCulture; 520CultureInfo culture = CultureInfo.InvariantCulture; 633protected virtual String GetResourceFileName(CultureInfo culture) { 639CultureInfo.VerifyCultureName(culture.Name, true); 649internal ResourceSet GetFirstResourceSet(CultureInfo culture) 654culture = CultureInfo.InvariantCulture; 700public virtual ResourceSet GetResourceSet(CultureInfo culture, bool createIfNotExists, bool tryParents) { 747protected virtual ResourceSet InternalGetResourceSet(CultureInfo culture, bool createIfNotExists, bool tryParents) 762private ResourceSet InternalGetResourceSet(CultureInfo requestedCulture, bool createIfNotExists, bool tryParents, ref StackCrawlMark stackMark) 766CultureInfo foundCulture = null; 780foreach (CultureInfo currentCultureInfo in mgr) 827foreach (CultureInfo updateCultureInfo in mgr) 921protected static CultureInfo GetNeutralResourcesLanguage(Assembly a) 926CultureInfo culture = ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(a, ref ignoringUsefulData); 1242return GetString(name, (CultureInfo)null); 1249public virtual String GetString(String name, CultureInfo culture) { 1262if(Object.ReferenceEquals(culture, CultureInfo.CurrentUICulture)) 1314foreach (CultureInfo currentCultureInfo in mgr) { 1355return GetObject(name, (CultureInfo)null, true); 1361public virtual Object GetObject(String name, CultureInfo culture) { 1365private Object GetObject(String name, CultureInfo culture, bool wrapUnmanagedMemStream) 1377if(Object.ReferenceEquals(culture, CultureInfo.CurrentUICulture)) 1416foreach (CultureInfo currentCultureInfo in mgr) { 1459return GetStream(name, (CultureInfo)null); 1463public UnmanagedMemoryStream GetStream(String name, CultureInfo culture) { 1475private bool TryLookingForSatellite(CultureInfo lookForCulture) 1641internal CultureInfo NeutralResourcesCulture 1647internal String GetResourceFileName(CultureInfo culture) 1696internal bool TryLookingForSatellite(CultureInfo lookForCulture)
system\resources\resourcereader.cs (5)
325BCLDebug.Log("RESMGRFILEFORMAT", "FindPosForResource for "+name+" hash: "+hash.ToString("x", CultureInfo.InvariantCulture)); 556BCLDebug.Log("RESMGRFILEFORMAT", "LoadString("+pos.ToString("x", CultureInfo.InvariantCulture)+" returned "+(s==null ? "[a null string]" : s)); 610BCLDebug.Log("RESMGRFILEFORMAT", "LoadObject type: "+type.Name+" pos: 0x"+_store.BaseStream.Position.ToString("x", CultureInfo.InvariantCulture)); 682BCLDebug.Log("RESMGRFILEFORMAT", "LoadObjectV2 type: "+typeCode+" pos: 0x"+_store.BaseStream.Position.ToString("x", CultureInfo.InvariantCulture)); 1072BCLDebug.Log("RESMGRFILEFORMAT", String.Format(CultureInfo.InvariantCulture, "ReadResources: _nameOffset = 0x{0:x} _dataOffset = 0x{1:x}", _nameSectionOffset, _dataSectionOffset));
system\resources\resourcewriter.cs (2)
504BCLDebug.Log("RESMGRFILEFORMAT", "Generate: start of DataSection: 0x" + startOfDataSection.ToString("x", CultureInfo.InvariantCulture) + " nameSection length: " + nameSection.Length); 719Contract.Assert(typeCode >= ResourceTypeCode.StartOfUserTypes, String.Format(CultureInfo.InvariantCulture, "ResourceReader: Unsupported ResourceTypeCode in .resources file! {0}", typeCode));
system\rttype.cs (14)
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); 2342name = name.ToLower(CultureInfo.InvariantCulture); 2402Contract.Requires(name == null || (bindingFlags & BindingFlags.IgnoreCase) == 0 || (name.ToLower(CultureInfo.InvariantCulture).Equals(name))); 4363internal unsafe Object CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr) 4443throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_ObjObjEx"), value.GetType(), this)); 4450private Object TryChangeType(Object value, Binder binder, CultureInfo culture, bool needsSpecialCast) 4485throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_ObjObjEx"), value.GetType(), this)); 4514Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) 5180BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, ref StackCrawlMark stackMark) 5316throw new NotSupportedException(String.Format(CultureInfo.CurrentCulture,
system\runtime\interopservices\comexception.cs (1)
71s = _className + " (0x" + HResult.ToString("X8", CultureInfo.InvariantCulture) + ")";
system\runtime\interopservices\ComTypes\ireflect.cs (2)
23using CultureInfo = System.Globalization.CultureInfo; 72CultureInfo culture,
system\runtime\interopservices\externalexception.cs (1)
62s = _className + " (0x" + HResult.ToString("X8", CultureInfo.InvariantCulture) + ")";
system\runtime\interopservices\registrationservices.cs (13)
378String strRecordId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 416String strClsId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 500String strClsId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 546String strRecordId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 608String strClsId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 800String strClsId = "{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 874String strTlbId = "{" + Marshal.GetTypeLibGuidForAssembly(assembly).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 875String strVersion = attr.MajorVersion.ToString("x", CultureInfo.InvariantCulture) + "." + attr.MinorVersion.ToString("x", CultureInfo.InvariantCulture); 900String strTlbId = "{" + Marshal.GetTypeLibGuidForAssembly(assembly).ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 901String strVersion = attr.MajorVersion.ToString("x", CultureInfo.InvariantCulture) + "." + attr.MinorVersion.ToString("x", CultureInfo.InvariantCulture); 1056objs[0] = "HKEY_CLASSES_ROOT\\CLSID\\{" + Marshal.GenerateGuidForType(type).ToString().ToUpper(CultureInfo.InvariantCulture) + "}";
system\runtime\interopservices\typelibconverter.cs (4)
185String strTlbId = "{" + g.ToString().ToUpper(CultureInfo.InvariantCulture) + "}"; 186String strVersion = major.ToString("x", CultureInfo.InvariantCulture) + "." + minor.ToString("x", CultureInfo.InvariantCulture); 430String strProductName = String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("TypeLibConverter_ImportedTypeLibProductName"), strTypeLibName);
system\runtime\interopservices\ucomireflect.cs (2)
23using CultureInfo = System.Globalization.CultureInfo; 73CultureInfo culture,
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (2)
425return (T)(object)((Guid)value).ToString("D", System.Globalization.CultureInfo.InvariantCulture); 431return (T)Convert.ChangeType(value, typeof(T), System.Globalization.CultureInfo.InvariantCulture);
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\channelservices.cs (1)
594BCLDebug.Trace("REMOTE", "Setting info for receiver " + j.ToString(CultureInfo.InvariantCulture) + "\n");
system\runtime\remoting\configuration.cs (21)
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"), 940return typeName + ", " + assemblyName.ToLower(CultureInfo.InvariantCulture); 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( 1475String key = entry.ObjectUri.ToLower(CultureInfo.InvariantCulture); 1501String uriLower = URI.ToLower(CultureInfo.InvariantCulture); 1519String uriLower = URI.ToLower(CultureInfo.InvariantCulture); 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 (6)
53private static String s_originalAppDomainGuidString = "/" + s_originalAppDomainGuid.ToLower(CultureInfo.InvariantCulture) + "/"; 56private static String s_IDGuidString = "/" + s_originalAppDomainGuid.ToLower(CultureInfo.InvariantCulture) + "/"; 112if (String.Compare(uri, 1, appName, 0, appName.Length, true, CultureInfo.InvariantCulture) == 0) 479_ObjURI = (IDGuidString + random.Replace('/', '_') + "_" + GetNextSeqNum().ToString(CultureInfo.InvariantCulture.NumberFormat) + ".rem").ToLower(CultureInfo.InvariantCulture); 539CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Contexts_NoProperty"),
system\runtime\remoting\identityholder.cs (2)
93uri.ToLower(CultureInfo.InvariantCulture)); 419CultureInfo.CurrentCulture, Environment.GetResourceString(
system\runtime\remoting\message.cs (19)
522CultureInfo.CurrentCulture, Environment.GetResourceString( 556CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Message_MissingArgValue"), 572CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Message_MissingArgValue"), 605ret = Convert.ChangeType(value, pt, CultureInfo.InvariantCulture); 634CultureInfo.CurrentCulture, Environment.GetResourceString( 672ret = Double.Parse(strValue, CultureInfo.InvariantCulture); 681ret = Single.Parse(strValue, CultureInfo.InvariantCulture); 761CultureInfo.CurrentCulture, Environment.GetResourceString( 768ret = Convert.ChangeType(value, pt, CultureInfo.InvariantCulture); 775ret = Convert.ChangeType(value, pt, CultureInfo.InvariantCulture); //Should this just throw an exception 778ret = Convert.ChangeType(value, pt, CultureInfo.InvariantCulture); 806CultureInfo.CurrentCulture, Environment.GetResourceString( 3119CultureInfo.CurrentCulture, Environment.GetResourceString( 3275CultureInfo.CurrentCulture, Environment.GetResourceString( 3428CultureInfo.CurrentCulture, Environment.GetResourceString( 3439CultureInfo.CurrentCulture, Environment.GetResourceString( 3496position = Int32.Parse(memberName.Substring(7), CultureInfo.InvariantCulture); 4142CultureInfo.CurrentCulture, Environment.GetResourceString( 4472position = Int32.Parse(memberName.Substring(7), CultureInfo.InvariantCulture);
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 (17)
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"), 821Convert.ToBoolean((String)entry.Value, CultureInfo.InvariantCulture); 983configData.UrlObjRefMode = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); 1382String lowercaseKey = ((String)entry.Key).ToLower(CultureInfo.InvariantCulture); 1439id = ((String)entry.Value).ToLower(CultureInfo.InvariantCulture); 1483delayLoad = Convert.ToBoolean((String)entry.Value, CultureInfo.InvariantCulture); 1824time = time.ToLower(CultureInfo.InvariantCulture); 1832int value = Int32.Parse(time.Substring(0, time.Length - metricLength), CultureInfo.InvariantCulture);
system\runtime\remoting\remotingservices.cs (11)
25using CultureInfo = System.Globalization.CultureInfo; 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\soap.cs (1)
30using CultureInfo = System.Globalization.CultureInfo;
system\runtime\remoting\soapinteroptypes.cs (49)
195return value.ToString("yyyy-MM-dd'T'HH:mm:ss.fffffffzzz", CultureInfo.InvariantCulture); 211dt = DateTime.ParseExact(time, formats, CultureInfo.InvariantCulture,DateTimeStyles.None); 219CultureInfo.CurrentCulture, Environment.GetResourceString( 375(Int64.Parse(year, CultureInfo.InvariantCulture)*360+Int64.Parse(month, CultureInfo.InvariantCulture)*30+Int64.Parse(day, CultureInfo.InvariantCulture))*TimeSpan.TicksPerDay+ 376Int64.Parse(hour, CultureInfo.InvariantCulture)*TimeSpan.TicksPerHour+ 377Int64.Parse(minute, CultureInfo.InvariantCulture)*TimeSpan.TicksPerMinute+ 378Convert.ToInt64(Double.Parse(second+"."+fraction, CultureInfo.InvariantCulture)*(Double)TimeSpan.TicksPerSecond) 386CultureInfo.CurrentCulture, Environment.GetResourceString( 456return _value.ToString("HH:mm:ss.fffffffzzz", CultureInfo.InvariantCulture); 465SoapTime dt = new SoapTime(DateTime.ParseExact(time, formats, CultureInfo.InvariantCulture,DateTimeStyles.None)); 539return _value.ToString("'-'yyyy-MM-dd", CultureInfo.InvariantCulture); 541return _value.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture); 550return new SoapDate(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.None), sign); 623return _value.ToString("'-'yyyy-MM", CultureInfo.InvariantCulture); 625return _value.ToString("yyyy-MM", CultureInfo.InvariantCulture); 634return new SoapYearMonth(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.None), sign); 707return _value.ToString("'-'yyyy", CultureInfo.InvariantCulture); 709return _value.ToString("yyyy", CultureInfo.InvariantCulture); 718return new SoapYear(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.None), sign); 769return _value.ToString("'--'MM'-'dd", CultureInfo.InvariantCulture); 775return new SoapMonthDay(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.None)); 826return _value.ToString("---dd", CultureInfo.InvariantCulture); 832return new SoapDay(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.None)); 883return _value.ToString("--MM--", CultureInfo.InvariantCulture); 889return new SoapMonth(DateTime.ParseExact(value, formats, CultureInfo.InvariantCulture,DateTimeStyles.None)); 936String s = _value[i].ToString("X", CultureInfo.InvariantCulture); 959CultureInfo.CurrentCulture, Environment.GetResourceString( 978b = Byte.Parse(s, NumberStyles.HexNumber, CultureInfo.InvariantCulture); 1050CultureInfo.CurrentCulture, Environment.GetResourceString( 1097return _value.ToString(CultureInfo.InvariantCulture); 1103return new SoapInteger(Decimal.Parse(value, NumberStyles.Integer, CultureInfo.InvariantCulture)); 1139CultureInfo.CurrentCulture, Environment.GetResourceString( 1152CultureInfo.CurrentCulture, Environment.GetResourceString( 1160return _value.ToString(CultureInfo.InvariantCulture); 1166return new SoapPositiveInteger(Decimal.Parse(value, NumberStyles.Integer, CultureInfo.InvariantCulture)); 1201CultureInfo.CurrentCulture, Environment.GetResourceString( 1214CultureInfo.CurrentCulture, Environment.GetResourceString( 1222return _value.ToString(CultureInfo.InvariantCulture); 1228return new SoapNonPositiveInteger(Decimal.Parse(value, NumberStyles.Integer, CultureInfo.InvariantCulture)); 1263CultureInfo.CurrentCulture, Environment.GetResourceString( 1276CultureInfo.CurrentCulture, Environment.GetResourceString( 1284return _value.ToString(CultureInfo.InvariantCulture); 1290return new SoapNonNegativeInteger(Decimal.Parse(value, NumberStyles.Integer, CultureInfo.InvariantCulture)); 1325CultureInfo.CurrentCulture, Environment.GetResourceString( 1338CultureInfo.CurrentCulture, Environment.GetResourceString( 1346return _value.ToString(CultureInfo.InvariantCulture); 1352return new SoapNegativeInteger(Decimal.Parse(value, NumberStyles.Integer, CultureInfo.InvariantCulture));
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\formatter.cs (14)
142WriteBoolean(Convert.ToBoolean(data, CultureInfo.InvariantCulture), memberName); 144WriteChar(Convert.ToChar(data, CultureInfo.InvariantCulture), memberName); 146WriteSByte(Convert.ToSByte(data, CultureInfo.InvariantCulture), memberName); 148WriteByte(Convert.ToByte(data, CultureInfo.InvariantCulture), memberName); 150WriteInt16(Convert.ToInt16(data, CultureInfo.InvariantCulture), memberName); 152WriteInt32(Convert.ToInt32(data, CultureInfo.InvariantCulture), memberName); 154WriteInt64(Convert.ToInt64(data, CultureInfo.InvariantCulture), memberName); 156WriteSingle(Convert.ToSingle(data, CultureInfo.InvariantCulture), memberName); 158WriteDouble(Convert.ToDouble(data, CultureInfo.InvariantCulture), memberName); 160WriteDateTime(Convert.ToDateTime(data, CultureInfo.InvariantCulture), memberName); 162WriteDecimal(Convert.ToDecimal(data, CultureInfo.InvariantCulture), memberName); 164WriteUInt16(Convert.ToUInt16(data, CultureInfo.InvariantCulture), memberName); 166WriteUInt32(Convert.ToUInt32(data, CultureInfo.InvariantCulture), memberName); 168WriteUInt64(Convert.ToUInt64(data, CultureInfo.InvariantCulture), memberName);
system\runtime\serialization\formatterconverter.cs (17)
33return System.Convert.ChangeType(value, type, CultureInfo.InvariantCulture); 41return System.Convert.ChangeType(value, typeCode, CultureInfo.InvariantCulture); 49return System.Convert.ToBoolean(value, CultureInfo.InvariantCulture); 57return System.Convert.ToChar(value, CultureInfo.InvariantCulture); 66return System.Convert.ToSByte(value, CultureInfo.InvariantCulture); 74return System.Convert.ToByte(value, CultureInfo.InvariantCulture); 82return System.Convert.ToInt16(value, CultureInfo.InvariantCulture); 91return System.Convert.ToUInt16(value, CultureInfo.InvariantCulture); 99return System.Convert.ToInt32(value, CultureInfo.InvariantCulture); 108return System.Convert.ToUInt32(value, CultureInfo.InvariantCulture); 116return System.Convert.ToInt64(value, CultureInfo.InvariantCulture); 125return System.Convert.ToUInt64(value, CultureInfo.InvariantCulture); 133return System.Convert.ToSingle(value, CultureInfo.InvariantCulture); 141return System.Convert.ToDouble(value, CultureInfo.InvariantCulture); 149return System.Convert.ToDecimal(value, CultureInfo.InvariantCulture); 157return System.Convert.ToDateTime(value, CultureInfo.InvariantCulture); 165return System.Convert.ToString(value, CultureInfo.InvariantCulture);
system\runtime\serialization\formatters\binary\binaryconverter.cs (1)
482var = Convert.ChangeType(value, ToTypeCode(code), CultureInfo.InvariantCulture);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (14)
100WriteString(value.ToString(CultureInfo.InvariantCulture)); 723WriteBoolean(Convert.ToBoolean(value, CultureInfo.InvariantCulture)); 726WriteByte(Convert.ToByte(value, CultureInfo.InvariantCulture)); 729WriteChar(Convert.ToChar(value, CultureInfo.InvariantCulture)); 732WriteDouble(Convert.ToDouble(value, CultureInfo.InvariantCulture)); 735WriteInt16(Convert.ToInt16(value, CultureInfo.InvariantCulture)); 738WriteInt32(Convert.ToInt32(value, CultureInfo.InvariantCulture)); 741WriteInt64(Convert.ToInt64(value, CultureInfo.InvariantCulture)); 744WriteSByte(Convert.ToSByte(value, CultureInfo.InvariantCulture)); 747WriteSingle(Convert.ToSingle(value, CultureInfo.InvariantCulture)); 750WriteUInt16(Convert.ToUInt16(value, CultureInfo.InvariantCulture)); 753WriteUInt32(Convert.ToUInt32(value, CultureInfo.InvariantCulture)); 756WriteUInt64(Convert.ToUInt64(value, CultureInfo.InvariantCulture)); 759WriteDecimal(Convert.ToDecimal(value, CultureInfo.InvariantCulture));
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
336throw new SerializationException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Serialization_NonSerType"),
system\runtime\serialization\formatters\binary\binaryparser.cs (1)
317return Decimal.Parse(dataReader.ReadString(), CultureInfo.InvariantCulture);
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (9)
910doubleA[index] = Double.Parse(value, CultureInfo.InvariantCulture); 913int16A[index] = Int16.Parse(value, CultureInfo.InvariantCulture); 916int32A[index] = Int32.Parse(value, CultureInfo.InvariantCulture); 919int64A[index] = Int64.Parse(value, CultureInfo.InvariantCulture); 922sbyteA[index] = SByte.Parse(value, CultureInfo.InvariantCulture); 925singleA[index] = Single.Parse(value, CultureInfo.InvariantCulture); 928uint16A[index] = UInt16.Parse(value, CultureInfo.InvariantCulture); 931uint32A[index] = UInt32.Parse(value, CultureInfo.InvariantCulture); 934uint64A[index] = UInt64.Parse(value, CultureInfo.InvariantCulture);
system\runtime\serialization\formatters\soapfault.cs (4)
60if (String.Compare(name, "faultCode", true, CultureInfo.InvariantCulture) == 0) 68else if (String.Compare(name, "faultString", true, CultureInfo.InvariantCulture) == 0) 70else if (String.Compare(name, "faultActor", true, CultureInfo.InvariantCulture) == 0) 72else if (String.Compare(name, "detail", true, CultureInfo.InvariantCulture) == 0)
system\runtime\serialization\formatterservices.cs (1)
507return String.Format(CultureInfo.InvariantCulture, "{0}{1}", GetClrTypeFullName(type.GetElementType()), "[]");
system\runtime\serialization\objectmanager.cs (1)
262throw new SerializationException(String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Serialization_NotCyclicallyReferenceableSurrogate"), surrogate.GetType().FullName));
system\runtime\serialization\serializationfieldinfo.cs (2)
108public override void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) { 113internal void InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) {
system\runtime\versioning\binarycompatibility.cs (2)
340Contract.Assert(false, String.Format(CultureInfo.InvariantCulture, "Unrecognized Silverlight profile \"{0}\". What is this, an XBox app?", profile)); 347Contract.Assert(false, String.Format(CultureInfo.InvariantCulture, "Unrecognized Target Framework Moniker in our Binary Compatibility class. Framework name: \"{0}\"", targetFrameworkMoniker));
system\runtime\versioning\resourceattributes.cs (1)
161return id.ToString(CultureInfo.InvariantCulture);
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\nativeobjectsecurity.cs (2)
166Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32GetSecurityInfo() failed with unexpected error code {0}", error )); 311Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Unexpected error code {0}", error ));
system\security\accesscontrol\privilege.cs (5)
30using CultureInfo = System.Globalization.CultureInfo; 139Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "LookupPrivilegeValue() failed with unrecognized error code {0}", error )); 314Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "WindowsIdentity.GetCurrentThreadToken() failed with unrecognized error code {0}", error )); 579Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "AdjustTokenPrivileges() failed with unrecognized error code {0}", error )); 669Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "AdjustTokenPrivileges() failed with unrecognized error code {0}", error ));
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\accesscontrol\securitydescriptor.cs (2)
250Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32.ConvertSdToSddl returned {0}", error )); 678Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Unexpected error out of Win32.ConvertStringSdToSd: {0}", error ));
system\security\claims\Claim.cs (1)
622return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}: {1}", m_type, m_value);
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\cryptoconfig.cs (1)
761oidNums[i] = (uint) Int32.Parse(oidString[i], CultureInfo.InvariantCulture);
system\security\cryptography\x509certificates\x509certificate.cs (4)
458CultureInfo culture = CultureInfo.CurrentCulture; 464culture = culture.Clone() as CultureInfo; 469culture = CultureInfo.InvariantCulture;
system\security\framesecuritydescriptor.cs (4)
332throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 347throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 360throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 372throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demand, demand);
system\security\permissionlistset.cs (1)
350throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic")));
system\security\permissions\isolatedstoragepermission.cs (6)
213esd.AddAttribute(_strUserQuota, (m_userQuota).ToString(CultureInfo.InvariantCulture)) ; 217esd.AddAttribute(_strMachineQuota, (m_machineQuota).ToString(CultureInfo.InvariantCulture)) ; 221esd.AddAttribute( _strExpiry, (m_expirationDays).ToString(CultureInfo.InvariantCulture)) ; 265m_userQuota = param != null ? Int64.Parse(param, CultureInfo.InvariantCulture) : 0 ; 267m_machineQuota = param != null ? Int64.Parse(param, CultureInfo.InvariantCulture) : 0 ; 269m_expirationDays = param != null ? Int64.Parse(param, CultureInfo.InvariantCulture) : 0 ;
system\security\permissiontoken.cs (3)
35_caseSensitiveComparer = new Comparer(CultureInfo.InvariantCulture); 36_info = CultureInfo.InvariantCulture.TextInfo; 316realToken = FindTokenByIndex( Int32.Parse( elRoot.Attribute( "Index" ), CultureInfo.InvariantCulture ) );
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\netcodegroup.cs (10)
57SetCodeConnectAccess(allowScheme.ToLower(CultureInfo.InvariantCulture), allowPort); 91_LowerCasePort = allowPort.ToString(CultureInfo.InvariantCulture); 138_LowerCaseScheme = allowScheme.ToLower(CultureInfo.InvariantCulture); 147_LowerCasePort = allowPort.ToLower(CultureInfo.InvariantCulture); 155_IntPort = Int32.Parse(allowPort, CultureInfo.InvariantCulture); 160_LowerCasePort = _IntPort.ToString(CultureInfo.InvariantCulture); 311originScheme = originScheme.ToLower(CultureInfo.InvariantCulture); 493host = host.ToLower(CultureInfo.InvariantCulture); 494scheme = scheme.ToLower(CultureInfo.InvariantCulture); 498intPort = Int32.Parse(port, CultureInfo.InvariantCulture );
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\site.cs (1)
128return m_name.ToString().ToUpper(CultureInfo.InvariantCulture);
system\security\policy\sitemembershipcondition.cs (1)
236return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Site_ToStringArg" ), m_site );
system\security\policy\strongname.cs (1)
21using CultureInfo = System.Globalization.CultureInfo;
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\principal\ntaccount.cs (1)
348Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32Native.LsaLookupNames(2) returned unrecognized error {0}", win32ErrorCode ));
system\security\principal\sid.cs (6)
424Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32.CreateSidFromString returned unrecognized error {0}", Error )); 526Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32.GetWindowsAccountDomainSid returned unrecognized error {0}", ErrorCode) ); 549Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32.CreateWellKnownSid returned unrecognized error {0}", Error )); 714get { return ToString().ToUpper(CultureInfo.InvariantCulture); } 757Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32.GetWindowsAccountDomainSid returned unrecognized error {0}", Error) ); 998Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32Native.LsaLookupSids returned {0}", win32ErrorCode));
system\security\principal\windowsidentity.cs (12)
1345Claim claim = new Claim(claimType, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)); 1352Claim claim = new Claim(claimType, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture)); 1403instanceClaims.Add(new Claim(ClaimTypes.PrimaryGroupSid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture))); 1407instanceClaims.Add(new Claim(ClaimTypes.GroupSid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture))); 1414instanceClaims.Add(new Claim(ClaimTypes.DenyOnlyPrimaryGroupSid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture))); 1418instanceClaims.Add(new Claim(ClaimTypes.DenyOnlySid, groupSid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(groupSid.IdentifierAuthority, CultureInfo.InvariantCulture))); 1452instanceClaims.Add(new Claim(ClaimTypes.PrimarySid, sid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(sid.IdentifierAuthority, CultureInfo.InvariantCulture))); 1456instanceClaims.Add(new Claim(ClaimTypes.DenyOnlyPrimarySid, sid.Value, ClaimValueTypes.String, m_issuerName, m_issuerName, this, ClaimTypes.WindowsSubAuthority, Convert.ToString(sid.IdentifierAuthority, CultureInfo.InvariantCulture))); 1510instanceClaims.Add(new Claim(windowsClaim.Name, Convert.ToString(intValues[item], CultureInfo.InvariantCulture), ClaimValueTypes.Integer64, m_issuerName, m_issuerName, this, propertyValue, string.Empty)); 1521instanceClaims.Add( new Claim(windowsClaim.Name, Convert.ToString((UInt64)uintValues[item], CultureInfo.InvariantCulture), ClaimValueTypes.UInteger64, m_issuerName, m_issuerName, this, propertyValue, string.Empty)); 1532((UInt64)boolValues[item] == 0 ? Convert.ToString(false, CultureInfo.InvariantCulture) : Convert.ToString(true, CultureInfo.InvariantCulture)),
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\securityexception.cs (2)
98message = String.Format(CultureInfo.InvariantCulture, GetResString("Security_Generic"), demand.GetType().AssemblyQualifiedName ); 100message = String.Format(CultureInfo.InvariantCulture, GetResString("Security_Generic"), permThatFailed.GetType().AssemblyQualifiedName);
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\sitestring.cs (1)
176TextInfo info = CultureInfo.InvariantCulture.TextInfo;
system\security\util\urlstring.cs (6)
322m_port = Int32.Parse( temp.Substring(portIndex + 1), CultureInfo.InvariantCulture ); 331m_port = Int32.Parse( temp.Substring(portIndex + 1, tempIndex - portIndex - 1), CultureInfo.InvariantCulture ); 555localSite = localSite.ToUpper(CultureInfo.InvariantCulture); 712return m_port.ToString(CultureInfo.InvariantCulture); 913TextInfo info = CultureInfo.InvariantCulture.TextInfo; 1005return StringBuilderCache.GetStringAndRelease(builtUrl).ToUpper(CultureInfo.InvariantCulture);
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 (59)
603return (CultureInfo.CurrentCulture.CompareInfo.Compare(this, value, CompareOptions.None) == 0); 606return (CultureInfo.CurrentCulture.CompareInfo.Compare(this, value, CompareOptions.IgnoreCase) == 0); 609return (CultureInfo.InvariantCulture.CompareInfo.Compare(this, value, CompareOptions.None) == 0); 612return (CultureInfo.InvariantCulture.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); 676return (CultureInfo.InvariantCulture.CompareInfo.Compare(a, b, CompareOptions.None) == 0); 679return (CultureInfo.InvariantCulture.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); 1829return CultureInfo.InvariantCulture.CompareInfo.Compare(strA, strB, CompareOptions.None); 1832return CultureInfo.InvariantCulture.CompareInfo.Compare(strA, strB, CompareOptions.IgnoreCase); 1862public static int Compare(String strA, String strB, CultureInfo culture, CompareOptions options) { 1880public static int Compare(String strA, String strB, bool ignoreCase, CultureInfo culture) { 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); 1949public static int Compare(String strA, int indexA, String strB, int indexB, int length, bool ignoreCase, CultureInfo culture) { 1983public static int Compare(String strA, int indexA, String strB, int indexB, int length, CultureInfo culture, CompareOptions options) { 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); 2077return CultureInfo.InvariantCulture.CompareInfo.Compare(strA, indexA, lengthA, strB, indexB, lengthB, CompareOptions.None); 2080return CultureInfo.InvariantCulture.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); 2215return CultureInfo.InvariantCulture.CompareInfo.IsSuffix(this, value, CompareOptions.None); 2218return CultureInfo.InvariantCulture.CompareInfo.IsSuffix(this, value, CompareOptions.IgnoreCase); 2232public Boolean EndsWith(String value, Boolean ignoreCase, CultureInfo culture) { 2242CultureInfo referenceCulture; 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); 2370return CultureInfo.InvariantCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.None); 2373return CultureInfo.InvariantCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.IgnoreCase); 2376return CultureInfo.InvariantCulture.CompareInfo.IndexOf(this, value, startIndex, count, CompareOptions.Ordinal); 2380return CultureInfo.InvariantCulture.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); 2510return CultureInfo.InvariantCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.None); 2513return CultureInfo.InvariantCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.IgnoreCase); 2515return CultureInfo.InvariantCulture.CompareInfo.LastIndexOf(this, value, startIndex, count, CompareOptions.Ordinal); 2519return CultureInfo.InvariantCulture.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); 2595return CultureInfo.InvariantCulture.CompareInfo.IsPrefix(this, value, CompareOptions.None); 2598return CultureInfo.InvariantCulture.CompareInfo.IsPrefix(this, value, CompareOptions.IgnoreCase); 2619public Boolean StartsWith(String value, Boolean ignoreCase, CultureInfo culture) { 2629CultureInfo referenceCulture; 2631referenceCulture = CultureInfo.CurrentCulture; 2643return this.ToLower(CultureInfo.CurrentCulture); 2648public String ToLower(CultureInfo culture) { 2662return this.ToLower(CultureInfo.InvariantCulture); 2670return this.ToUpper(CultureInfo.CurrentCulture); 2676public String ToUpper(CultureInfo culture) { 2691return this.ToUpper(CultureInfo.InvariantCulture);
system\stringcomparer.cs (6)
19private static readonly StringComparer _invariantCulture = new CultureAwareComparer(CultureInfo.InvariantCulture, false); 20private static readonly StringComparer _invariantCultureIgnoreCase = new CultureAwareComparer(CultureInfo.InvariantCulture, true); 41return new CultureAwareComparer(CultureInfo.CurrentCulture, false); 48return new CultureAwareComparer(CultureInfo.CurrentCulture, true); 66public static StringComparer Create(CultureInfo culture, bool ignoreCase) { 141internal CultureAwareComparer(CultureInfo culture, bool ignoreCase) {
system\text\basecodepageencoding.cs (1)
304String strName = String.Format(CultureInfo.InvariantCulture, "NLS_CodePage_{0}_{1}_{2}_{3}_{4}",
system\text\decoderexceptionfallback.cs (1)
90strBytes.Append(bytesUnknown[i].ToString("X2", CultureInfo.InvariantCulture));
system\text\decoderfallback.cs (1)
272strBytes.Append(String.Format(CultureInfo.InvariantCulture, "\\x{0:X2}", bytesUnknown[i]));
system\text\decodernls.cs (1)
41System.Globalization.CultureInfo.CurrentCulture,
system\text\encoderbestfitfallback.cs (2)
108Contract.Assert(iCount < 1, "[InternalEncoderBestFitFallbackBuffer.Fallback(non surrogate)] Fallback char " + ((int)cBestFit).ToString("X4", CultureInfo.InvariantCulture) + " caused recursive fallback"); 135Contract.Assert(iCount < 1, "[InternalEncoderBestFitFallbackBuffer.Fallback(surrogate)] Fallback char " + ((int)cBestFit).ToString("X4", CultureInfo.InvariantCulture) + " caused recursive fallback");
system\text\encodernls.cs (1)
44System.Globalization.CultureInfo.CurrentCulture,
system\text\eucjpencoding.cs (1)
65String strName = String.Format(CultureInfo.InvariantCulture, "CodePage_{0}_{1}_{2}_{3}_{4}_EUCJP",
system\text\gb18030encoding.cs (4)
232"[GB18030Encoding.LoadManagedCodePage] Expected 0x99FB to be last 4 byte offset, found 0x" + count4Byte.ToString("X4", CultureInfo.InvariantCulture)); 300"[GB18030Encoding.GetBytes] leftover character should be high surrogate, not 0x" + ((int)charLeftOver).ToString("X4", CultureInfo.InvariantCulture)); 330"[GB18030Encoding.GetBytes](1) Expected offset < 0x6f, not 0x" + offset.ToString("X2", CultureInfo.InvariantCulture)); 380"[GB18030Encoding.GetBytes]Expected iBytes < 0x7e, not 0x" + iBytes.ToString("X2", CultureInfo.InvariantCulture));
system\text\isciiencoding.cs (2)
425String.Format(CultureInfo.InvariantCulture, 654String.Format(CultureInfo.InvariantCulture,
system\text\iso2022encoding.cs (1)
140String strName = String.Format(CultureInfo.InvariantCulture, strFormat,
system\text\sbcscodepageencoding.cs (2)
184Contract.Assert(arrayTemp[byteTemp] == UNKNOWN_CHAR, String.Format(CultureInfo.InvariantCulture, 286String.Format(CultureInfo.InvariantCulture,
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\text\utf8encoding.cs (5)
517"[UTF8Encoding.GetBytes]expected high surrogate, not 0x" + ((int)ch).ToString("X4", CultureInfo.InvariantCulture)); 549"[UTF8Encoding.GetBytes]expected high surrogate, not 0x" + ((int)ch).ToString("X4", CultureInfo.InvariantCulture)); 905"[UTF8Encoding.GetBytes]expected high surrogate, not 0x" + ((int)ch).ToString("X4", CultureInfo.InvariantCulture)); 933"[UTF8Encoding.GetBytes]expected high surrogate, not 0x" + ((int)ch).ToString("X4", CultureInfo.InvariantCulture)); 1263"[UTF8Encoding.GetBytes] Expected no mustflush or 0 leftover ch " + ch.ToString("X2", CultureInfo.InvariantCulture));
system\threading\thread.cs (31)
146private CultureInfo m_CurrentCulture; 147private CultureInfo m_CurrentUICulture; 196static AsyncLocal<CultureInfo> s_asyncLocalCurrentCulture; 197static AsyncLocal<CultureInfo> s_asyncLocalCurrentUICulture; 199static void AsyncLocalSetCurrentCulture(AsyncLocalValueChangedArgs<CultureInfo> args) 208static void AsyncLocalSetCurrentUICulture(AsyncLocalValueChangedArgs<CultureInfo> args) 1131static extern private bool nativeGetSafeCulture(Thread t, int appDomainId, bool isUI, ref CultureInfo safeCulture); 1146public CultureInfo CurrentUICulture { 1148Contract.Ensures(Contract.Result<CultureInfo>() != null); 1151return CultureInfo.GetCultureInfoForUserPreferredLanguageInAppX() ?? GetCurrentUICultureNoAppX(); 1170CultureInfo.VerifyCultureName(value, true); 1204Interlocked.CompareExchange(ref s_asyncLocalCurrentUICulture, new AsyncLocal<CultureInfo>(AsyncLocalSetCurrentUICulture), null); 1220internal CultureInfo GetCurrentUICultureNoAppX() { 1222Contract.Ensures(Contract.Result<CultureInfo>() != null); 1227CultureInfo appDomainDefaultUICulture = CultureInfo.DefaultThreadCurrentUICulture; 1228return (appDomainDefaultUICulture != null ? appDomainDefaultUICulture : CultureInfo.UserDefaultUICulture); 1232CultureInfo culture = null; 1235return CultureInfo.UserDefaultUICulture; 1264public CultureInfo CurrentCulture { 1266Contract.Ensures(Contract.Result<CultureInfo>() != null); 1270return CultureInfo.GetCultureInfoForUserPreferredLanguageInAppX() ?? GetCurrentCultureNoAppX(); 1296CultureInfo.nativeSetThreadLocale(value.SortName); 1315Interlocked.CompareExchange(ref s_asyncLocalCurrentCulture, new AsyncLocal<CultureInfo>(AsyncLocalSetCurrentCulture), null); 1330private CultureInfo GetCurrentCultureNoAppX() { 1332Contract.Ensures(Contract.Result<CultureInfo>() != null); 1337CultureInfo appDomainDefaultCulture = CultureInfo.DefaultThreadCurrentCulture; 1338return (appDomainDefaultCulture != null ? appDomainDefaultCulture : CultureInfo.UserDefaultCulture); 1342CultureInfo culture = null; 1345return CultureInfo.UserDefaultCulture;
system\timezoneinfo.cs (18)
903return m_id.ToUpper(CultureInfo.InvariantCulture).GetHashCode(); 2311String.Format(CultureInfo.InvariantCulture, "{0}\\{1}\\Dynamic DST", 2353Byte[] regValue = dynamicKey.GetValue(first.ToString(CultureInfo.InvariantCulture), null, RegistryValueOptions.None) as Byte[]; 2389regValue = dynamicKey.GetValue(i.ToString(CultureInfo.InvariantCulture), null, RegistryValueOptions.None) as Byte[]; 2405regValue = dynamicKey.GetValue(last.ToString(CultureInfo.InvariantCulture), null, RegistryValueOptions.None) as Byte[]; 2488String.Format(CultureInfo.InvariantCulture, "{0}\\{1}", 2604if (!Int32.TryParse(resources[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out resourceId)) { 2773String.Format(CultureInfo.InvariantCulture, "{0}\\{1}", 3572zone.BaseUtcOffset.TotalMinutes.ToString(CultureInfo.InvariantCulture))); 3594serializedText.Append(SerializeSubstitute(rule.DaylightDelta.TotalMinutes.ToString(CultureInfo.InvariantCulture))); 3602serializedText.Append(SerializeSubstitute(rule.BaseUtcOffsetDelta.TotalMinutes.ToString(CultureInfo.InvariantCulture))); 3685serializedText.Append(fixedDate.ToString(CultureInfo.InvariantCulture)); 3691serializedText.Append(SerializeSubstitute(time.Month.ToString(CultureInfo.InvariantCulture))); 3693serializedText.Append(SerializeSubstitute(time.Day.ToString(CultureInfo.InvariantCulture))); 3699serializedText.Append(SerializeSubstitute(time.Month.ToString(CultureInfo.InvariantCulture))); 3701serializedText.Append(SerializeSubstitute(time.Week.ToString(CultureInfo.InvariantCulture))); 3703serializedText.Append(SerializeSubstitute(((int)time.DayOfWeek).ToString(CultureInfo.InvariantCulture))); 3918if (!Int32.TryParse(token, NumberStyles.AllowLeadingSign /* "[sign]digits" */, CultureInfo.InvariantCulture, out value)) {
system\type.cs (3)
30using CultureInfo = System.Globalization.CultureInfo; 300Object[] args, ParameterModifier[] modifiers,CultureInfo culture,String[] namedParameters); 304public Object InvokeMember(String name,BindingFlags invokeAttr,Binder binder, Object target, Object[] args, CultureInfo culture)
system\typedreference.cs (1)
13using CultureInfo = System.Globalization.CultureInfo;
system\typeloadexception.cs (1)
72_message = String.Format(CultureInfo.CurrentCulture, format, ClassName, AssemblyName, MessageArg);
system\uintptr.cs (1)
118return ((uint)m_value).ToString(CultureInfo.InvariantCulture);
system\variant.cs (2)
452IFormatProvider provider = CultureInfo.InvariantCulture; 585IFormatProvider provider = CultureInfo.InvariantCulture;
system\version.cs (3)
19using CultureInfo = System.Globalization.CultureInfo; 425if (!Int32.TryParse(component, NumberStyles.Integer, CultureInfo.InvariantCulture, out parsedComponent)) { 514Int32.Parse(m_exceptionArgument, CultureInfo.InvariantCulture);
PresentationBuildTasks (44)
Base\System\Windows\Markup\TypeConverterHelper.cs (4)
36private static CultureInfo invariantEnglishUS = CultureInfo.InvariantCulture; 38internal static CultureInfo InvariantEnglishUS 241else if (typeof(CultureInfo).IsAssignableFrom(type))
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
1482throw new XmlException(string.Format(CultureInfo.InvariantCulture, message, args), null, info == null ? 1 : info.LineNumber,
BuildTasks\Microsoft\Build\Tasks\Windows\FileClassifier.cs (1)
177get { return _culture != null ? _culture.ToLower(CultureInfo.InvariantCulture) : null; }
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (1)
511localizationDirectives = localizationDirectives.ToLower(CultureInfo.InvariantCulture);
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (1)
430localizationDirectives = localizationDirectives.ToLower(CultureInfo.InvariantCulture);
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
2228(i + 1).ToString(CultureInfo.CurrentCulture)); 2688CodeParameterDeclarationExpression param4 = new CodeParameterDeclarationExpression(typeof(CultureInfo), CULTURE);
BuildTasks\MS\Internal\Tasks\CompilerState.cs (1)
379set { _cacheInfoList[(int)CompilerStateType.Pass2Required] = value.ToString(CultureInfo.InvariantCulture); }
BuildTasks\MS\Internal\Tasks\TaskHelper.cs (3)
153str = str.ToLower(CultureInfo.InvariantCulture); 176lowerStr = str.ToLower(CultureInfo.InvariantCulture); 200CultureInfo cl;
Core\CSharp\System\Windows\Media\Knowncolors.cs (1)
290string colorUpper = colorString.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
Core\CSharp\System\Windows\Media\ParsersCommon.cs (1)
532_formatProvider = System.Globalization.CultureInfo.InvariantCulture;
Framework\System\Windows\Markup\KnownTypes.cs (2)
5507case KnownElements.CultureInfo: t = typeof(CultureInfo); break; 5534MarkupCompiler.ThrowCompilerException(SRID.ParserInvalidKnownType, ((int)knownElement).ToString(CultureInfo.InvariantCulture), knownElement.ToString());
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 (8)
229string asmName = assemblyName.ToUpper(CultureInfo.InvariantCulture); 360CultureInfo.InvariantCulture)] as string; 375string assemblyShortName = assemblyName.Substring(0, indexComma).ToUpper(CultureInfo.InvariantCulture); 475assemblyShortName = assemblyShortName.ToUpper(CultureInfo.InvariantCulture); 786lineNumber.ToString(CultureInfo.CurrentCulture), 787linePosition.ToString(CultureInfo.CurrentCulture)); 1492String.Format(CultureInfo.CurrentCulture, "{0}.{1}", objectType.Name, localName), 4569string assemblyNameLookup = _assemblyName.ToUpper(CultureInfo.InvariantCulture);
Shared\MS\Internal\ResourceIDHelper.cs (2)
67basePath = basePath.ToLower(CultureInfo.InvariantCulture); 68sourcePath = sourcePath.ToLower(CultureInfo.InvariantCulture);
Shared\System\Windows\Markup\ReflectionHelper.cs (3)
350string assemblyNameLookup = assemblyName.ToUpper(CultureInfo.InvariantCulture); 523assemblyShortName = assemblyShortName.ToUpper(CultureInfo.InvariantCulture); 682string assemblyNameLookup = assemblyName.ToUpper(CultureInfo.InvariantCulture);
PresentationCore (406)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (5)
624faceName = faceName.ToUpper(CultureInfo.InvariantCulture); 631foreach (KeyValuePair<CultureInfo, string> name in font.FaceNames) 633string currentFontName = name.Value.ToUpper(CultureInfo.InvariantCulture); 654foreach (KeyValuePair<CultureInfo, string> name in font.FaceNames) 656string currentFontName = name.Value.ToUpper(CultureInfo.InvariantCulture);
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (2)
662CultureInfo.InvariantCulture, 688string faceIndexString = faceIndex.ToString(CultureInfo.InvariantCulture);
Core\CSharp\MS\Internal\FontCache\FontFaceLayoutInfo.cs (4)
1064internal static bool Contains(CultureInfo culture) 1069if (culture == CultureInfo.InvariantCulture) return true; 1094internal MajorLanguageDesc(CultureInfo culture, ScriptTags script, LanguageTags langSys) 1101internal readonly CultureInfo Culture;
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (3)
657if (!FontStyles.FontStyleStringToKnownStyle(GetAttributeValue(), CultureInfo.InvariantCulture, ref fontStyle)) 665if (!FontWeights.FontWeightStringToKnownWeight(GetAttributeValue(), CultureInfo.InvariantCulture, ref fontWeight)) 673if (!FontStretches.FontStretchStringToKnownStretch(GetAttributeValue(), CultureInfo.InvariantCulture, ref fontStretch))
Core\CSharp\MS\Internal\FontFace\FontDifferentiator.cs (3)
53parsedWeightName = ((IFormattable)fontWeight).ToString(null, CultureInfo.InvariantCulture); 56parsedStretchName = ((IFormattable)fontStretch).ToString(null, CultureInfo.InvariantCulture); 59parsedStyleName = ((IFormattable)fontStyle).ToString(null, CultureInfo.InvariantCulture);
Core\CSharp\MS\Internal\FontFace\IFontFamily.cs (2)
96CultureInfo culture, 97CultureInfo digitCulture,
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (6)
53private static IDictionary<XmlLanguage, string> ConvertDictionary(IDictionary<CultureInfo, string> dictionary) 56foreach (KeyValuePair<CultureInfo, string> pair in dictionary) 175CultureInfo digitCulture, 301CultureInfo digitCulture, 491CultureInfo culture, 492CultureInfo digitCulture,
Core\CSharp\MS\Internal\IListConverters.cs (14)
57public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value) 77public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 89internal abstract object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value); 94internal abstract object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType); 106internal sealed override object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value) 120internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 151internal override object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value) 162internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 192internal override object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value) 203internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 233internal override object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value) 245internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 278internal override object ConvertFromCore(ITypeDescriptorContext td, CultureInfo ci, string value) 283internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (2)
611string matrixString = matrix.ToString(System.Globalization.CultureInfo.InvariantCulture); 660Int32 stylusTip = Convert.ToInt32(da.StylusTip, System.Globalization.CultureInfo.InvariantCulture);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (2)
94cb.ToString(System.Globalization.CultureInfo.InvariantCulture) + ") != expected (" + 95size.ToString(System.Globalization.CultureInfo.InvariantCulture) + ")"));
Core\CSharp\MS\Internal\Ink\StrokeFIndices.cs (1)
149return fIndex.ToString(CultureInfo.InvariantCulture);
Core\CSharp\MS\Internal\Resources\ResourceManagerWrapper.cs (6)
59stream = this.ResourceManager.GetStream(name, CultureInfo.CurrentUICulture); 141CultureInfo ciNeutral = GetNeutralResourcesLanguage(); 192private CultureInfo GetNeutralResourcesLanguage( ) 198CultureInfo ciNeutral = CultureInfo.InvariantCulture; 250_resourceSet = manager.GetResourceSet(CultureInfo.InvariantCulture, true, false);
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (4)
247CultureInfo culture, 248CultureInfo digitCulture, 303CultureInfo culture, 304CultureInfo digitCulture,
Core\CSharp\MS\Internal\Shaping\GlyphingCache.cs (1)
50CultureInfo digitCulture,
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (23)
49private IDictionary<CultureInfo, IntMap> _intMaps = new Dictionary<CultureInfo, IntMap>(); 88CultureInfo digitCulture, 104CultureInfo culture = textRunProperties.CultureInfo; 246CultureInfo culture, 252CultureInfo digitCulture = ((MS.Internal.Text.TextInterface.ItemProps)itemSpan.element).DigitCulture; 323CultureInfo culture, 324CultureInfo digitCulture, 381CultureInfo culture, 382CultureInfo digitCulture, 436CultureInfo.InvariantCulture, 499CultureInfo culture, 500CultureInfo digitCulture, 679CultureInfo culture, 680CultureInfo digitCulture, 727CultureInfo culture, 728CultureInfo digitCulture, 780CultureInfo culture, 781CultureInfo digitCulture, 868CultureInfo culture, 869CultureInfo digitCulture, 992CultureInfo culture, 993CultureInfo digitCulture,
Core\CSharp\MS\Internal\TextFormatting\Bidi.cs (1)
2486counter.ToString(CultureInfo.InvariantCulture));
Core\CSharp\MS\Internal\TextFormatting\CultureMapper.cs (12)
31public static CultureInfo GetSpecificCulture(CultureInfo runCulture) 34CultureInfo specificCulture = TypeConverterHelper.InvariantEnglishUS; 47if (runCulture != CultureInfo.InvariantCulture) 63CultureInfo culture = CultureInfo.CreateSpecificCulture(cultureName); 86public CachedCultureMap(CultureInfo originalCulture, CultureInfo specificCulture) 96public CultureInfo OriginalCulture 106public CultureInfo SpecificCulture 111private CultureInfo _originalCulture; 112private CultureInfo _specificCulture;
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (1)
529CultureInfo textCulture;
Core\CSharp\MS\Internal\TextFormatting\GenericTextProperties.cs (3)
51CultureInfo culture, 179public override CultureInfo CultureInfo 216private CultureInfo _culture;
Core\CSharp\MS\Internal\TextFormatting\ITextSymbols.cs (1)
54CultureInfo digitCulture,
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (2)
1658internal static CultureInfo GetNumberCulture(TextRunProperties properties, out NumberSubstitutionMethod method) 1675return CultureInfo.CurrentCulture;
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (1)
558internal CultureInfo TextCulture
Core\CSharp\MS\Internal\TextFormatting\NumberSubstitution.cs (23)
23internal CultureInfo DigitCulture 53internal static NumberSubstitutionMethod GetResolvedSubstitutionMethod(TextRunProperties properties, CultureInfo digitCulture, out bool ignoreUserOverride) 61CultureInfo numberCulture = GetNumberCulture(properties, out method, out ignoreUserOverride); 103CultureInfo numberCulture = GetNumberCulture(properties, out method, out ignoreUserOverride); 116private static CultureInfo GetNumberCulture(TextRunProperties properties, out NumberSubstitutionMethod method, out bool ignoreUserOverride) 135return CultureInfo.CurrentCulture; 144private CultureInfo GetDigitCulture(CultureInfo numberCulture, NumberSubstitutionMethod method, out bool contextual) 170CultureInfo digitCulture; 209private static bool HasLatinDigits(CultureInfo culture) 221private static bool IsArabic(CultureInfo culture) 226private static bool IsFarsi(CultureInfo culture) 237private CultureInfo GetTraditionalCulture(CultureInfo numberCulture) 262CultureInfo digitCulture = null; 480private CultureInfo CreateTraditionalCulture(CultureInfo numberCulture, int firstDigit, bool arabic) 487CultureInfo digitCulture = (CultureInfo)numberCulture.Clone(); 533private CultureInfo _lastTraditionalCulture; 538private CultureInfo _lastNumberCulture; 540private CultureInfo _digitCulture; 554internal DigitMap(CultureInfo digitCulture)
Core\CSharp\MS\Internal\TextFormatting\TextMarkerSource.cs (1)
378return number.ToString(CultureInfo.InvariantCulture);
Core\CSharp\MS\Internal\TextFormatting\TextProperties.cs (3)
186private CultureInfo _digitCulture; 212CultureInfo digitCulture, 332internal CultureInfo DigitCulture
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (2)
146CultureInfo culture = CultureMapper.GetSpecificCulture(properties.CultureInfo); 299CultureInfo culture = null;
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (7)
431CultureInfo digitCulture = null; 942CultureInfo culture = CultureMapper.GetSpecificCulture(currentRunInfo.Properties == null ? null : currentRunInfo.Properties.CultureInfo); 1328CultureInfo digitCulture = null; 1519CultureInfo digitCulture, 1677CultureInfo digitCulture, 2095out CultureInfo textCulture, 2745internal DirectionClass GetEuropeanNumberClassOverride(CultureInfo cultureInfo)
Core\CSharp\System\Windows\CultureInfoConverter.cs (6)
91CultureInfo cultureInfo, 97return CultureInfo.GetCultureInfoByIetfLanguageTag(cultureName); 126CultureInfo cultureInfo, 135CultureInfo culture = value as CultureInfo; 144MethodInfo method = typeof(CultureInfo).GetMethod(
Core\CSharp\System\Windows\DurationConverter.cs (2)
65CultureInfo cultureInfo, 109CultureInfo cultureInfo,
Core\CSharp\System\Windows\FontStretchConverter.cs (2)
73public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value) 111public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\FontStyleConverter.cs (2)
73public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value) 111public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\FontWeightConverter.cs (2)
73public override object ConvertFrom(ITypeDescriptorContext td, CultureInfo ci, object value) 111public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Ink\StrokeCollectionConverter.cs (2)
82public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 131public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Input\Command\KeyGesture.cs (1)
162public string GetDisplayStringForCulture(CultureInfo culture)
Core\CSharp\System\Windows\Input\Command\KeyGestureConverter.cs (2)
88public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 148public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Input\Command\MouseActionConverter.cs (3)
83public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 88mouseActionToken = mouseActionToken.ToUpper(CultureInfo.InvariantCulture); 118public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Input\Command\MouseGestureConverter.cs (2)
61public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 150public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Input\CursorConverter.cs (2)
104public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 214public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Input\IInputLanguageSource.cs (1)
41CultureInfo CurrentInputLanguage
Core\CSharp\System\Windows\Input\InputLanguageEventArgs.cs (10)
31protected InputLanguageEventArgs(CultureInfo newLanguageId, CultureInfo previousLanguageId) 46public virtual CultureInfo NewLanguage 54public virtual CultureInfo PreviousLanguage 67private CultureInfo _newLanguageId; 69private CultureInfo _previousLanguageId; 95public InputLanguageChangedEventArgs(CultureInfo newLanguageId, CultureInfo previousLanguageId) : base(newLanguageId, previousLanguageId) 123public InputLanguageChangingEventArgs(CultureInfo newLanguageId, CultureInfo previousLanguageId) : base(newLanguageId, previousLanguageId)
Core\CSharp\System\Windows\Input\InputLanguageManager.cs (17)
44typeof(CultureInfo), 46new PropertyMetadata(CultureInfo.InvariantCulture) 52public static void SetInputLanguage(DependencyObject target, CultureInfo inputLanguage) 67public static CultureInfo GetInputLanguage(DependencyObject target) 74return (CultureInfo)(target.GetValue(InputLanguageProperty)); 175CultureInfo newLanguageId, 176CultureInfo previousLanguageId) 217CultureInfo newLanguageId, 218CultureInfo previousLanguageId) 282public CultureInfo CurrentInputLanguage 295return CultureInfo.InvariantCulture; 428CultureInfo culture = null; 435culture = (CultureInfo)focus.GetValue(InputLanguageProperty); 439(culture.Equals(CultureInfo.InvariantCulture))) 464CultureInfo previousLanguageId = _source.CurrentInputLanguage; 515private void SetSourceCurrentLanguageId(CultureInfo languageId) 551private CultureInfo _previousLanguageId;
Core\CSharp\System\Windows\Input\InputLanguageSource.cs (1)
114public CultureInfo CurrentInputLanguage
Core\CSharp\System\Windows\Input\InputMethod.cs (1)
1829CultureInfo inputLang = InputLanguageManager.Current.CurrentInputLanguage;
Core\CSharp\System\Windows\Input\InputScopeConverter.cs (2)
106public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 151public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Input\InputScopeNameConverter.cs (2)
93public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 137public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Markup\XmlLanguage.cs (17)
62private CultureInfo _equivalentCulture; 63private CultureInfo _specificCulture; 64private CultureInfo _compatibleCulture; 184public CultureInfo GetEquivalentCulture() 230public CultureInfo GetSpecificCulture() 240CultureInfo culture = GetCompatibleCulture(); 256culture = CultureInfo.CreateSpecificCulture(culture.Name); 275internal CultureInfo GetCompatibleCulture() 279CultureInfo culture = null; 292culture = CultureInfo.InvariantCulture; 353internal bool RangeIncludes(CultureInfo culture) 381CultureInfo parentCulture = culture.Parent; 384|| parentCulture.Equals(CultureInfo.InvariantCulture) 402CultureInfo compatibleCulture = GetCompatibleCulture(); 429private static int GetSpecificity(CultureInfo culture, int maxDepth) 564CultureInfo culture = null; 652private bool TryGetEquivalentCulture(out CultureInfo culture)
Core\CSharp\System\Windows\Markup\XmlLanguageConverter.cs (2)
84CultureInfo cultureInfo, 119CultureInfo cultureInfo,
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "BooleanKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ByteKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "CharKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ColorKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "DecimalKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "DoubleKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Int16Animation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int16KeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Int32Animation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int32KeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Int64Animation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int64KeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "MatrixKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ObjectKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Point3DKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "PointKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "QuaternionKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "RectKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Rotation3DKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "SingleKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "SizeKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "StringKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Vector3DKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
Core\CSharp\System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "VectorKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\KeySplineConverter.cs (3)
73CultureInfo cultureInfo, 109CultureInfo cultureInfo, 141cultureInfo != null ? cultureInfo.TextInfo.ListSeparator : CultureInfo.InvariantCulture.TextInfo.ListSeparator);
Core\CSharp\System\Windows\Media\Animation\KeyTimeConverter.cs (2)
75CultureInfo cultureInfo, 143CultureInfo cultureInfo,
Core\CSharp\System\Windows\Media\Animation\RepeatBehaviorConverter.cs (2)
71CultureInfo cultureInfo, 119CultureInfo cultureInfo,
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
159Invariant.Assert(false, String.Format(CultureInfo.InvariantCulture, "IWICColorContext::GetExifColorSpace returned {0}.", colorSpace));
Core\CSharp\System\Windows\Media\ColorConverter.cs (2)
81public override object ConvertFrom(ITypeDescriptorContext td, System.Globalization.CultureInfo ci, object value) 115public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\FamilyMap.cs (1)
220internal static bool MatchCulture(XmlLanguage familyMapLanguage, CultureInfo culture)
Core\CSharp\System\Windows\Media\FontFamilyConverter.cs (5)
89public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo cultureInfo, object o) 137public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 169CultureInfo parentCulture = null; 172if (culture.Equals(CultureInfo.InvariantCulture)) 180(parentCulture.Equals(CultureInfo.InvariantCulture) || parentCulture == culture))
Core\CSharp\System\Windows\Media\FormattedText.cs (11)
54CultureInfo culture, 84CultureInfo culture, 118CultureInfo culture, 150CultureInfo culture, 184CultureInfo culture, 209CultureInfo culture, 221private void InitFormattedText(string textToFormat, CultureInfo culture, FlowDirection flowDirection, Typeface typeface, 290private static void ValidateCulture(CultureInfo culture) 519public void SetCulture(CultureInfo culture) 530public void SetCulture(CultureInfo culture, int startIndex, int count) 1912CultureInfo culture = null;
Core\CSharp\System\Windows\Media\Generated\BrushConverter.cs (2)
114public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 145public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\CacheModeConverter.cs (2)
114public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 145public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\DoubleCollectionConverter.cs (2)
99public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 130public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\GeometryConverter.cs (2)
114public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 145public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\Int32CollectionConverter.cs (2)
99public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 130public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\PathFigureCollectionConverter.cs (2)
114public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 145public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\PointCollectionConverter.cs (2)
99public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 130public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\TransformConverter.cs (2)
114public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 145public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\VectorCollectionConverter.cs (2)
99public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 130public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\GlyphsSerializer.cs (6)
184_glyphStringBuider.Append(fontIndex.ToString(CultureInfo.InvariantCulture)); 194_glyphStringBuider.Append(normalizedAdvance.ToString(CultureInfo.InvariantCulture)); 206_glyphStringBuider.Append(offset.ToString(CultureInfo.InvariantCulture)); 213_glyphStringBuider.Append(offset.ToString(CultureInfo.InvariantCulture)); 239_indicesStringBuider.AppendFormat(CultureInfo.InvariantCulture, "({0}:{1})", charactersInCluster, glyphsInCluster); 244_indicesStringBuider.AppendFormat(CultureInfo.InvariantCulture, "({0})", charactersInCluster);
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (18)
427public IDictionary<CultureInfo,string> FamilyNames 460public IDictionary<CultureInfo, string> FaceNames 490public IDictionary<CultureInfo, string> Win32FamilyNames 517IDictionary<CultureInfo, string> adjustedFaceNames = _font.FaceNames; 520foreach (KeyValuePair<CultureInfo, string> pair in adjustedFaceNames) 537public IDictionary<CultureInfo, string> Win32FaceNames 557public IDictionary<CultureInfo, string> VersionStrings 576public IDictionary<CultureInfo, string> Copyrights 595public IDictionary<CultureInfo, string> ManufacturerNames 616public IDictionary<CultureInfo, string> Trademarks 635public IDictionary<CultureInfo, string> DesignerNames 655public IDictionary<CultureInfo, string> Descriptions 676public IDictionary<CultureInfo, string> VendorUrls 695public IDictionary<CultureInfo, string> DesignerUrls 716public IDictionary<CultureInfo, string> LicenseDescriptions 736public IDictionary<CultureInfo, string> SampleTexts 1736CultureInfo cultureInfo, 2003private IDictionary<CultureInfo, string> GetFontInfo(MS.Internal.Text.TextInterface.InformationalStringID informationalStringID)
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (2)
109public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 214public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (3)
1432return System.Convert.ToInt32(rating, CultureInfo.InvariantCulture); 1439SetQuery(policy_Rating, System.Convert.ToUInt16(value, CultureInfo.InvariantCulture)); 1491DateTime dt = System.Convert.ToDateTime(value, CultureInfo.InvariantCulture);
Core\CSharp\System\Windows\Media\KnownColors.cs (2)
290string colorUpper = colorString.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 682string argbUpper = argbString.Trim().ToUpper(System.Globalization.CultureInfo.InvariantCulture);
Core\CSharp\System\Windows\Media\ParsersCommon.cs (1)
532_formatProvider = System.Globalization.CultureInfo.InvariantCulture;
Core\CSharp\System\Windows\Media\PixelFormat.cs (1)
244string upperPixelFormatString = pixelFormatString.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
Core\CSharp\System\Windows\Media\PixelFormatConverter.cs (2)
85public override object ConvertFrom(ITypeDescriptorContext td, System.Globalization.CultureInfo ci, object o) 108public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\RequestCachePolicyConverter.cs (2)
75public override object ConvertFrom(ITypeDescriptorContext td, System.Globalization.CultureInfo ci, object value) 118CultureInfo cultureInfo,
Core\CSharp\System\Windows\Media\TextFormatting\CultureSpecificCharacterBufferRange.cs (3)
26private CultureInfo _culture; 32public CultureSpecificCharacterBufferRange(CultureInfo culture, CharacterBufferRange characterBufferRange) 41public CultureInfo CultureInfo
Core\CSharp\System\Windows\Media\TextFormatting\NumberSubstitution.cs (12)
55CultureInfo cultureOverride, 88public CultureInfo CultureOverride 100private static CultureInfo ThrowIfInvalidCultureOverride(CultureInfo culture) 115private static bool IsValidCultureOverride(CultureInfo culture) 120!(culture.IsNeutralCulture || culture.Equals(CultureInfo.InvariantCulture)); 131return IsValidCultureOverride((CultureInfo)value); 192typeof(CultureInfo), 201public static void SetCultureOverride(DependencyObject target, CultureInfo value) 216public static CultureInfo GetCultureOverride(DependencyObject target) 223return (CultureInfo)(target.GetValue(CultureOverrideProperty)); 297private CultureInfo _cultureOverride;
Core\CSharp\System\Windows\Media\TextFormatting\TextCharacters.cs (1)
206CultureInfo digitCulture,
Core\CSharp\System\Windows\Media\TextFormatting\TextLexicalService.cs (2)
40public abstract bool IsCultureSupported(CultureInfo culture); 57CultureInfo textCulture
Core\CSharp\System\Windows\Media\TextFormatting\TextRunProperties.cs (1)
77public abstract CultureInfo CultureInfo
Core\CSharp\System\Windows\Media\Typeface.cs (1)
379CultureInfo cultureInfo,
Core\CSharp\System\Windows\Media\Visual.cs (1)
2021String.Format(System.Globalization.CultureInfo.InvariantCulture,
Core\CSharp\System\Windows\Media3D\Generated\Matrix3DConverter.cs (2)
95public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (2)
95public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\Point3DConverter.cs (2)
95public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\Point4DConverter.cs (2)
95public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\QuaternionConverter.cs (2)
95public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\Rect3DConverter.cs (2)
95public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\Size3DConverter.cs (2)
95public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (2)
95public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\Vector3DConverter.cs (2)
95public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\HitTestParameters3D.cs (1)
17using CultureInfo = System.Globalization.CultureInfo;
Core\CSharp\System\Windows\Media3D\MatrixCamera.cs (1)
15using CultureInfo = System.Globalization.CultureInfo;
Core\CSharp\System\Windows\Media3D\OrthographicCamera.cs (1)
15using CultureInfo = System.Globalization.CultureInfo;
Core\CSharp\System\Windows\Media3D\PerspectiveCamera.cs (1)
15using CultureInfo = System.Globalization.CultureInfo;
Core\CSharp\System\Windows\Media3D\RayHitTestParameters.cs (1)
17using CultureInfo = System.Globalization.CultureInfo;
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
679String.Format(System.Globalization.CultureInfo.InvariantCulture,
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (1)
587CultureInfo.InvariantCulture,
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
693keyToken[i] = byte.Parse(byteString, NumberStyles.HexNumber, CultureInfo.InvariantCulture);
Core\CSharp\System\Windows\RoutedEvent.cs (1)
108return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", _ownerType.Name, _name );
Core\CSharp\system\windows\TextDecorationCollectionConverter.cs (2)
75public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object input) 188public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Shared\MS\Internal\MimeTypeMapper.cs (1)
151extension = extensionWithDot.Substring(1).ToLower(CultureInfo.InvariantCulture);
Shared\MS\Internal\SafeSecurityHelper.cs (5)
187CultureInfo reqCulture = assemblyName.CultureInfo; 194CultureInfo curCulture = curAsmName.CultureInfo; 438static internal CultureInfo GetCultureInfoByIetfLanguageTag(string languageTag) 440CultureInfo culture = null; 446culture = CultureInfo.GetCultureInfoByIetfLanguageTag(languageTag);
Shared\System\Windows\Ink\KnownIds.cs (1)
315System.Globalization.CultureInfo.InvariantCulture) )
PresentationFramework (547)
src\Framework\MS\Internal\AppModel\AssemblyFilter.cs (2)
119return ((sb.ToString()).ToLower(System.Globalization.CultureInfo.InvariantCulture)).Trim(); 173_assemblyList.Value.Add(assemblyName.ToLower(System.Globalization.CultureInfo.InvariantCulture).Trim());
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (2)
110String clrProductName = resourceManager.GetString("PlatformMicrosoftCommonLanguageRuntime", CultureInfo.CurrentUICulture); 111String versionString = resourceManager.GetString("PlatformDependentAssemblyVersion", CultureInfo.CurrentUICulture);
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (16)
228double height = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture); 243double width = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture); 258bool expanded = Convert.ToBoolean(node.Value, CultureInfo.InvariantCulture); 273((IAnnotationComponent)snc).ZOrder = Convert.ToInt32(node.Value, CultureInfo.InvariantCulture); 286double left = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture); 306double top = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture); 317snc.XOffset = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture); 326snc.YOffset = Convert.ToDouble(node.Value, CultureInfo.InvariantCulture); 816sncAnnotation.UpdateAttribute(root, XmlToken.IsExpanded, expanded.ToString(CultureInfo.InvariantCulture)); 824sncAnnotation.UpdateAttribute(root, XmlToken.Height, height.ToString(CultureInfo.InvariantCulture)); 832sncAnnotation.UpdateAttribute(root, XmlToken.Width, width.ToString(CultureInfo.InvariantCulture)); 849sncAnnotation.UpdateAttribute(root, XmlToken.Left, left.ToString(CultureInfo.InvariantCulture)); 855sncAnnotation.UpdateAttribute(root, XmlToken.Top, snc.PositionTransform.Y.ToString(CultureInfo.InvariantCulture)); 861sncAnnotation.UpdateAttribute(root, XmlToken.XOffset, snc.XOffset.ToString(CultureInfo.InvariantCulture)); 867sncAnnotation.UpdateAttribute(root, XmlToken.YOffset, snc.YOffset.ToString(CultureInfo.InvariantCulture)); 873sncAnnotation.UpdateAttribute(root, XmlToken.ZOrder, ((IAnnotationComponent)snc).ZOrder.ToString(CultureInfo.InvariantCulture));
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (3)
102internal CultureInfo Culture 682nameStr = nameStr.ToUpper(CultureInfo.CurrentCulture); 835public override object GroupNameFromItem(object item, int level, System.Globalization.CultureInfo culture)
src\Framework\MS\Internal\Data\CollectionViewProxy.cs (1)
66public override System.Globalization.CultureInfo Culture
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (18)
202internal static object TryParse(object o, Type targetType, CultureInfo culture) 257protected object ConvertFrom(object o, Type destinationType, DependencyObject targetElement, CultureInfo culture) 262protected object ConvertTo(object o, Type destinationType, DependencyObject targetElement, CultureInfo culture) 282private object ConvertHelper(object o, Type destinationType, DependencyObject targetElement, CultureInfo culture, bool isForward) 405public object Convert(object o, Type type, object parameter, CultureInfo culture) 410public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 440public object Convert(object o, Type type, object parameter, CultureInfo culture) 445public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 463public object Convert(object o, Type type, object parameter, CultureInfo culture) 468public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 577public object Convert(object o, Type type, object parameter, CultureInfo culture) 583public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 624public object Convert(object o, Type type, object parameter, CultureInfo culture) 641public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 667public object Convert(object o, Type type, object parameter, CultureInfo culture) 680public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 710public object Convert(object o, Type type, object parameter, CultureInfo culture) 715public object ConvertBack(object o, Type type, object parameter, CultureInfo culture)
src\Framework\MS\Internal\Data\DynamicValueConverter.cs (3)
42return Convert(value, targetType, null, CultureInfo.InvariantCulture); 45public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 70public object ConvertBack(object value, Type sourceType, object parameter, CultureInfo culture)
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
86public override System.Globalization.CultureInfo Culture
src\Framework\MS\Internal\Data\IndexerPropertyInfo.cs (2)
68public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, System.Globalization.CultureInfo culture) 79public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, System.Globalization.CultureInfo culture)
src\Framework\MS\Internal\Data\ObjectRef.cs (3)
290return String.Format(CultureInfo.InvariantCulture, 344s = String.Format(CultureInfo.InvariantCulture, 351s = String.Format(CultureInfo.InvariantCulture,
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (2)
301CultureInfo.InvariantCulture); 387CultureInfo.InvariantCulture);
src\Framework\MS\Internal\Data\SortFieldComparer.cs (3)
40internal SortFieldComparer(SortDescriptionCollection sortFields, CultureInfo culture) 46_comparer = (culture == null || culture == CultureInfo.InvariantCulture) ? Comparer.DefaultInvariant 47: (culture == CultureInfo.CurrentCulture) ? Comparer.Default
src\Framework\MS\Internal\Data\XDeferredAxisSource.cs (1)
88CultureInfo.InvariantCulture)
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (5)
122CultureInfo cultureInfo = GetDocumentCultureInfo(textContainer); 257private static CultureInfo GetDocumentCultureInfo(ITextContainer textContainer) 259CultureInfo cultureInfo = null; 280cultureInfo = CultureInfo.CurrentCulture; 303messageString = String.Format(System.Globalization.CultureInfo.CurrentCulture, messageString, findToolBar.SearchText);
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
116CultureInfo culture = null;
src\Framework\MS\Internal\Ink\StrokeCollectionDefaultValueFactory.cs (1)
46string.Format(System.Globalization.CultureInfo.InvariantCulture, "The DependencyProperty {0} has to be type of StrokeCollection.", property));
src\Framework\MS\Internal\Interop\InternalDispatchObject.cs (2)
134object IReflect.InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters) 139int dispid = int.Parse(name.Substring(8, name.Length-9), CultureInfo.InvariantCulture);
src\Framework\MS\Internal\IO\Packaging\CorePropertiesFilter.cs (1)
47(uint)CultureInfo.InvariantCulture.LCID,
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (2)
869return (uint)CultureInfo.InvariantCulture.LCID; 875CultureInfo cultureInfo = new CultureInfo(languageString);
src\Framework\MS\Internal\IO\Packaging\XmlFixedPageInfo.cs (1)
138string glyphRunQuery = String.Format(CultureInfo.InvariantCulture, ".//*[namespace-uri()='{0}' and local-name()='{1}']",
src\Framework\MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (2)
202CultureInfo cultureInfo = lang.GetCompatibleCulture(); 215_languageID = checked((uint)CultureInfo.InvariantCulture.LCID);
src\Framework\MS\Internal\LayoutDump.cs (30)
49StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture); 109StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture); 345writer.WriteAttributeString("Count", count.ToString(CultureInfo.InvariantCulture)); 369writer.WriteAttributeString("Count", uiElements.Count.ToString(CultureInfo.InvariantCulture)); 386writer.WriteAttributeString("Left", point.X.ToString("F", CultureInfo.InvariantCulture)); 387writer.WriteAttributeString("Top", point.Y.ToString("F", CultureInfo.InvariantCulture)); 397writer.WriteAttributeString("Width", size.Width.ToString ("F", CultureInfo.InvariantCulture)); 398writer.WriteAttributeString("Height", size.Height.ToString("F", CultureInfo.InvariantCulture)); 408writer.WriteAttributeString("Left", rect.Left.ToString ("F", CultureInfo.InvariantCulture)); 409writer.WriteAttributeString("Top", rect.Top.ToString ("F", CultureInfo.InvariantCulture)); 410writer.WriteAttributeString("Width", rect.Width.ToString ("F", CultureInfo.InvariantCulture)); 411writer.WriteAttributeString("Height", rect.Height.ToString("F", CultureInfo.InvariantCulture)); 499writer.WriteAttributeString("BaselineOffset", ((double)text.GetValue(TextBlock.BaselineOffsetProperty)).ToString("F", CultureInfo.InvariantCulture)); 588writer.WriteAttributeString("Count", flowDocumentPage.FormattedLinesCount.ToString(CultureInfo.InvariantCulture)); 608writer.WriteAttributeString("Start", cpStart.ToString(CultureInfo.InvariantCulture)); 609writer.WriteAttributeString("Length", (cpEnd - cpStart).ToString(CultureInfo.InvariantCulture)); 622writer.WriteAttributeString("Start", cpStart.ToString(CultureInfo.InvariantCulture)); 623writer.WriteAttributeString("Length", (cpEnd - cpStart).ToString(CultureInfo.InvariantCulture)); 633writer.WriteAttributeString("Start", cpStart.ToString(CultureInfo.InvariantCulture)); 634writer.WriteAttributeString("Length", (cpEnd - cpStart).ToString(CultureInfo.InvariantCulture)); 637writer.WriteAttributeString("HiddenLength", (cpEnd - cpContentEnd).ToString(CultureInfo.InvariantCulture)); 641writer.WriteAttributeString("EllipsesLength", (cpEnd - cpEllipses).ToString(CultureInfo.InvariantCulture)); 655writer.WriteAttributeString("Count", lines.Count.ToString(CultureInfo.InvariantCulture)); 696writer.WriteAttributeString("Count", paragraphs.Count.ToString(CultureInfo.InvariantCulture)); 883writer.WriteAttributeString("Count", columns.Count.ToString(CultureInfo.InvariantCulture)); 941writer.WriteAttributeString("Count", count.ToString(CultureInfo.InvariantCulture)); 973writer.WriteAttributeString("ColumnIndex", columnIndex.ToString(CultureInfo.InvariantCulture)); 981writer.WriteAttributeString("RowIndex", rowIndex.ToString(CultureInfo.InvariantCulture)); 984writer.WriteAttributeString("ColumnSpan", cell.ColumnSpan.ToString(CultureInfo.InvariantCulture)); 985writer.WriteAttributeString("RowSpan", cell.RowSpan.ToString(CultureInfo.InvariantCulture));
src\Framework\MS\Internal\PtsHost\Line.cs (1)
202CultureInfo culture = null;
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (1)
152CultureInfo culture = null;
src\Framework\MS\Internal\SystemXmlHelper.cs (1)
50internal static IComparer PrepareXmlComparer(IEnumerable collection, SortDescriptionCollection sort, CultureInfo culture)
src\Framework\MS\Internal\Text\ComplexLine.cs (1)
92CultureInfo culture = null;
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (2)
309internal static CultureInfo GetCultureInfo(DependencyObject element) 331numberSubstitution.CultureOverride = (CultureInfo)element.GetValue(NumberSubstitution.CultureOverrideProperty);
src\Framework\MS\Internal\Text\SimpleLine.cs (1)
85CultureInfo culture = null;
src\Framework\MS\Internal\Text\TextProperties.cs (2)
85public override CultureInfo CultureInfo { get { return _cultureInfo; } } 364private CultureInfo _cultureInfo;
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
225public override CultureInfo CultureInfo
src\Framework\MS\Internal\Utility\TraceLog.cs (3)
40string s = DateTime.Now.Ticks.ToString(CultureInfo.InvariantCulture) 42+ String.Format(CultureInfo.InvariantCulture, message, args); 65return String.Format(CultureInfo.InvariantCulture, "{0}.{1}",
src\Framework\System\Windows\Application.cs (1)
2611string regPath = string.Format(CultureInfo.InvariantCulture, SYSTEM_SOUNDS_REGISTRY_LOCATION, soundName);
src\Framework\System\Windows\Automation\Peers\DocumentPageViewAutomationPeer.cs (1)
68result = String.Format(CultureInfo.InvariantCulture, "DocumentPage{0}", owner.PageNumber + 1);
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (2)
159throw new ArgumentOutOfRangeException("horizontalPercent", SR.Get(SRID.ScrollViewer_OutOfRange, "horizontalPercent", horizontalPercent.ToString(CultureInfo.InvariantCulture), "0", "100")); 163throw new ArgumentOutOfRangeException("verticalPercent", SR.Get(SRID.ScrollViewer_OutOfRange, "verticalPercent", verticalPercent.ToString(CultureInfo.InvariantCulture), "0", "100"));
src\Framework\System\Windows\ComponentResourceKeyConverter.cs (2)
80public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 103public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\Condition.cs (1)
326private CultureInfo _cultureInfoForTypeConverter = null;
src\Framework\System\Windows\Controls\AlternationConverter.cs (2)
39public object Convert (object o, Type targetType, object parameter, CultureInfo culture) 56public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\BooleanToSelectiveScrollingOrientationConverter.cs (2)
27public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 46public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\BooleanToVisibilityConverter.cs (2)
34public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 57public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\BorderGapMaskConverter.cs (2)
37public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 144public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\ContentPresenter.cs (2)
1058EventTrace.EventProvider.TraceEvent(EventTrace.Event.WClientStringEnd, EventTrace.Keyword.KeywordGeneral, EventTrace.Level.Info, String.Format(System.Globalization.CultureInfo.InvariantCulture, "ContentPresenter.BuildVisualTree for CP {0}", container.GetHashCode())); 1100System.Globalization.CultureInfo culture = language.GetSpecificCulture();
src\Framework\System\Windows\Controls\ConversionValidationRule.cs (1)
39public override ValidationResult Validate(object value, CultureInfo cultureInfo)
src\Framework\System\Windows\Controls\DataErrorValidationRule.cs (1)
44public override ValidationResult Validate(object value, CultureInfo cultureInfo)
src\Framework\System\Windows\Controls\DataGridClipboardHelper.cs (5)
32FormatPlainText(cellValue.ToString(), csv, new StringWriter(sb, CultureInfo.CurrentCulture), ref escapeApplied); 61FormatPlainTextAsHtml(cellValue.ToString(), new StringWriter(sb, CultureInfo.CurrentCulture)); 92string prefix = string.Format(CultureInfo.InvariantCulture, DATAGRIDVIEW_htmlPrefix, bytecountEndOfHtml.ToString("00000000", CultureInfo.InvariantCulture), bytecountEndOfFragment.ToString("00000000", CultureInfo.InvariantCulture)) + DATAGRIDVIEW_htmlStartFragment;
src\Framework\System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (2)
28public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 66public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\DataGridLength.cs (1)
293return DataGridLengthConverter.ConvertToString(this, CultureInfo.InvariantCulture);
src\Framework\System\Windows\Controls\DataGridLengthConverter.cs (4)
73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 135CultureInfo culture, 170internal static string ConvertToString(DataGridLength length, CultureInfo cultureInfo) 206private static DataGridLength ConvertFromString(string s, CultureInfo cultureInfo)
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 (13)
107return GetDateFormat(CultureInfo.CurrentCulture); 110internal static CultureInfo GetCulture(FrameworkElement element) 113CultureInfo culture; 120culture = CultureInfo.CurrentCulture; 125internal static DateTimeFormatInfo GetDateFormat(CultureInfo culture) 159dtfi = ((CultureInfo)CultureInfo.InvariantCulture.Clone()).DateTimeFormat; 164dtfi = ((CultureInfo)culture.Clone()).DateTimeFormat; 193public static string ToDayString(DateTime? date, CultureInfo culture) 223public static string ToYearMonthPatternString(DateTime? date, CultureInfo culture) 236public static string ToYearString(DateTime? date, CultureInfo culture) 249public static string ToAbbreviatedMonthString( DateTime? date, CultureInfo culture) 266public static string ToLongDateString(DateTime? date, CultureInfo culture)
src\Framework\System\Windows\Controls\DocumentViewer.cs (3)
2005columnValue = System.Convert.ToInt32((string)data, CultureInfo.CurrentCulture); 2059null, CultureInfo.InvariantCulture); 2271CultureInfo.CurrentCulture,
src\Framework\System\Windows\Controls\ExceptionValidationRule.cs (1)
46public override ValidationResult Validate(object value, CultureInfo cultureInfo)
src\Framework\System\Windows\Controls\InkCanvas.cs (3)
591string.Format(System.Globalization.CultureInfo.InvariantCulture, "Unknown dependency property detected - {0}.", e.Property)); 3160public object Convert(object o, Type type, object parameter, System.Globalization.CultureInfo culture) 3175public object ConvertBack(object o, Type type, object parameter, System.Globalization.CultureInfo culture)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (3)
119label = Host.GetHashCode().ToString(CultureInfo.InvariantCulture); 121String.Format(CultureInfo.InvariantCulture, "ItemContainerGenerator for {0} {1} - {2} items", Host.GetType().Name, label, _itemsGenerated)); 1064CultureInfo enUS = System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS;
src\Framework\System\Windows\Controls\MenuItem.cs (1)
1136return keyGesture.GetDisplayStringForCulture(CultureInfo.CurrentCulture);
src\Framework\System\Windows\Controls\MenuScrollingVisibilityConverter.cs (2)
45public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 122public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\NotifyDataErrorValidationRule.cs (1)
44public override ValidationResult Validate(object value, CultureInfo cultureInfo)
src\Framework\System\Windows\Controls\PageRanges.cs (2)
154rangeText = String.Format(CultureInfo.InvariantCulture, SR.Get(SRID.PrintDialogPageRange), _pageFrom, _pageTo); 158rangeText = _pageFrom.ToString(CultureInfo.InvariantCulture);
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
1053CultureInfo culture = DateTimeHelper.GetCulture(this);
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
157string.Format(CultureInfo.InvariantCulture, SR.Get(SRID.DatePickerTextBox_TemplatePartIsOfIncorrectType), partName, typeof(T).Name));
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1577pageNumber = Convert.ToInt32(args.Parameter, System.Globalization.CultureInfo.CurrentCulture);
src\Framework\System\Windows\Controls\StickyNote.cs (4)
1951public object Convert(object o, Type type, object parameter, CultureInfo culture) 1967public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 1977public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 1995public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (2)
161return (val is XmlLanguage) ? ((XmlLanguage)val).GetEquivalentCulture().LCID : CultureInfo.InvariantCulture.LCID; 1795ITextRange findResult = TextFindEngine.Find(_start, _end, text, findFlags, CultureInfo.CurrentCulture);
src\Framework\System\Windows\Controls\TextSearch.cs (5)
318private static void GetMatchingPrefixAndRemainingTextLength(string matchedText, string newText, CultureInfo cultureInfo, 437CultureInfo cultureInfo = GetCulture(itemsControl); 538CultureInfo cultureInfo = GetCulture(itemsControl); 831private static CultureInfo GetCulture(DependencyObject element) 834CultureInfo culture = null;
src\Framework\System\Windows\Controls\ValidationRule.cs (3)
61public abstract ValidationResult Validate(object value, CultureInfo cultureInfo); 63public virtual ValidationResult Validate(object value, CultureInfo cultureInfo, BindingExpressionBase owner) 76public virtual ValidationResult Validate(object value, CultureInfo cultureInfo, BindingGroup owner)
src\Framework\System\Windows\Controls\VirtualizationCacheLength.cs (1)
172return VirtualizationCacheLengthConverter.ToString(this, CultureInfo.InvariantCulture);
src\Framework\System\Windows\Controls\VirtualizationCacheLengthConverter.cs (4)
103public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source) 144public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType) 187static internal string ToString(VirtualizationCacheLength cacheLength, CultureInfo cultureInfo) 208static internal VirtualizationCacheLength FromString(string s, CultureInfo cultureInfo)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (8)
11878if (Int32.TryParse(a[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out flushDepth)) 11887if (Int32.TryParse(a[2], NumberStyles.Integer, CultureInfo.InvariantCulture, out luThreshold)) 12129return String.Format(CultureInfo.InvariantCulture, s_format[length], args); 12657return String.Format(CultureInfo.InvariantCulture, "{0} {1} {2} {3} {4}", 12820return String.Format(CultureInfo.InvariantCulture, "{0} ds: {1} ar: {2} in: {3}", 12894return String.Format(CultureInfo.InvariantCulture, "{0}", g.IndexFromContainer(container, returnLocalIndex:true)); 12903return String.Format(CultureInfo.InvariantCulture, "{0}", localIndex); 12907return String.Format(CultureInfo.InvariantCulture, "{0}.{1}",
src\Framework\System\Windows\CornerRadius.cs (1)
108return CornerRadiusConverter.ToString(this, CultureInfo.InvariantCulture);
src\Framework\System\Windows\CornerRadiusConverter.cs (4)
105public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source) 140public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType) 182static internal string ToString(CornerRadius cr, CultureInfo cultureInfo) 202static internal CornerRadius FromString(string s, CultureInfo cultureInfo)
src\Framework\System\Windows\Data\Binding.cs (3)
508public CultureInfo ConverterCulture 510get { return (CultureInfo)GetValue(Feature.Culture, null); } 751internal override CultureInfo ConverterCultureInternal
src\Framework\System\Windows\Data\BindingBase.cs (1)
379internal virtual CultureInfo ConverterCultureInternal
src\Framework\System\Windows\Data\BindingExpression.cs (5)
1521CultureInfo culture = null; 1591ValidationError RunValidationRule(ValidationRule validationRule, object value, CultureInfo culture) 1617private object ConvertHelper(IValueConverter converter, object value, Type targetType, object parameter, CultureInfo culture) 1690CultureInfo culture) 1846CultureInfo culture = GetCulture();
src\Framework\System\Windows\Data\BindingExpressionBase.cs (4)
1189CultureInfo culture = GetCulture(); 1264internal CultureInfo GetCulture() 1299return (CultureInfo)_culture; 2201result = converter.ConvertFrom(null, CultureInfo.InvariantCulture, value);
src\Framework\System\Windows\Data\BindingGroup.cs (4)
989CultureInfo culture = GetCulture(); 1223CultureInfo culture = GetCulture(); 1312CultureInfo GetCulture() 1566CultureInfo _culture;
src\Framework\System\Windows\Data\CollectionView.cs (2)
174public virtual CultureInfo Culture 2179CultureInfo _culture; // culture to use when sorting
src\Framework\System\Windows\Data\CollectionViewSource.cs (2)
216public CultureInfo Culture 1269CultureInfo _culture;
src\Framework\System\Windows\Data\IMultiValueConverter.cs (2)
58object Convert(object[] values, Type targetType, object parameter, CultureInfo culture); 98object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture);
src\Framework\System\Windows\Data\IValueConverter.cs (2)
68object Convert(object value, Type targetType, object parameter, CultureInfo culture); 95object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture);
src\Framework\System\Windows\Data\MultiBinding.cs (3)
233public CultureInfo ConverterCulture 235get { return (CultureInfo)GetValue(Feature.Culture, null); } 432internal override CultureInfo ConverterCultureInternal
src\Framework\System\Windows\Data\MultiBindingExpression.cs (2)
629CultureInfo culture = GetCulture(); 1162CultureInfo culture = GetCulture();
src\Framework\System\Windows\Data\ObjectDataProvider.cs (2)
461System.Globalization.CultureInfo.InvariantCulture); 540System.Globalization.CultureInfo.InvariantCulture);
src\Framework\System\Windows\Data\PropertyGroupDescription.cs (1)
193public override object GroupNameFromItem(object item, int level, CultureInfo culture)
src\Framework\System\Windows\DeferrableContentConverter.cs (1)
39public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
src\Framework\System\Windows\DialogResultConverter.cs (2)
62CultureInfo cultureInfo, 73CultureInfo cultureInfo,
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
185int pageNumber = Convert.ToInt32(elementID, CultureInfo.InvariantCulture) - 1;
src\Framework\System\Windows\Documents\DPTypeDescriptorContext.cs (5)
68else if (typeof(CultureInfo).IsAssignableFrom(property.PropertyType)) //NumberSubstitution.CultureOverrideProperty 70stringValue = CultureInfoFixup(property, (CultureInfo)propertyValue); 82context, System.Globalization.CultureInfo.InvariantCulture, propertyValue, typeof(string)); 123private static string CultureInfoFixup(DependencyProperty property, CultureInfo cultureInfo) 141context, System.Globalization.CultureInfo.InvariantCulture, cultureInfo, typeof(string));
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
230int pageNumber = Convert.ToInt32(elementID, CultureInfo.InvariantCulture); 705ApplicationException ae = new ApplicationException(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.Get(SRID.ExceptionInGetPage), index), e);
src\Framework\System\Windows\Documents\FixedFindEngine.cs (4)
33CultureInfo cultureInfo, 230CultureInfo cultureInfo, 253private static CompareOptions _InitializeSearch (CultureInfo cultureInfo, 425bidiLevel = Convert.ToInt32(bidiLevelAsString, CultureInfo.InvariantCulture);
src\Framework\System\Windows\Documents\FixedPageStructure.cs (1)
27using CultureInfo = System.Globalization.CultureInfo;
src\Framework\System\Windows\Documents\FixedSOMPage.cs (2)
134internal CultureInfo CultureInfo 153private CultureInfo _cultureInfo;
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (2)
288public CultureInfo CultureInfo 422private CultureInfo _cultureInfo;
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (5)
63internal static CultureInfo[] AdjacentLanguage = 78internal static bool AlwaysAdjacent(CultureInfo ci) 80foreach (CultureInfo cultureInfo in AdjacentLanguage) 665internal static bool IsNonContiguous(CultureInfo ciPrev, 666CultureInfo ciCurrent,
src\Framework\System\Windows\Documents\Glyphs.cs (7)
451characterClusterSize = int.Parse(characterClusterSpec, CultureInfo.InvariantCulture); 459characterClusterSize = int.Parse(characterClusterSpec, CultureInfo.InvariantCulture); 461glyphClusterSize = int.Parse(glyphClusterSpec, CultureInfo.InvariantCulture); 469glyphIndex = ushort.Parse(glyphIndexString, CultureInfo.InvariantCulture); 623parsedGlyphData.advanceWidth = double.Parse(valueSpec, CultureInfo.InvariantCulture); 632parsedGlyphData.offsetX = double.Parse(valueSpec, CultureInfo.InvariantCulture); 638parsedGlyphData.offsetY = double.Parse(valueSpec, CultureInfo.InvariantCulture);
src\Framework\System\Windows\Documents\NaturalLanguageHyphenator.cs (3)
107public override bool IsCultureSupported(CultureInfo culture) 131CultureInfo textCulture 158((textCulture != null && textCulture != CultureInfo.InvariantCulture) ? textCulture.LCID : 0),
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (3)
160internal override void SetLocale(CultureInfo culture) 477internal override void SetReformMode(CultureInfo culture, SpellingReform spellingReform) 533internal override bool CanSpellCheck(CultureInfo culture)
src\Framework\System\Windows\Documents\RtfToXamlLexer.cs (2)
39_currentCodePage = CultureInfo.CurrentCulture.TextInfo.ANSICodePage; 575controlName = controlName.ToLower(CultureInfo.InvariantCulture);
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (34)
188return px.ToString("f2", CultureInfo.InvariantCulture); 194return px.ToString("f2", CultureInfo.InvariantCulture); 200return px.ToString("f2", CultureInfo.InvariantCulture); 243d = System.Convert.ToDouble(s, CultureInfo.InvariantCulture); 264i = System.Convert.ToInt32(s, CultureInfo.InvariantCulture); 308i = System.Int32.Parse(s, System.Globalization.NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture); 495return nCount.ToString(CultureInfo.InvariantCulture); 598return sb.ToString().ToLower(CultureInfo.InvariantCulture); 670return sb.ToString().ToLower(CultureInfo.InvariantCulture); 1993sb.Append(EffectiveWidth.ToString(CultureInfo.InvariantCulture)); 1997sb.Append(CF.ToString(CultureInfo.InvariantCulture)); 2242sb.Append(BorderLeft.CF.ToString(CultureInfo.InvariantCulture)); 2249sb.Append(BorderTop.CF.ToString(CultureInfo.InvariantCulture)); 2256sb.Append(BorderRight.CF.ToString(CultureInfo.InvariantCulture)); 2263sb.Append(BorderBottom.CF.ToString(CultureInfo.InvariantCulture)); 2266sb.Append(Spacing.ToString(CultureInfo.InvariantCulture)); 2705sb.Append(t.ToString(CultureInfo.InvariantCulture)); 2707sb.Append(Width.Value.ToString(CultureInfo.InvariantCulture)); 2709sb.Append(CellX.ToString(CultureInfo.InvariantCulture)); 2780sb.Append(entry.Color.ToString(CultureInfo.InvariantCulture)); 3703string mappedName = (string)map[entry.Name.ToLower(CultureInfo.InvariantCulture)]; 3826string keyname = lhs_name.ToLower(CultureInfo.InvariantCulture); 4904sb.Append((fs / 2).ToString(CultureInfo.InvariantCulture)); 4949CultureInfo ci = new CultureInfo((int)fsThis.LangCur); 5055xamlStringBuilder.Append(ic.ToString("x", CultureInfo.InvariantCulture)); 5215xamlStringBuilder.Append(cToUse.ToString(CultureInfo.InvariantCulture)); 5231xamlStringBuilder.Append(ColSpan.ToString(CultureInfo.InvariantCulture)); 5237xamlStringBuilder.Append(RowSpan.ToString(CultureInfo.InvariantCulture)); 5265xamlStringBuilder.Append(cToUse.ToString(CultureInfo.InvariantCulture)); 5363xamlStringBuilder.Append(FormatState.StartIndex.ToString(CultureInfo.InvariantCulture)); 8647d = System.Convert.ToDouble(ptString, CultureInfo.InvariantCulture); 8772imageStringBuilder.Append(width.ToString(CultureInfo.InvariantCulture)); 8786imageStringBuilder.Append(height.ToString(CultureInfo.InvariantCulture)); 8794imageStringBuilder.Append(baselineOffset.ToString(CultureInfo.InvariantCulture));
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (2)
161key.SetValue("uiLanguage", CultureInfo.CurrentUICulture.Name); 215if (!uiLanguage.Equals(CultureInfo.CurrentUICulture.Name))
src\Framework\System\Windows\Documents\Speller.cs (9)
209CultureInfo culture = GetCurrentCultureAndLanguage(error.Start, out language); 414System.Diagnostics.Trace.Write(string.Format(CultureInfo.InvariantCulture, "Unloading dictionary failed. Original Uri:{0}, file Uri:{1}, exception:{2}", uri.ToString(), info.PathUri.ToString(), e.ToString())); 858CultureInfo culture = GetCurrentCultureAndLanguage(start, out language); 1520private static bool CanSpellCheck(CultureInfo culture) 1547private void SetCulture(CultureInfo culture) 1594private CultureInfo GetCurrentCultureAndLanguage(ITextPointer position, out XmlLanguage language) 1596CultureInfo cultureInfo; 1715System.Diagnostics.Trace.Write(string.Format(CultureInfo.InvariantCulture, "Failure to delete temporary file with custom dictionary data. file Uri:{0},exception:{1}", tempLocationUri.ToString(), e.ToString())); 2187private readonly CultureInfo _defaultCulture;
src\Framework\System\Windows\Documents\SpellerInteropBase.cs (3)
146internal abstract void SetLocale(CultureInfo culture); 250internal abstract void SetReformMode(CultureInfo culture, SpellingReform spellingReform); 257internal abstract bool CanSpellCheck(CultureInfo culture);
src\Framework\System\windows\Documents\TextEditor.cs (3)
449internal void SetText(ITextRange range, string text, CultureInfo cultureInfo) 467internal void SetSelectedText(string text, CultureInfo cultureInfo) 486internal void MarkCultureProperty(TextRange range, CultureInfo inputCultureInfo)
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
185StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture);
src\Framework\System\Windows\Documents\TextFindEngine.cs (3)
97CultureInfo cultureInfo) 187CultureInfo cultureInfo, 384CultureInfo cultureInfo,
src\Framework\System\Windows\Documents\TextRangeBase.cs (2)
1132return number.ToString(CultureInfo.InvariantCulture); 1478StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1159string stringValue = (string)typeConverter.ConvertTo(/*ITypeDescriptorContext:*/null, CultureInfo.InvariantCulture, propertyValue, typeof(string));
src\Framework\System\windows\Documents\TextSelection.cs (3)
1213internal static void OnInputLanguageChanged(CultureInfo cultureInfo) 1710CultureInfo cultureInfo = new CultureInfo((short)keyboardList[keyboardListIndex]); 2500private static bool IsBidiInputLanguage(CultureInfo cultureInfo)
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (14)
82_spellCheckers = new Dictionary<CultureInfo, Tuple<WordsSegmenter, SpellChecker>>(); 168internal override void SetLocale(CultureInfo culture) 208internal override void SetReformMode(CultureInfo culture, SpellingReform spellingReform) 219internal override bool CanSpellCheck(CultureInfo culture) 330private bool EnsureWordBreakerAndSpellCheckerForCulture(CultureInfo culture, bool throwOnError = false) 517CultureInfo culture = null; 642private static CultureInfo TryParseLexiconCulture(string line) 647CultureInfo result = CultureInfo.InvariantCulture; 681result = CultureInfo.InvariantCulture; 858private CultureInfo Culture 927private Dictionary<CultureInfo, Tuple<WordsSegmenter, SpellChecker>> _spellCheckers; 929private CultureInfo _defaultCulture; 930private CultureInfo _culture;
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
204StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (51)
508_rtfBuilder.Append(dn.FormatState.Font.ToString(CultureInfo.InvariantCulture)); 539_rtfBuilder.Append(entry.Index.ToString(CultureInfo.InvariantCulture)); 541_rtfBuilder.Append(entry.CharSet.ToString(CultureInfo.InvariantCulture)); 562_rtfBuilder.Append(color.R.ToString(CultureInfo.InvariantCulture)); 564_rtfBuilder.Append(color.G.ToString(CultureInfo.InvariantCulture)); 566_rtfBuilder.Append(color.B.ToString(CultureInfo.InvariantCulture)); 589_rtfBuilder.Append(listTableEntry.ID.ToString(CultureInfo.InvariantCulture)); 601_rtfBuilder.Append(lMarker.ToString(CultureInfo.InvariantCulture)); 603_rtfBuilder.Append(lMarker.ToString(CultureInfo.InvariantCulture)); 613_rtfBuilder.Append(nID.ToString(CultureInfo.InvariantCulture)); 623_rtfBuilder.Append(j.ToString(CultureInfo.InvariantCulture)); 629string indent = ((j + 1) * 720).ToString(CultureInfo.InvariantCulture); 640_rtfBuilder.Append(listTableEntry.ID.ToString(CultureInfo.InvariantCulture)); 659_rtfBuilder.Append(lo.ID.ToString(CultureInfo.InvariantCulture)); 664_rtfBuilder.Append(lo.StartIndex.ToString(CultureInfo.InvariantCulture)); 667_rtfBuilder.Append(lo.Index.ToString(CultureInfo.InvariantCulture)); 728_rtfBuilder.Append(fsThis.Lang.ToString(CultureInfo.InvariantCulture)); 734_rtfBuilder.Append(fsThis.Font.ToString(CultureInfo.InvariantCulture)); 783_rtfBuilder.Append(fsThis.FontSize.ToString(CultureInfo.InvariantCulture)); 788_rtfBuilder.Append(fsThis.CF.ToString(CultureInfo.InvariantCulture)); 793_rtfBuilder.Append(fsThis.CB.ToString(CultureInfo.InvariantCulture)); 945_rtfBuilder.Append(fsThis.Lang.ToString(CultureInfo.InvariantCulture)); 964_rtfBuilder.Append(fsThis.CF.ToString(CultureInfo.InvariantCulture)); 1005_rtfBuilder.Append(fsThis.SL.ToString(CultureInfo.InvariantCulture)); 1082_rtfBuilder.Append(fsThis.ITAP.ToString(CultureInfo.InvariantCulture)); 1087_rtfBuilder.Append(fsThis.LI.ToString(CultureInfo.InvariantCulture)); 1089_rtfBuilder.Append(fsThis.RI.ToString(CultureInfo.InvariantCulture)); 1091_rtfBuilder.Append(fsThis.SA.ToString(CultureInfo.InvariantCulture)); 1093_rtfBuilder.Append(fsThis.SB.ToString(CultureInfo.InvariantCulture)); 1105_rtfBuilder.Append(fsThis.LI.ToString(CultureInfo.InvariantCulture)); 1111_rtfBuilder.Append(fsThis.FI.ToString(CultureInfo.InvariantCulture)); 1149_rtfBuilder.Append(fsThis.CBPara.ToString(CultureInfo.InvariantCulture)); 1156_rtfBuilder.Append(fsThis.SL.ToString(CultureInfo.InvariantCulture)); 1243_rtfBuilder.Append(fsThis.FontSize.ToString(CultureInfo.InvariantCulture)); 1249_rtfBuilder.Append(fsThis.Font.ToString(CultureInfo.InvariantCulture)); 1275_rtfBuilder.Append(fsThis.CF.ToString(CultureInfo.InvariantCulture)); 1314_rtfBuilder.Append(fsThis.ILS.ToString(CultureInfo.InvariantCulture)); 1320_rtfBuilder.Append(fsThis.ILVL.ToString(CultureInfo.InvariantCulture)); 1338_rtfBuilder.Append(fsThis.ListLevel.ToString(CultureInfo.InvariantCulture)); 1347_rtfBuilder.Append(fsThis.StartIndex.ToString(CultureInfo.InvariantCulture)); 1391_rtfBuilder.Append(nDepth.ToString(CultureInfo.InvariantCulture)); 1399_rtfBuilder.Append(nDepth.ToString(CultureInfo.InvariantCulture)); 1438string s = l.ToString(CultureInfo.InvariantCulture); 1604_rtfBuilder.Append(fs.CBPara.ToString(CultureInfo.InvariantCulture)); 1670_rtfBuilder.Append(cellX.ToString(CultureInfo.InvariantCulture)); 2117_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Width * scaleFactor.Width).ToString(CultureInfo.InvariantCulture)); 2121_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Height * scaleFactor.Height).ToString(CultureInfo.InvariantCulture)); 3299CultureInfo ci = new CultureInfo(valueString); 3805i = System.Convert.ToInt32(s, CultureInfo.InvariantCulture); 4035sb.Append(rgAnsi[k].ToString("x", CultureInfo.InvariantCulture)); 4042sb.Append(sc.ToString(CultureInfo.InvariantCulture));
src\Framework\System\Windows\Documents\ZoomPercentageConverter.cs (3)
72public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 99return String.Format(CultureInfo.CurrentCulture, 137public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\DynamicResourceExtensionConverter.cs (1)
50public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\EventSetterHandlerConverter.cs (2)
48CultureInfo cultureInfo, 95CultureInfo cultureInfo,
src\Framework\System\Windows\FigureLength.cs (1)
258return FigureLengthConverter.ToString(this, CultureInfo.InvariantCulture);
src\Framework\System\Windows\FigureLengthConverter.cs (4)
113CultureInfo cultureInfo, 154CultureInfo cultureInfo, 198static internal string ToString(FigureLength fl, CultureInfo cultureInfo) 231static internal FigureLength FromString(string s, CultureInfo cultureInfo)
src\Framework\System\Windows\FontSizeConverter.cs (3)
78public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 115public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 155CultureInfo culture,
src\Framework\System\Windows\FrameworkElement.cs (1)
2004string TypeAndName = String.Format(CultureInfo.InvariantCulture, "[{0}]{1}({2})",GetType().Name,dp.Name,base.GetHashCode());
src\Framework\System\Windows\FrameworkElementFactory.cs (1)
1179string childName = AutoGenChildNamePrefix + AutoGenChildNamePostfix.ToString(CultureInfo.InvariantCulture);
src\Framework\System\Windows\GridLength.cs (1)
221return GridLengthConverter.ToString(this, CultureInfo.InvariantCulture);
src\Framework\System\Windows\GridLengthConverter.cs (4)
116CultureInfo cultureInfo, 174CultureInfo cultureInfo, 218static internal string ToString(GridLength gl, CultureInfo cultureInfo) 258static internal GridLength FromString(string s, CultureInfo cultureInfo)
src\Framework\System\Windows\Input\Command\CommandConverter.cs (2)
102public override object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, object source ) 180public override object ConvertTo( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType )
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\LengthConverter.cs (4)
112CultureInfo cultureInfo, 147CultureInfo cultureInfo, 192static internal double FromString(string s, CultureInfo cultureInfo) 248static internal string ToString(double l, CultureInfo cultureInfo)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
205case 113: t = () => typeof(CultureInfo); break;
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\Baml2006\TypeConverterMarkupExtension.cs (1)
20return _converter.ConvertFrom(new TypeConverterContext(serviceProvider), System.Globalization.CultureInfo.InvariantCulture, _value);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3063typeof(System.Globalization.CultureInfo),
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\BamlRecords.cs (15)
986return string.Format(CultureInfo.InvariantCulture, "{0}", RecordType); 991string typeName = typeId.ToString(CultureInfo.InvariantCulture); 1965return string.Format(CultureInfo.InvariantCulture, 2049return string.Format(CultureInfo.InvariantCulture, 2123return string.Format(CultureInfo.InvariantCulture, 2388return string.Format(CultureInfo.InvariantCulture, 2531return string.Format(CultureInfo.InvariantCulture, 3479return string.Format(CultureInfo.InvariantCulture, 3879return string.Format(CultureInfo.InvariantCulture, 3956return string.Format(CultureInfo.InvariantCulture, 4036return string.Format(CultureInfo.InvariantCulture, 5185return string.Format(CultureInfo.InvariantCulture, 5298return string.Format(CultureInfo.InvariantCulture, 5462return string.Format(CultureInfo.InvariantCulture, 5528return string.Format(CultureInfo.InvariantCulture,
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\DependencyPropertyConverter.cs (2)
73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 105public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5657case KnownElements.CultureInfo: t = typeof(System.Globalization.CultureInfo); break;
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (2)
1759lineNumber.ToString(CultureInfo.CurrentCulture), 1760linePosition.ToString(CultureInfo.CurrentCulture));
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (3)
1633result = string.Format(CultureInfo.InvariantCulture, clrUriPrefix + ";assembly={0}", 1641result = string.Format(CultureInfo.InvariantCulture, clrUriPrefix + "{0};assembly={1}", type.Namespace, 1666r.Append(c.ToString().ToLower(CultureInfo.InvariantCulture));
src\Framework\System\Windows\Markup\RoutedEventConverter.cs (2)
45CultureInfo cultureInfo, 136CultureInfo cultureInfo,
src\Framework\System\Windows\Markup\SetterTriggerConditionValueConverter.cs (3)
72public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 86public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 94DependencyProperty property, CultureInfo culture, object source)
src\Framework\System\Windows\Markup\TemplateKeyConverter.cs (2)
61public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 74public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\Markup\XamlFigureLengthSerializer.cs (1)
194CultureInfo cultureInfo,
src\Framework\System\Windows\Markup\XamlGridLengthSerializer.cs (1)
195CultureInfo cultureInfo,
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\XamlTemplateSerializer.cs (2)
188lineNumber.ToString(CultureInfo.CurrentUICulture), 189linePosition.ToString(CultureInfo.CurrentUICulture));
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (5)
229string asmName = assemblyName.ToUpper(CultureInfo.InvariantCulture); 360CultureInfo.InvariantCulture)] as string; 786lineNumber.ToString(CultureInfo.CurrentCulture), 787linePosition.ToString(CultureInfo.CurrentCulture)); 1492String.Format(CultureInfo.CurrentCulture, "{0}.{1}", objectType.Name, localName),
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (2)
331defaultOriginValue.ToString(CultureInfo.InvariantCulture))); 342defaultDestinationValue.ToString(CultureInfo.InvariantCulture)));
src\Framework\System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ThicknessKeyFrameCollection[{0}]", index));
src\Framework\System\Windows\Navigation\JournalEntryListConverter.cs (4)
38public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 48public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 121public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) 143public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
3594name = String.Format(CultureInfo.CurrentCulture, "{0} ({1})", navWin.Title, JournalEntry.GetDisplayName(_currentSource, SiteOfOriginContainer.SiteOfOrigin));
src\Framework\System\Windows\PropertyPath.cs (1)
800value = tc.ConvertFromString(null, CultureInfo.InvariantCulture,
src\Framework\System\Windows\PropertyPathConverter.cs (2)
106CultureInfo cultureInfo, 142CultureInfo cultureInfo,
src\Framework\System\Windows\ResourceReferenceExpressionConverter.cs (2)
96public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 119public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\Setter.cs (1)
339private CultureInfo _cultureInfoForTypeConverter = null;
src\Framework\System\Windows\Standard\ErrorCodes.cs (1)
387return string.Format(CultureInfo.InvariantCulture, "0x{0:X8}", _value);
src\Framework\System\Windows\Standard\Verify.cs (5)
145throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "The property {0} cannot be null at this time.", name)); 155throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "The property {0} must be null at this time.", name)); 249throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "The integer value must be bounded with [{0}, {1})", lowerBoundInclusive, upperBoundExclusive), parameterName); 284throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "No file exists at \"{0}\"", filePath), parameterName); 308throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "The parameter must implement interface {0}.", interfaceType.ToString()), parameterName);
src\Framework\System\Windows\StyleHelper.cs (5)
1835label = container.GetHashCode().ToString(System.Globalization.CultureInfo.InvariantCulture); 1838String.Format(System.Globalization.CultureInfo.InvariantCulture, "Style.InstantiateSubTree for {0} {1}", container.GetType().Name, label)); 1875label = container.GetHashCode().ToString(System.Globalization.CultureInfo.InvariantCulture); 1878String.Format(System.Globalization.CultureInfo.InvariantCulture, "Style.InstantiateSubTree for {0} {1}", container.GetType().Name, label)); 2764System.Globalization.CultureInfo culture = child.Language.GetCompatibleCulture();
src\Framework\System\Windows\SystemKeyConverter.cs (2)
92public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 115public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\SystemResources.cs (1)
925stream = rm.GetStream(resourceName, CultureInfo.CurrentUICulture);
src\Framework\System\Windows\TemplateBindingExpressionConverter.cs (1)
42public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\TemplateBindingExtensionConverter.cs (1)
53public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\TemplateContent.cs (6)
103string res = String.Format(CultureInfo.InvariantCulture, 505string name = nameNumber++.ToString(CultureInfo.InvariantCulture) + "_T"; 533string name = nameNumber++.ToString(CultureInfo.InvariantCulture) + "_T"; 558string name = nameNumber++.ToString(CultureInfo.InvariantCulture) + "_T"; 802string name = nameNumber++.ToString(CultureInfo.InvariantCulture) + "_T"; 941value = converter.ConvertFrom(TemplateLoadData.ServiceProviderWrapper, CultureInfo.InvariantCulture, value);
src\Framework\System\Windows\Thickness.cs (2)
112return ThicknessConverter.ToString(this, CultureInfo.InvariantCulture); 119internal string ToString(CultureInfo cultureInfo)
src\Framework\System\Windows\ThicknessConverter.cs (4)
105public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source) 138public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType) 179static internal string ToString(Thickness th, CultureInfo cultureInfo) 199static internal Thickness FromString(string s, CultureInfo cultureInfo)
src\Framework\System\Windows\Trigger.cs (1)
323private CultureInfo _cultureInfoForTypeConverter = null;
src\Framework\System\Windows\Window.cs (2)
4034Debug.Assert(workAreaWidthDeviceUnits >= 0, String.Format(CultureInfo.InvariantCulture, "workAreaWidth ({0})for monitor ({1}) is negative", hMonitor, workAreaWidthDeviceUnits)); 4035Debug.Assert(workAreaHeightDeviceUnits >= 0, String.Format(CultureInfo.InvariantCulture, "workAreaHeight ({0}) for monitor ({1}) is negative", hMonitor, workAreaHeightDeviceUnits));
src\Shared\MS\Internal\Xaml\Context\XamlContextStack.cs (1)
141sb.AppendLine("Stack: " + (_currentFrame == null ? -1 : _currentFrame.Depth + 1).ToString(CultureInfo.InvariantCulture) + " frames");
PresentationFramework.Aero (3)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (2)
31public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 124public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
parent\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
41private static CultureInfo _platformCulture;
PresentationFramework.Classic (3)
parent\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
41private static CultureInfo _platformCulture;
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
39public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 199public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
PresentationFramework.Luna (3)
parent\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
41private static CultureInfo _platformCulture;
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
39public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 199public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
PresentationFramework.Royale (3)
parent\Shared\Microsoft\Windows\Themes\PlatformCulture.cs (1)
41private static CultureInfo _platformCulture;
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (2)
39public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 199public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
SMDiagnostics (4)
System\ServiceModel\Diagnostics\LegacyDiagnosticTrace.cs (2)
158return string.Format(CultureInfo.InvariantCulture, 207values["ProcessId"] = DiagnosticTraceBase.ProcessId.ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Diagnostics\SafeEventLogWriteHandle.cs (1)
34error.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (1)
858EncodingFallbackAwareXmlTextWriter writer = new EncodingFallbackAwareXmlTextWriter(new StringWriter(sb, CultureInfo.CurrentCulture));
SMSvcHost (12)
System\ServiceModel\Activation\Diagnostics\ListenerTraceUtility.cs (3)
80string.Format(CultureInfo.InvariantCulture, "Unsupported trace code: Please add trace code 0x{0} to the dictionary ListenerTraceUtility.traceCodes in {1}", 81traceCode.ToString("X", CultureInfo.InvariantCulture), typeof(ListenerTraceUtility))); 89return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Activation\ListenerAdapter.cs (5)
202"WebhostCloseAllListenerChannelInstances", hresult.ToString(CultureInfo.CurrentCulture))), this, null); 207TD.WasCloseAllListenerChannelInstancesFailed(this.EventTraceActivity, hresult.ToString(CultureInfo.CurrentCulture)); 806hresult.ToString(CultureInfo.InvariantCulture)); 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));
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
svcutil (15)
CommandLineParser.cs (15)
29this.name = (name.Substring(1)).ToLower(CultureInfo.InvariantCulture); 31this.name = name.ToLower(CultureInfo.InvariantCulture); 33this.abbreviation = (abbreviation.Substring(1)).ToLower(CultureInfo.InvariantCulture); 35this.abbreviation = abbreviation.ToLower(CultureInfo.InvariantCulture); 64temp = (other.Substring(1)).ToLower(CultureInfo.InvariantCulture); 66temp = other.ToLower(CultureInfo.InvariantCulture); 111if (contents.TryGetValue(key.ToLower(CultureInfo.InvariantCulture), out values)) 128if (!contents.TryGetValue(key.ToLower(CultureInfo.InvariantCulture), out result)) 135return contents.ContainsKey(key.ToLower(CultureInfo.InvariantCulture)); 140contents.Add(key.ToLower(CultureInfo.InvariantCulture), values); 202argSwitch = CommandSwitch.FindSwitch(arg.ToLower(CultureInfo.InvariantCulture), switches); 204throw new ArgumentException(SR.GetString(SR.ErrUnknownSwitch, arg.ToLower(CultureInfo.InvariantCulture))); 211throw new ArgumentException(SR.GetString(SR.ErrUnexpectedValue, arg.ToLower(CultureInfo.InvariantCulture))); 216throw new ArgumentException(SR.GetString(SR.ErrExpectedValue, arg.ToLower(CultureInfo.InvariantCulture))); 223throw new ArgumentException(SR.GetString(SR.ErrSingleUseSwitch, arg.ToLower(CultureInfo.InvariantCulture)));
System (575)
compmod\microsoft\csharp\csharpcodeprovider.cs (21)
546ce.Line = int.Parse(m.Groups[4].Value, CultureInfo.InvariantCulture); 547ce.Column = int.Parse(m.Groups[5].Value, CultureInfo.InvariantCulture); 1195Output.Write(((SByte)e.Value).ToString(CultureInfo.InvariantCulture)); 1200Output.Write(((UInt16)e.Value).ToString(CultureInfo.InvariantCulture)); 1203Output.Write(((UInt32)e.Value).ToString(CultureInfo.InvariantCulture)); 1207Output.Write(((UInt64)e.Value).ToString(CultureInfo.InvariantCulture)); 1232Output.Write(((byte)e.Value).ToString(CultureInfo.InvariantCulture)); 1235Output.Write(((Int16)e.Value).ToString(CultureInfo.InvariantCulture)); 1238Output.Write(((Int32)e.Value).ToString(CultureInfo.InvariantCulture)); 1241Output.Write(((Int64)e.Value).ToString(CultureInfo.InvariantCulture)); 1311Output.Write(((int)value).ToString("X4", CultureInfo.InvariantCulture)); 1314b.Append(((int)value).ToString("X4", CultureInfo.InvariantCulture)); 2016Output.Write(s.ToString(CultureInfo.InvariantCulture)); 2032Output.Write(d.ToString("R", CultureInfo.InvariantCulture)); 2039Output.Write(d.ToString(CultureInfo.InvariantCulture)); 2984Output.Write(checksumPragma.ChecksumAlgorithmId.ToString("B", CultureInfo.InvariantCulture)); 2988Output.Write(b.ToString("X2", CultureInfo.InvariantCulture)); 3201string lowerCaseString = s.ToLower( CultureInfo.InvariantCulture).Trim(); 3411&& -1 != CultureInfo.InvariantCulture.CompareInfo.IndexOf(options.CompilerOptions,"/debug:pdbonly", CompareOptions.IgnoreCase)) 4148public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 4169public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (15)
509b.Append(((int)value).ToString(CultureInfo.InvariantCulture)); 523ce.Line = int.Parse(rawLine, CultureInfo.InvariantCulture); 1062Output.Write("Global.Microsoft.VisualBasic.ChrW(" + ((IConvertible)e.Value).ToInt32(CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture) + ")"); 1066Output.Write(((SByte)e.Value).ToString(CultureInfo.InvariantCulture)); 1070Output.Write(((UInt16)e.Value).ToString(CultureInfo.InvariantCulture)); 1074Output.Write(((UInt32)e.Value).ToString(CultureInfo.InvariantCulture)); 1078Output.Write(((UInt64)e.Value).ToString(CultureInfo.InvariantCulture)); 1227Output.Write(s.ToString(CultureInfo.InvariantCulture)); 1243Output.Write(d.ToString("R", CultureInfo.InvariantCulture)); 1250Output.Write(d.ToString(CultureInfo.InvariantCulture)); 2483Output.Write(checksumPragma.ChecksumAlgorithmId.ToString("B", CultureInfo.InvariantCulture)); 2487Output.Write(b.ToString("X2", CultureInfo.InvariantCulture)); 3128public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 3149public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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 (2)
387className = string.Format(System.Globalization.CultureInfo.InvariantCulture, 1043RegistryKey key = Registry.LocalMachine.OpenSubKey(string.Format(System.Globalization.CultureInfo.CurrentCulture,
compmod\system\codedom\CodeTypeReference.cs (1)
334returnType = returnType + '`' + TypeArguments.Count.ToString(CultureInfo.InvariantCulture);
compmod\system\codedom\compiler\CodeDomConfigurationHandler.cs (1)
415val = int.Parse(a.Value, CultureInfo.InvariantCulture);
compmod\system\codedom\compiler\CodeGenerator.cs (7)
1509Output.Write(((byte)e.Value).ToString(CultureInfo.InvariantCulture)); 1512Output.Write(((Int16)e.Value).ToString(CultureInfo.InvariantCulture)); 1515Output.Write(((Int32)e.Value).ToString(CultureInfo.InvariantCulture)); 1518Output.Write(((Int64)e.Value).ToString(CultureInfo.InvariantCulture)); 1546Output.Write(s.ToString("R", CultureInfo.InvariantCulture)); 1553Output.Write(d.ToString("R", CultureInfo.InvariantCulture)); 1560Output.Write(d.ToString(CultureInfo.InvariantCulture));
compmod\system\codedom\compiler\CompilerError.cs (2)
149return string.Format(CultureInfo.InvariantCulture, "{0}({1},{2}) : {3} {4}: {5}", 159return string.Format(CultureInfo.InvariantCulture, "{0} {1}: {2}",
compmod\system\codedom\compiler\IndentTextWriter.cs (1)
47public IndentedTextWriter(TextWriter writer, string tabString): base(CultureInfo.InvariantCulture) {
compmod\system\collections\specialized\fixedstringlookup.cs (1)
70searchChar = char.ToLower(value[pos], CultureInfo.InvariantCulture);
compmod\system\collections\specialized\nameobjectcollectionbase.cs (4)
511throw new ArgumentOutOfRangeException("index",SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture)) ); 728throw new ArgumentOutOfRangeException("index",SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture)) ); 819defaultComparer = new CaseInsensitiveComparer(CultureInfo.InvariantCulture); 829defaultHashProvider = new CaseInsensitiveHashCodeProvider(CultureInfo.InvariantCulture);
compmod\system\collections\specialized\namevaluecollection.cs (1)
221throw new ArgumentOutOfRangeException("index",SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture)) );
compmod\system\collections\specialized\stringdictionary.cs (5)
74return (string) contents[key.ToLower(CultureInfo.InvariantCulture)]; 81contents[key.ToLower(CultureInfo.InvariantCulture)] = value; 121contents.Add(key.ToLower(CultureInfo.InvariantCulture), value); 139return contents.ContainsKey(key.ToLower(CultureInfo.InvariantCulture)); 172contents.Remove(key.ToLower(CultureInfo.InvariantCulture));
compmod\system\componentmodel\ArrayConverter.cs (1)
30public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\basenumberconverter.cs (5)
56internal abstract object FromString(string value, CultureInfo culture); 84public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 100culture = CultureInfo.CurrentCulture; 117public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 125culture = CultureInfo.CurrentCulture;
compmod\system\componentmodel\BooleanConverter.cs (1)
45public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) {
compmod\system\componentmodel\ByteConverter.cs (1)
54internal override object FromString(string value, CultureInfo culture){
compmod\system\componentmodel\CharConverter.cs (2)
42 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 58public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) {
compmod\system\componentmodel\CollectionConverter.cs (1)
33public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\ComponentResourceManager.cs (6)
25private CultureInfo _neutralResourcesCulture; 38private CultureInfo NeutralResourcesCulture { 66public virtual void ApplyResources(object value, string objectName, CultureInfo culture) { 74culture = CultureInfo.CurrentUICulture; 186private SortedList<string, object> FillResources(CultureInfo culture, out ResourceSet resourceSet) { 194if (!culture.Equals(CultureInfo.InvariantCulture) && !culture.Equals(NeutralResourcesCulture)) {
compmod\system\componentmodel\CultureInfoConverter.cs (34)
23/// <para>Provides a type converter to convert <see cref='System.Globalization.CultureInfo'/> 44protected virtual string GetCultureName(CultureInfo culture) { 76/// Converts the specified value object to a <see cref='System.Globalization.CultureInfo'/> 80public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 87if (GetCultureName(CultureInfo.InvariantCulture).Equals("")) 91CultureInfo retVal = null; 93CultureInfo currentUICulture = Thread.CurrentThread.CurrentUICulture; 95if (culture != null && culture.Equals(CultureInfo.InvariantCulture)) { 103retVal = CultureInfo.InvariantCulture; 112CultureInfo info = (CultureInfo)e.Current; 132text = text.ToLower(CultureInfo.CurrentCulture); 135CultureInfo info = (CultureInfo)e.Current; 136if (info != null && GetCultureName(info).ToLower(CultureInfo.CurrentCulture).StartsWith(text)) { 166public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 174CultureInfo currentUICulture = Thread.CurrentThread.CurrentUICulture; 176if (culture != null && culture.Equals(CultureInfo.InvariantCulture)) { 181if (value == null || value == CultureInfo.InvariantCulture) { 185retVal = GetCultureName(((CultureInfo)value)); 194if (destinationType == typeof(InstanceDescriptor) && value is CultureInfo) { 195CultureInfo c = (CultureInfo) value; 196ConstructorInfo ctor = typeof(CultureInfo).GetConstructor(new Type[] {typeof(string)}); 213CultureInfo[] installedCultures = CultureInfo.GetCultures(CultureTypes.SpecificCultures | CultureTypes.NeutralCultures); 214int invariantIndex = Array.IndexOf(installedCultures, CultureInfo.InvariantCulture); 216CultureInfo[] array; 220array = new CultureInfo[installedCultures.Length]; 223array = new CultureInfo[installedCultures.Length + 1]; 233array[0] = CultureInfo.InvariantCulture; //null isn't the value here -- invariantculture is. 298String itemName1 = converter.GetCultureName(((CultureInfo)item1)); 299String itemName2 = converter.GetCultureName(((CultureInfo)item2)); 301CompareInfo compInfo = (CultureInfo.CurrentCulture).CompareInfo;
compmod\system\componentmodel\DateTimeConverter.cs (5)
56public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 91public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 99culture = CultureInfo.CurrentCulture; 106if (culture == CultureInfo.InvariantCulture) { 121return dt.ToString(format, CultureInfo.CurrentCulture);
compmod\system\componentmodel\DateTimeOffsetConverter.cs (5)
60public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 95public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 105culture = CultureInfo.CurrentCulture; 112if (culture == CultureInfo.InvariantCulture) { 137return dto.ToString(format, CultureInfo.CurrentCulture);
compmod\system\componentmodel\DecimalConverter.cs (3)
65public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 91return Convert.ToDecimal(value, CultureInfo.CurrentCulture); 105internal override object FromString(string value, CultureInfo culture){
compmod\system\componentmodel\design\CommandID.cs (1)
94return menuGroup.ToString() + " : " + commandID.ToString(CultureInfo.CurrentCulture);
compmod\system\componentmodel\design\DesignerOptionService.cs (4)
58throw new ArgumentException(SR.GetString(SR.InvalidArgument, name.Length.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture)), "name.Length"); 252if (string.Compare(child.Name, name, true, CultureInfo.InvariantCulture) == 0) { 526public override object ConvertTo(ITypeDescriptorContext cxt, CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (5)
153DesigntimeLicenseContextSerializer.Deserialize(s, fileName.ToUpper(CultureInfo.InvariantCulture), this); 178CompareInfo comparer = CultureInfo.InvariantCulture.CompareInfo; 195DesigntimeLicenseContextSerializer.Deserialize(s, fileName.ToUpper(CultureInfo.InvariantCulture), this); 209DesigntimeLicenseContextSerializer.Deserialize(s, key.ToUpper(CultureInfo.InvariantCulture), this); 226CompareInfo comparer = CultureInfo.InvariantCulture.CompareInfo;
compmod\system\componentmodel\design\IResourceService.cs (2)
27IResourceReader GetResourceReader(CultureInfo info); 35IResourceWriter GetResourceWriter(CultureInfo info);
compmod\system\componentmodel\design\ToolboxItemAttribute.cs (1)
72string temp = toolboxItemTypeName.ToUpper(CultureInfo.InvariantCulture);
compmod\system\componentmodel\DesignerAttribute.cs (3)
33string temp = designerTypeName.ToUpper(CultureInfo.InvariantCulture); 57string temp = designerTypeName.ToUpper(CultureInfo.InvariantCulture); 70string temp = designerTypeName.ToUpper(CultureInfo.InvariantCulture);
compmod\system\componentmodel\DoubleConverter.cs (2)
51return Convert.ToDouble(value, CultureInfo.CurrentCulture); 65internal override object FromString(string value, CultureInfo culture){
compmod\system\componentmodel\EditorAttribute.cs (2)
39string temp = typeName.ToUpper(CultureInfo.InvariantCulture); 49string temp = typeName.ToUpper(CultureInfo.InvariantCulture);
compmod\system\componentmodel\EnumConverter.cs (2)
116public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 153public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\GuidConverter.cs (2)
55public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 70public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\Int16Converter.cs (1)
44internal override object FromString(string value, CultureInfo culture){
compmod\system\componentmodel\Int32Converter.cs (1)
52internal override object FromString(string value, CultureInfo culture){
compmod\system\componentmodel\Int64Converter.cs (1)
53internal override object FromString(string value, CultureInfo culture){
compmod\system\componentmodel\InvalidEnumArgumentException.cs (1)
53invalidValue.ToString(CultureInfo.CurrentCulture),
compmod\system\componentmodel\LicFileLicenseProvider.cs (1)
44return string.Format(CultureInfo.InvariantCulture, "{0} is a licensed component.", type.FullName);
compmod\system\componentmodel\MaskedTextProvider.cs (13)
98CultureInfo.InvariantCulture, 139private CultureInfo culture; 190public MaskedTextProvider( string mask, CultureInfo culture ) 201public MaskedTextProvider(string mask, CultureInfo culture, bool restrictToAscii) 221public MaskedTextProvider(string mask, CultureInfo culture, char passwordChar, bool allowPromptAsInput) 235public MaskedTextProvider( string mask, CultureInfo culture, bool allowPromptAsInput, char promptChar, char passwordChar, bool restrictToAscii ) 252culture = CultureInfo.CurrentCulture; 267foreach (CultureInfo tempCulture in CultureInfo.GetCultures(CultureTypes.SpecificCultures)) 279this.culture = CultureInfo.InvariantCulture; 289this.culture = CultureInfo.ReadOnly(this.culture); 554public CultureInfo Culture 882throw new IndexOutOfRangeException(index.ToString(CultureInfo.CurrentCulture));
compmod\system\componentmodel\MultilineStringConverter.cs (1)
25public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\NestedContainer.cs (1)
161childName = string.Format(CultureInfo.InvariantCulture, "{0}.{1}", ownerName, childName);
compmod\system\componentmodel\NullableConverter.cs (2)
60public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 97public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\ReferenceConverter.cs (3)
55public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 93public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 225return string.Compare(itemName1, itemName2, false, CultureInfo.InvariantCulture);
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (2)
265realChangedEvent = TypeDescriptor.GetEvents(ComponentType)[string.Format(CultureInfo.InvariantCulture, "{0}Changed", Name)]; 978String.Compare(e.PropertyName, Name, true, System.Globalization.CultureInfo.InvariantCulture) == 0) {
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (1)
134temp[typeof(CultureInfo)] = typeof(CultureInfoConverter);
compmod\system\componentmodel\SByteConverter.cs (1)
54internal override object FromString(string value, CultureInfo culture){
compmod\system\componentmodel\SingleConverter.cs (2)
50return Convert.ToSingle(value, CultureInfo.CurrentCulture); 64internal override object FromString(string value, CultureInfo culture){
compmod\system\componentmodel\StringConverter.cs (1)
39public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) {
compmod\system\componentmodel\TimeSpanConverter.cs (2)
57public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 78public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\TypeConverter.cs (14)
100return ConvertFrom(null, CultureInfo.CurrentCulture, value); 106public virtual object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 119return ConvertFromString(null, CultureInfo.InvariantCulture, text); 126return ConvertFromString(context, CultureInfo.InvariantCulture, text); 140return ConvertFrom(context, CultureInfo.CurrentCulture, text); 146public object ConvertFromString(ITypeDescriptorContext context, CultureInfo culture, string text) { 163public virtual object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 175if(culture != null && culture != CultureInfo.CurrentCulture) { 192return ConvertToString(null, CultureInfo.InvariantCulture, value); 200return ConvertToString(context, CultureInfo.InvariantCulture, value); 208return (string)ConvertTo(null, CultureInfo.CurrentCulture, value, typeof(string)); 215return (string)ConvertTo(context, CultureInfo.CurrentCulture, value, typeof(string)); 221public string ConvertToString(ITypeDescriptorContext context, CultureInfo culture, object value) { 416ConvertFrom(context, CultureInfo.InvariantCulture, value);
compmod\system\componentmodel\TypeConverterAttribute.cs (1)
60string temp = typeName.ToUpper(CultureInfo.InvariantCulture);
compmod\system\componentmodel\TypeDescriptor.cs (5)
1909name = ci.ToString(CultureInfo.InvariantCulture); 1912suffix = string.Format(CultureInfo.InvariantCulture, "_{0}", name); 3335Debug.WriteLineIf(TraceDescriptor.Enabled, string.Format(CultureInfo.InvariantCulture, "TypeDescriptor : {0}", string.Format(CultureInfo.InvariantCulture, message, args))); 3683return string.Compare(((MemberDescriptor)left).Name, ((MemberDescriptor)right).Name, false, CultureInfo.InvariantCulture);
compmod\system\componentmodel\TypeListConverter.cs (2)
66public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 82public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\UInt16Converter.cs (1)
53internal override object FromString(string value, CultureInfo culture){
compmod\system\componentmodel\UInt32Converter.cs (1)
54internal override object FromString(string value, CultureInfo culture){
compmod\system\componentmodel\UInt64Converter.cs (1)
56internal override object FromString(string value, CultureInfo culture){
compmod\system\configuration\appsettingsreader.cs (1)
68return Convert.ChangeType(val, type, CultureInfo.InvariantCulture);
compmod\system\diagnostics\Debug.cs (3)
126TraceInternal.Assert(condition, message, String.Format(CultureInfo.InvariantCulture, detailMessageFormat, args)); 152TraceInternal.WriteLine(String.Format(CultureInfo.InvariantCulture, format, args)); 240TraceInternal.WriteLine(String.Format(CultureInfo.InvariantCulture, format, args));
compmod\system\diagnostics\DelimitedListTraceListener.cs (6)
89WriteEscaped(String.Format(CultureInfo.InvariantCulture, format, args)); 158Write(id.ToString(CultureInfo.InvariantCulture)); 167Write(eventCache.ProcessId.ToString(CultureInfo.InvariantCulture)); 175WriteEscaped(eventCache.ThreadId.ToString(CultureInfo.InvariantCulture)); 179WriteEscaped(eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture)); 183Write(eventCache.Timestamp.ToString(CultureInfo.InvariantCulture));
compmod\system\diagnostics\Switch.cs (1)
261SwitchSetting = Int32.Parse(Value, CultureInfo.InvariantCulture);
compmod\system\diagnostics\TraceEventCache.cs (1)
64return GetThreadId().ToString(CultureInfo.InvariantCulture);
compmod\system\diagnostics\TraceListener.cs (4)
389WriteLine(String.Format(CultureInfo.InvariantCulture, format, args)); 404Write(String.Format(CultureInfo.InvariantCulture, "{0} {1}: {2} : ", source, eventType.ToString(), id.ToString(CultureInfo.InvariantCulture))); 436WriteLine("DateTime=" + eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture));
compmod\system\diagnostics\traceutils.cs (1)
128return Convert.ChangeType(value, type, CultureInfo.InvariantCulture);
compmod\system\diagnostics\XmlWriterTraceListener.cs (10)
70message = String.Format(CultureInfo.InvariantCulture, format, args); 133xmlBlobWriter = new XmlTextWriter(new StringWriter(strBldr, CultureInfo.CurrentCulture)); 183InternalWrite(((uint)id).ToString(CultureInfo.InvariantCulture)); 198InternalWrite(sev.ToString(CultureInfo.InvariantCulture)); 203InternalWrite(eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture)); 205InternalWrite(DateTime.Now.ToString("o", CultureInfo.InvariantCulture)); 227InternalWrite(((uint)TraceEventCache.GetProcessId()).ToString(CultureInfo.InvariantCulture)); 230WriteEscaped(eventCache.ThreadId.ToString(CultureInfo.InvariantCulture)); 232WriteEscaped(TraceEventCache.GetThreadId().ToString(CultureInfo.InvariantCulture)); 269InternalWrite(eventCache.Timestamp.ToString(CultureInfo.InvariantCulture));
misc\invariantcomparer.cs (1)
12m_compareInfo = CultureInfo.InvariantCulture.CompareInfo;
net\System\_DomainName.cs (1)
29res = str.Substring(start, end-start).ToLower(CultureInfo.InvariantCulture);
net\System\_IPv6Address.cs (3)
48return string.Format(CultureInfo.InvariantCulture, LegacyFormat, 64builder.Append(string.Format(CultureInfo.InvariantCulture, EmbeddedIPv4Format, 84builder.Append(string.Format(CultureInfo.InvariantCulture, CanonicalNumberFormat, numbers[i]));
net\System\_UriTypeConverter.cs (2)
66public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 80public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
net\System\Net\_AuthenticationManager2.cs (1)
339CultureInfo.InvariantCulture
net\System\Net\_AuthenticationManagerDefault.cs (1)
120CultureInfo.InvariantCulture) as IAuthenticationModule;
net\System\Net\_AutoWebProxyScriptHelper.cs (2)
168public override object Invoke(object target, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture) { 237object IReflect.InvokeMember(string name, BindingFlags bindingAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParameters) {
net\System\Net\_BasicClient.cs (1)
15internal static string Signature = AuthType.ToLower(CultureInfo.InvariantCulture);
net\System\Net\_Connection.cs (5)
2182transferEncodingString = transferEncodingString.ToLower(CultureInfo.InvariantCulture); 2196bool success = long.TryParse(contentLengthString, NumberStyles.None, CultureInfo.InvariantCulture.NumberFormat, out contentLength); 2205success = long.TryParse(contentLengthString, NumberStyles.None, CultureInfo.InvariantCulture.NumberFormat, out contentLength); 2309connection = connection.ToLower(CultureInfo.InvariantCulture); 2680if (server != null && server.ToLower(CultureInfo.InvariantCulture).Contains("microsoft-iis")){
net\System\Net\_ConnectStream.cs (1)
2984if (int.TryParse(appSetting, NumberStyles.None, CultureInfo.InvariantCulture,
net\System\Net\_DigestClient.cs (3)
25internal static string Signature = AuthType.ToLower(CultureInfo.InvariantCulture); 581name = name.Trim().ToLower(CultureInfo.InvariantCulture); 610Stale = value.ToLower(CultureInfo.InvariantCulture).Equals("true");
net\System\Net\_FtpControlStream.cs (2)
591commandList.Add(new PipelineEntry(FormatFtpCommand("REST", request.CacheProtocol.Validator.CacheEntry.StreamSize.ToString(CultureInfo.InvariantCulture)))); 595commandList.Add(new PipelineEntry(FormatFtpCommand("REST", request.ContentOffset.ToString(CultureInfo.InvariantCulture))));
net\System\Net\_HTTPDateParse.cs (1)
85return(Char.ToUpper(c, CultureInfo.InvariantCulture));
net\System\Net\_KerberosClient.cs (1)
17internal static string Signature = AuthType.ToLower(CultureInfo.InvariantCulture);
net\System\Net\_ListenerResponseStream.cs (1)
166string chunkHeader = size.ToString("x", CultureInfo.InvariantCulture);
net\System\Net\_LoggingObject.cs (1)
943string fullMessage = string.Format(CultureInfo.InvariantCulture, messageFormat, data);
net\System\Net\_NativeSSPI.cs (1)
318GlobalLog.Assert("NativeNTSSPI.DecryptMessage", "Expected qop = 0, returned value = " + qop.ToString("x", CultureInfo.InvariantCulture));
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\_NtlmClient.cs (1)
16internal static string Signature = AuthType.ToLower(CultureInfo.InvariantCulture);
net\System\Net\_SSPIWrapper.cs (6)
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))); 977return "Capabilities:" + String.Format(CultureInfo.InvariantCulture, "0x{0:x}", Capabilities)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (12)
501if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_now_time, DateTime.UtcNow.ToString("r", CultureInfo.InvariantCulture))); 514if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_date_header, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheDate.ToString("r", CultureInfo.InvariantCulture))); 526Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_last_synchronized_age_header, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture), ((int)ctx.CacheAge.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo))); 528Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1_last_synchronized, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), ctx.CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture))); 605if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_expires_date, ((int)((expiresDate - date).TotalSeconds)).ToString(NumberFormatInfo.InvariantInfo), expiresDate.ToString("r", CultureInfo.InvariantCulture))); 616if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_absolute, expiresDate.ToString("r", CultureInfo.InvariantCulture))); 649if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_10_percent, maxAgeSeconds.ToString(NumberFormatInfo.InvariantInfo), lastModifiedDate.ToString("r", CultureInfo.InvariantCulture))); 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))); 1605str = ctx.CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture); 1667str = ctx.CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture); 1874ranges = ranges.ToLower(CultureInfo.InvariantCulture);
net\System\Net\Cache\FtpRequestCacheValidator.cs (14)
79string method = Request.Method.ToUpper(CultureInfo.InvariantCulture); 138if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_now_time, nowDate.ToString("r", CultureInfo.InvariantCulture))); 144if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_age_absolute, CacheEntry.ExpiresUtc.ToString("r", CultureInfo.InvariantCulture))); 156if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_age1, ((int)age.TotalSeconds).ToString(NumberFormatInfo.InvariantInfo), CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture))); 166if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_no_max_age_use_10_percent, maxAgeSeconds.ToString(NumberFormatInfo.InvariantInfo), CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture))); 284if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_response_last_modified, resp.LastModified.ToUniversalTime().ToString("r", CultureInfo.InvariantCulture), resp.ContentLength)); 285if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_cache_last_modified, CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture), CacheEntry.StreamSize)); 290if(Logging.On) Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_partial_and_non_zero_content_offset, CacheStreamOffset.ToString(CultureInfo.InvariantCulture))); 351if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_ftp_response_status, ((int)resp.StatusCode).ToString(CultureInfo.InvariantCulture), resp.StatusCode.ToString())); 441if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_not_supported_for_ftp_restart, ((FtpWebRequest)Request).ContentOffset.ToString(CultureInfo.InvariantCulture))); 444if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_removed_entry_because_ftp_restart_response_changed, CacheEntry.LastModifiedUtc.ToString("r", CultureInfo.InvariantCulture), resp.LastModified.ToUniversalTime().ToString("r", CultureInfo.InvariantCulture))); 476if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_last_synchronized, CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture))); 490if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_updating_last_synchronized, CacheEntry.LastSynchronizedUtc.ToString("r", CultureInfo.InvariantCulture)));
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
192string method = Request.Method.ToUpper(CultureInfo.InvariantCulture); 422if(Logging.On) Logging.PrintInfo(Logging.RequestCache, "StatusCode=" + ((int)resp.StatusCode).ToString(CultureInfo.InvariantCulture) + ' ' +resp.StatusCode.ToString() +
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\Configuration\ConfigurationStrings.cs (2)
16return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName); 21return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}/{2}", ConfigurationStrings.SectionGroupName, sectionName, subSectionName);
net\System\Net\Configuration\DefaultProxySection.cs (1)
206CultureInfo.InvariantCulture
net\System\Net\Configuration\IdnElement.cs (2)
55public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 59s = s.ToLower(CultureInfo.InvariantCulture);
net\System\Net\Configuration\SmtpSection.cs (4)
121public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 124s = s.ToLower(CultureInfo.InvariantCulture); 149public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 152s = s.ToLower(CultureInfo.InvariantCulture);
net\System\Net\Configuration\WebRequestModuleElement.cs (2)
127public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 135public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
net\System\Net\Configuration\WebUtilityElement.cs (1)
65public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) {
net\System\Net\cookie.cs (2)
476m_domainKey = domain.ToLower(CultureInfo.InvariantCulture); 1412CultureInfo.InvariantCulture, DateTimeStyles.AllowWhiteSpaces, out expires)) {
net\System\Net\FtpWebRequest.cs (1)
103method = method.ToUpper(CultureInfo.InvariantCulture);
net\System\Net\HttpListenerRequest.cs (4)
364if (UserAgent!=null && CultureInfo.InvariantCulture.CompareInfo.IsPrefix(UserAgent, "UP")) { 403bool success = long.TryParse(length, NumberStyles.None, CultureInfo.InvariantCulture.NumberFormat, out m_ContentLength); 740header = header.ToLower(CultureInfo.InvariantCulture); 1227i = CultureInfo.InvariantCulture.CompareInfo.IndexOf(headerValue, attrName, i, CompareOptions.IgnoreCase);
net\System\Net\HttpListenerRequestUriBuilder.cs (2)
389target.Append(octet.ToString("X2", CultureInfo.InvariantCulture)); 408octetString.Append(octet.ToString("X2", CultureInfo.InvariantCulture));
net\System\Net\HttpSysSettings.cs (1)
84return Convert.ToBoolean(key.GetValue(valueName), CultureInfo.InvariantCulture);
net\System\Net\HttpWebRequest.cs (3)
2811string newValue = value.ToLower(CultureInfo.InvariantCulture); 2858string newValue = value.ToLower(CultureInfo.InvariantCulture); 2964string newValue = value.ToLower(CultureInfo.InvariantCulture);
net\System\Net\HttpWebResponse.cs (4)
209string srchString = contentType.ToLower(CultureInfo.InvariantCulture); 356return proxyConnectionHeader.ToLower(CultureInfo.InvariantCulture).IndexOf("close") < 0 || 357proxyConnectionHeader.ToLower(CultureInfo.InvariantCulture).IndexOf("keep-alive") >= 0; 364connectionHeader = connectionHeader.ToLower(CultureInfo.InvariantCulture);
net\System\Net\Internal.cs (1)
1622CultureInfo.InvariantCulture
net\System\Net\IPAddress.cs (1)
463string address = String.Format(CultureInfo.InvariantCulture, numberFormat,
net\System\Net\Logging.cs (3)
299string logHeader = "["+GetThreadId().ToString("d4", CultureInfo.InvariantCulture)+"] " ; 608string disp = String.Format(CultureInfo.CurrentCulture, "{0:X8} : ", offset); 610disp += String.Format(CultureInfo.CurrentCulture, "{0:X2}", buffer[offset + i]) + ((i == 7) ? '-' : ' ');
net\System\Net\mail\ContentDisposition.cs (1)
46NumberStyles.None, CultureInfo.InvariantCulture, out longValue))
net\System\Net\mail\HeaderCollection.cs (4)
127part.ContentType.Set(value.ToLower(CultureInfo.InvariantCulture), this); 129((MimePart)part).ContentDisposition.Set(value.ToLower(CultureInfo.InvariantCulture), this); 160part.ContentType.Set(value.ToLower(CultureInfo.InvariantCulture), this); 162((MimePart)part).ContentDisposition.Set(value.ToLower(CultureInfo.InvariantCulture), this);
net\System\Net\mail\MailAddress.cs (5)
159return String.Format(CultureInfo.InvariantCulture, "{0}@{1}", userName, host); 165return String.Format(CultureInfo.InvariantCulture, "{0}@{1}", 171return String.Format(CultureInfo.InvariantCulture, "<{0}>", Address); 177return String.Format(CultureInfo.InvariantCulture, "<{0}>", GetAddress(allowUnicode)); 227encodedAddress = String.Format(CultureInfo.InvariantCulture, "\"{0}\"", this.displayName);
net\System\Net\mail\MimeMultiPart.cs (3)
32ContentType.MediaType = "multipart" + "/" + type.ToString().ToLower(CultureInfo.InvariantCulture); 214string boundaryString = "--boundary_" + b.ToString(CultureInfo.InvariantCulture)+"_"+Guid.NewGuid().ToString(null, CultureInfo.InvariantCulture);
net\System\Net\mail\SmtpDateTime.cs (4)
241CultureInfo.InvariantCulture, out hours)) 247CultureInfo.InvariantCulture, out minutes)) 281string output = value.ToString("ddd, dd MMM yyyy HH:mm:ss", CultureInfo.InvariantCulture); 324if (!DateTime.TryParseExact(date, validDateTimeFormats, CultureInfo.InvariantCulture,
net\System\Net\NetRegistryConfiguration.cs (2)
148CultureInfo.InvariantCulture, 160return String.Format(CultureInfo.InvariantCulture, @"{0}\{1}", GetNetFrameworkVersionedPath(), valueName);
net\System\Net\ServicePoint.cs (1)
148m_ConnectionName = "ByHost:"+host+":"+port.ToString(CultureInfo.InvariantCulture);
net\System\Net\ServicePointManager.cs (2)
854tempEntry = "ByHost:"+host+":"+port.ToString(CultureInfo.InvariantCulture); 872string schemeHostPort =host+":"+port.ToString(CultureInfo.InvariantCulture);
net\System\Net\webclient.cs (4)
608if (contentType.ToLower(CultureInfo.InvariantCulture).StartsWith("multipart/")) { 620if (m_Method.ToUpper(CultureInfo.InvariantCulture) == "POST") 1593contentType = contentType.ToLower(CultureInfo.InvariantCulture); 1664if (uri.Scheme.ToLower(CultureInfo.InvariantCulture) == "ftp") {
net\System\Net\webproxy.cs (1)
98: this(new Uri("http://" + Host + ":" + Port.ToString(CultureInfo.InvariantCulture)), false, null, null) {
net\System\Net\WebSockets\WebSocketBase.cs (10)
85parameters = string.Format(CultureInfo.InvariantCulture, 313inputParameter = string.Format(CultureInfo.InvariantCulture, 524inputParameter = string.Format(CultureInfo.InvariantCulture, 769inputParameter = string.Format(CultureInfo.InvariantCulture, 1188string.Format(CultureInfo.InvariantCulture, 1231string.Format(CultureInfo.InvariantCulture, 1473string.Format(CultureInfo.InvariantCulture, 1523string parameters = string.Format(CultureInfo.InvariantCulture, 1849string assertMessage = string.Format(CultureInfo.InvariantCulture, 1935string.Format(CultureInfo.InvariantCulture, "Invalid ReceiveState '{0}'.", originalReceiveState));
net\System\Net\WebSockets\WebSocketBuffer.cs (1)
550string.Format(CultureInfo.InvariantCulture,
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
883return string.Format(CultureInfo.InvariantCulture,
net\System\Net\WebSockets\WebSocketHelpers.cs (2)
215return string.Format(CultureInfo.InvariantCulture, 391invalidChar = string.Format(CultureInfo.InvariantCulture, "[{0}]", (int)ch);
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
1248string.Format(CultureInfo.InvariantCulture, "Output channel closed for {0}#{1}",
net\System\Net\WebUtility.cs (2)
58StringWriter writer = new StringWriter(CultureInfo.InvariantCulture); 160StringWriter writer = new StringWriter(CultureInfo.InvariantCulture);
net\System\URI.cs (6)
2913stemp = m_Info.Offset.PortValue.ToString(CultureInfo.InvariantCulture); 2922stemp = m_Info.Offset.PortValue.ToString(CultureInfo.InvariantCulture); 3091+ ':' + m_Info.Offset.PortValue.ToString(CultureInfo.InvariantCulture); 3189+ ':' + m_Info.Offset.PortValue.ToString(CultureInfo.InvariantCulture); 5210|| (Char.ToLower(path1[i], CultureInfo.InvariantCulture) 5211!= Char.ToLower(path2[i], CultureInfo.InvariantCulture))))
net\System\uribuilder.cs (1)
307value = value.ToLower(CultureInfo.InvariantCulture);
net\System\UriExt.cs (1)
897return m_Info.Offset.PortValue.ToString(CultureInfo.InvariantCulture);
net\System\UriHelper.cs (2)
87if (Char.ToLower(chMe, CultureInfo.InvariantCulture) != Char.ToLower(chShe, CultureInfo.InvariantCulture))
net\System\UriScheme.cs (2)
186schemeName = schemeName.ToLower(CultureInfo.InvariantCulture); 200UriParser syntax = UriParser.GetSyntax(schemeName.ToLower(CultureInfo.InvariantCulture));
regex\system\text\regularexpressions\Regex.cs (6)
264cultureKey = CultureInfo.InvariantCulture.ToString(); // "English (United States)" 266cultureKey = CultureInfo.CurrentCulture.ToString(); 573result[i] = Convert.ToString(i, CultureInfo.InvariantCulture); 633return i.ToString(CultureInfo.InvariantCulture); 1308runner = new RegexInterpreter(code, UseOptionInvariant() ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture);
regex\system\text\regularexpressions\RegexBoyerMoore.cs (2)
32internal CultureInfo _culture; 40internal RegexBoyerMoore(String pattern, bool caseInsensitive, bool rightToLeft, CultureInfo culture) {
regex\system\text\regularexpressions\RegexCharClass.cs (3)
408tempCategories[InternalRegexIgnoreCase] = String.Format(CultureInfo.InvariantCulture, "{0}{1}{2}{3}{4}", GroupChar, groups[1], groups[4], groups[5], groups[6]); 632internal void AddLowercase(CultureInfo culture) { 654private void AddLowercaseRange(char chMin, char chMax, CultureInfo culture) {
regex\system\text\regularexpressions\RegexCode.cs (1)
230throw MakeException(SR.GetString(SR.UnexpectedOpcode, Opcode.ToString(CultureInfo.CurrentCulture)));
regex\system\text\regularexpressions\RegexCompiler.cs (5)
165_chartolowerM = typeof(Char).GetMethod("ToLower", new Type[] {typeof(Char), typeof(CultureInfo)}); 167_getCurrentCulture = typeof(CultureInfo).GetMethod("get_CurrentCulture"); 168_getInvariantCulture = typeof(CultureInfo).GetMethod("get_InvariantCulture"); 3140string typenumString = typenum.ToString(CultureInfo.InvariantCulture); 3427string regexnumString = regexnum.ToString(CultureInfo.InvariantCulture);
regex\system\text\regularexpressions\RegexFCD.cs (6)
55CultureInfo culture = ((t._options & RegexOptions.CultureInvariant) != 0) ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture; 95return new RegexPrefix(curNode._ch.ToString(CultureInfo.InvariantCulture), 0 != (curNode._options & RegexOptions.IgnoreCase)); 490throw new ArgumentException(SR.GetString(SR.UnexpectedOpcode, NodeType.ToString(CultureInfo.CurrentCulture))); 551internal String GetFirstChars(CultureInfo culture) {
regex\system\text\regularexpressions\RegexInterpreter.cs (2)
30internal CultureInfo runculture; 36internal RegexInterpreter(RegexCode code, CultureInfo culture) {
regex\system\text\regularexpressions\RegexNode.cs (1)
498prev._str = Convert.ToString(prev._ch, CultureInfo.InvariantCulture);
regex\system\text\regularexpressions\RegexParser.cs (11)
31internal CultureInfo _culture; 66p = new RegexParser((op & RegexOptions.CultureInvariant) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture); 95p = new RegexParser((op & RegexOptions.CultureInvariant) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture); 163RegexParser p = new RegexParser(CultureInfo.InvariantCulture); 191private RegexParser(CultureInfo culture) { 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 (4)
293CultureInfo culture = (tree._options & RegexOptions.CultureInvariant) != 0 ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture; 548throw MakeException(SR.GetString(SR.UnexpectedOpcode, nodetype.ToString(CultureInfo.CurrentCulture)));
security\system\security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (1)
28public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (2)
148if (!UInt16.TryParse(port, NumberStyles.Integer, CultureInfo.InvariantCulture, out portValue)) 181string normalizedServiceName = string.Format(CultureInfo.InvariantCulture,
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 (3)
682return PatternMatcher.StrictMatchPattern(filter.ToUpper(CultureInfo.InvariantCulture), name.ToUpper(CultureInfo.InvariantCulture)); 704throw new OutOfMemoryException(SR.GetString(SR.BufferSizeTooLarge, internalBufferSize.ToString(CultureInfo.CurrentCulture)));
services\monitoring\system\diagnosticts\CounterSampleCalculator.cs (1)
104throw new Win32Exception(result, SR.GetString(SR.PerfCounterPdhError, result.ToString("x", CultureInfo.InvariantCulture)));
services\monitoring\system\diagnosticts\DiagnosticsConfigurationHandler.cs (1)
101Int32.Parse((string) en.Value, CultureInfo.InvariantCulture);
services\monitoring\system\diagnosticts\EventLog.cs (1)
1257if (Int32.TryParse(sb.ToString(), NumberStyles.None, CultureInfo.InvariantCulture, out num)) {
services\monitoring\system\diagnosticts\EventLogEntry.cs (1)
151category = "(" + CategoryNumber.ToString(CultureInfo.CurrentCulture) + ")";
services\monitoring\system\diagnosticts\EventLogInternal.cs (8)
710Debug.WriteLineIf(CompModSwitches.EventLog.TraceVerbose, "EventLog::CompletionStatusChanged: starting at " + lastSeenCount.ToString(CultureInfo.InvariantCulture)); 764Debug.WriteLineIf(CompModSwitches.EventLog.TraceVerbose, "EventLog::CompletionStatusChanged: finishing at " + lastSeenCount.ToString(CultureInfo.InvariantCulture)); 905Debug.WriteLineIf(CompModSwitches.EventLog.TraceVerbose, "Error from ReadEventLog is " + error.ToString(CultureInfo.InvariantCulture)); 917Debug.WriteLineIf(CompModSwitches.EventLog.TraceVerbose, "Increasing buffer size from " + buf.Length.ToString(CultureInfo.InvariantCulture) + " to " + minBytesNeeded.ToString(CultureInfo.InvariantCulture) + " bytes"); 1027throw new ArgumentException(SR.GetString(SR.IndexOutOfBounds, index.ToString(CultureInfo.CurrentCulture))); 1098Debug.WriteLineIf(CompModSwitches.EventLog.TraceVerbose, "Error from ReadEventLog is " + error.ToString(CultureInfo.InvariantCulture)); 1118throw new InvalidOperationException(SR.GetString(SR.CantReadLogEntryAt, index.ToString(CultureInfo.CurrentCulture)), SharedUtils.CreateSafeWin32Exception());
services\monitoring\system\diagnosticts\EventLogTraceListener.cs (1)
154eventLog.WriteEvent(data, String.Format(CultureInfo.InvariantCulture, format,args));
services\monitoring\system\diagnosticts\FileVersionInfo.cs (13)
310s = s.ToUpper(CultureInfo.InvariantCulture); 384companyName = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "CompanyName")); 385fileDescription = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "FileDescription")); 386fileVersion = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "FileVersion")); 387internalName = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "InternalName")); 388legalCopyright = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "LegalCopyright")); 389originalFilename = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "OriginalFilename")); 390productName = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "ProductName")); 391productVersion = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "ProductVersion")); 392comments = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "Comments")); 393legalTrademarks = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "LegalTrademarks")); 394privateBuild = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "PrivateBuild")); 395specialBuild = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "SpecialBuild"));
services\monitoring\system\diagnosticts\InstanceDataCollection.cs (3)
67object objectName = instanceName.ToLower(CultureInfo.InvariantCulture); 73object objectName = instanceName.ToLower(CultureInfo.InvariantCulture); 84object objectName = instanceName.ToLower(CultureInfo.InvariantCulture);
services\monitoring\system\diagnosticts\InstanceDataCollectionCollection.cs (3)
35object objectName = counterName.ToLower(CultureInfo.InvariantCulture); 57object objectName = counterName.ToLower(CultureInfo.InvariantCulture); 68object objectName = counterName.ToLower(CultureInfo.InvariantCulture);
services\monitoring\system\diagnosticts\PerformanceCounter.cs (4)
537this.sharedCounter = new SharedPerformanceCounter(currentCategoryName.ToLower(CultureInfo.InvariantCulture), counterName.ToLower(CultureInfo.InvariantCulture), instanceName.ToLower(CultureInfo.InvariantCulture), instanceLifetime); 602sharedCounter.RemoveInstance(this.instanceName.ToLower(CultureInfo.InvariantCulture), instanceLifetime);
services\monitoring\system\diagnosticts\PerformanceCounterCategory.cs (1)
391categoryName = categoryName.ToLower(CultureInfo.InvariantCulture);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (49)
258if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 259CultureInfo culture = CultureInfo.CurrentCulture; 260while (culture != CultureInfo.InvariantCulture) { 312if (!categoryExists && CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 313CultureInfo culture = CultureInfo.CurrentCulture; 314while (culture != CultureInfo.InvariantCulture) { 418iniWriter.Write(counterIndex.ToString(CultureInfo.InvariantCulture)); 426iniWriter.Write(counterIndex.ToString(CultureInfo.InvariantCulture)); 478counterTypes[i] = ((int) creationData[i].CounterType).ToString(CultureInfo.InvariantCulture); 528symbolWriter.Write(counterIndex.ToString(CultureInfo.InvariantCulture)); 530symbolWriter.Write((counterIndex * 2).ToString(CultureInfo.InvariantCulture)); 684CultureInfo culture = CultureInfo.CurrentCulture; 685while (culture != CultureInfo.InvariantCulture) { 710if(CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 711CultureInfo culture = CultureInfo.CurrentCulture; 713while (culture != CultureInfo.InvariantCulture) { 744if (sample == null && CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 745CultureInfo culture = CultureInfo.CurrentCulture; 746while (culture != CultureInfo.InvariantCulture) { 766byte[] dataRef = GetPerformanceData(entry.NameIndex.ToString(CultureInfo.InvariantCulture)); 779if (!categoryExists && CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 780CultureInfo culture = CultureInfo.CurrentCulture; 781while (culture != CultureInfo.InvariantCulture) { 833if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 834CultureInfo culture = CultureInfo.CurrentCulture; 835while (culture != CultureInfo.InvariantCulture) { 915internal static PerformanceCounterLib GetPerformanceCounterLib(string machineName, CultureInfo culture) { 918string lcidString = culture.LCID.ToString("X3", CultureInfo.InvariantCulture); 920machineName = ComputerName.ToLower(CultureInfo.InvariantCulture); 922machineName = machineName.ToLower(CultureInfo.InvariantCulture); 1024if (!Int32.TryParse(names[index * 2], NumberStyles.Integer, CultureInfo.InvariantCulture, out key)) { 1051if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 1052CultureInfo culture = CultureInfo.CurrentCulture; 1053while (culture != CultureInfo.InvariantCulture) { 1083if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 1084CultureInfo culture = CultureInfo.CurrentCulture; 1085while (culture != CultureInfo.InvariantCulture) { 1337throw new InvalidOperationException(SR.GetString(SR.CantReadCategoryIndex, categoryIndex.ToString(CultureInfo.CurrentCulture))); 1408newInstanceName = instanceName + "#" + newInstanceNumber.ToString(CultureInfo.InvariantCulture); 1425byte[] data = library.GetPerformanceData(categoryIndex.ToString(CultureInfo.InvariantCulture));
services\monitoring\system\diagnosticts\Process.cs (6)
306throw new InvalidOperationException(SR.GetString(SR.ProcessHasExited, processId.ToString(CultureInfo.CurrentCulture))); 1514throw new ArgumentException(SR.GetString(SR.MissingProccess, processId.ToString(CultureInfo.CurrentCulture))); 1652Debug.WriteLineIf(processTracing.TraceVerbose, "GetProcessHandle(access = 0x" + access.ToString("X8", CultureInfo.InvariantCulture) + ", throwIfExited = " + throwIfExited + ")"); 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 (3)
277throw new InvalidOperationException(SR.GetString(SR.ProcessHasExited, processId.ToString(CultureInfo.CurrentCulture))); 294throw new InvalidOperationException(SR.GetString(SR.ThreadExited, threadId.ToString(CultureInfo.CurrentCulture))); 1175processInfo.processName = processInfo.processId.ToString(CultureInfo.InvariantCulture);
services\monitoring\system\diagnosticts\ProcessModule.cs (1)
121return String.Format(CultureInfo.CurrentCulture, "{0} ({1})", base.ToString(), this.ModuleName);
sys\system\collections\concurrent\BlockingCollection.cs (2)
1784String.Format(CultureInfo.InvariantCulture, SR.GetString(SR.BlockingCollection_TimeoutInvalid), Int32.MaxValue)); 1798String.Format(CultureInfo.InvariantCulture, SR.GetString(SR.BlockingCollection_TimeoutInvalid), Int32.MaxValue));
sys\system\configuration\ConfigurationException.cs (2)
94return BareMessage + " (" + file + " line " + Line.ToString(CultureInfo.InvariantCulture) + ")"; 101return BareMessage + " (line " + Line.ToString("G", CultureInfo.InvariantCulture) + ")";
sys\system\configuration\HandlerBase.cs (1)
89val = int.Parse(a.Value, CultureInfo.InvariantCulture);
sys\system\configuration\LocalFileSettingsProvider.cs (1)
383sectionName = string.Format(CultureInfo.InvariantCulture, "{0}.{1}", sectionName, key);
sys\system\configuration\SettingsPropertyValue.cs (2)
125null, null, args, CultureInfo.InvariantCulture); 264StringWriter sw = new StringWriter(CultureInfo.InvariantCulture);
sys\System\IO\compression\FastEncoder.cs (2)
136Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Match: {0}:{1}", matchLen, matchPos), "Compression"); 160Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Literal: {0}", b ), "Compression");
sys\System\IO\compression\OutputWindow.cs (2)
24Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Literal: {0}", b), "Compression"); 32Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Length/Distance: {0}:{1}", length, distance), "Compression");
sys\system\io\ports\SerialStream.cs (1)
1770Debug.Assert(false, "GetOverlappedResult returned error, we might leak intOverlapped memory" + error.ToString(CultureInfo.InvariantCulture));
System.Activities (106)
EtwTrackingParticipantTrackRecords.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
Microsoft\VisualBasic\Activities\VisualBasicImportReference.cs (1)
158xamlNamespace = string.Format(CultureInfo.InvariantCulture, "clr-namespace:{0};assembly={1}", this.Import, this.Assembly);
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicSettingsConverter.cs (2)
41public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 68public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Activities\Activity.cs (2)
786string name = generatedArgumentPrefix + this.tempAutoGeneratedArguments.Count.ToString(CultureInfo.InvariantCulture); 816return string.Format(CultureInfo.CurrentCulture, "{0}: {1}", this.Id, this.DisplayName);
System\Activities\ActivityContext.cs (1)
80return this.instanceId.ToString(CultureInfo.InvariantCulture);
System\Activities\ActivityInstance.cs (1)
241return this.id.ToString(CultureInfo.InvariantCulture);
System\Activities\ActivityUtilities.cs (2)
1096return string.Format(CultureInfo.InvariantCulture, "<Unnamed Id={0}>", bookmark.Id); 1112return string.Format(CultureInfo.InvariantCulture, "<Uninitialized TemporaryId={0}>", bookmarkScope.TemporaryId);
System\Activities\Bookmark.cs (1)
201return this.Id.ToString(CultureInfo.InvariantCulture);
System\Activities\BookmarkScope.cs (1)
165return new BookmarkScopeInfo(this.temporaryId.ToString(CultureInfo.InvariantCulture));
System\Activities\Debugger\DebugInfo.cs (15)
121expressionString = string.Format(CultureInfo.InvariantCulture, "[{0}]", expressionString); 328location.Value = Convert.ToBoolean(value, CultureInfo.InvariantCulture); 332location.Value = Convert.ToSByte(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 337succeed = ConvertToChar(value, Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture), out ch); 345location.Value = Convert.ToInt16(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 349location.Value = Convert.ToInt32(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 353location.Value = Convert.ToInt64(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 357location.Value = Convert.ToByte(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 361location.Value = Convert.ToUInt16(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 365location.Value = Convert.ToUInt32(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 369location.Value = Convert.ToUInt64(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 375location.Value = Convert.ToSingle(value, CultureInfo.InvariantCulture); 386location.Value = Convert.ToDouble(value, CultureInfo.InvariantCulture); 407location.Value = Convert.ToDecimal(value, CultureInfo.InvariantCulture); 412location.Value = Convert.ToDateTime(value, CultureInfo.CurrentCulture);
System\Activities\Debugger\DebugManager.cs (3)
244name = string.Format(CultureInfo.InvariantCulture, "{0}.{1}", parentName, displayName); 251name = string.Format(CultureInfo.InvariantCulture, "{0}.{1}{2}", parentName, displayName, i.ToString(CultureInfo.InvariantCulture));
System\Activities\Debugger\StateManager.cs (2)
365this.controller.Initialize(threadName + "." + threadId.ToString(CultureInfo.InvariantCulture), stateManager); 533typeName = typeNamePrefix + "_" + suffix.ToString(CultureInfo.InvariantCulture);
System\Activities\Debugger\Symbol\ActivitySymbol.cs (1)
80return string.Format(CultureInfo.InvariantCulture, "{0},{1},{2},{3},{4}", this.Id, this.StartLine, this.StartColumn, this.EndLine, this.EndColumn);
System\Activities\Debugger\Symbol\WorkflowSymbol.cs (4)
190StartLine = int.Parse(symbolSegments[1], CultureInfo.InvariantCulture), 191StartColumn = int.Parse(symbolSegments[2], CultureInfo.InvariantCulture), 192EndLine = int.Parse(symbolSegments[3], CultureInfo.InvariantCulture), 193EndColumn = int.Parse(symbolSegments[4], CultureInfo.InvariantCulture)
System\Activities\DynamicUpdate\DynamicUpdateMap.cs (2)
356string expectedId = entry.NewActivityId.ToString(CultureInfo.InvariantCulture); 455string activityId = currentIdSpace.Owner.Id + "." + entry.NewActivityId.ToString(CultureInfo.InvariantCulture);
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (1)
434BlockUpdate(activity, entry.OldActivityId.ToString(CultureInfo.InvariantCulture), reason, entry, message);
System\Activities\ExpressionParser\SourceExpressionException.cs (2)
53string index = i.ToString(CultureInfo.InvariantCulture); 93string index = i.ToString(CultureInfo.InvariantCulture);
System\Activities\Expressions\AssemblyReference.cs (2)
181CultureInfo curCulture = curAsmName.CultureInfo; 185CultureInfo reqCulture = assemblyName.CultureInfo;
System\Activities\Runtime\ActivityExecutor.cs (1)
2942TraceActivityScheduled(parent, activity, instanceId.ToString(CultureInfo.InvariantCulture));
System\Activities\Runtime\BookmarkScopeManager.cs (2)
406TD.BookmarkScopeInitialized(temporaryId.ToString(CultureInfo.InvariantCulture), lookupScope.Id.ToString()); 470TD.CreateBookmarkScope(string.Format(CultureInfo.InvariantCulture, "Id: {0}", ActivityUtilities.GetTraceString(scope)));
System\Activities\Runtime\MappableObjectManager.cs (1)
101this.MappingKeyName = string.Format(CultureInfo.InvariantCulture, "activity.{0}-{1}_{2}", activity.Id, locationOwner.Id, activityInstance.Id);
System\Activities\Statements\InvokeDelegate.cs (1)
166Fx.Assert(string.Format(CultureInfo.InvariantCulture, "Expected argument named '{0}' in the DelegateArguments collection to be an out argument.", entry.Key));
System\Activities\Statements\MethodResolver.cs (3)
424public override FieldInfo BindToField(BindingFlags bindingAttr, FieldInfo[] match, object value, CultureInfo culture) 429public override MethodBase BindToMethod(BindingFlags bindingAttr, MethodBase[] match, ref object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] names, out object state) 434public override object ChangeType(object value, Type type, CultureInfo culture)
System\Activities\Statements\StateMachineIdHelper.cs (3)
37return int.Parse(child[parent.Length], CultureInfo.InvariantCulture); 48return parentId + StateIdSeparator + index.ToString(CultureInfo.InvariantCulture); 59return stateid + StateIdSeparator + transitionIndex.ToString(CultureInfo.InvariantCulture);
System\Activities\Tracking\ActivityInfo.cs (2)
111this.instanceId = this.instanceIdInternal.ToString(CultureInfo.InvariantCulture); 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\CustomTrackingRecord.cs (1)
116return string.Format(CultureInfo.InvariantCulture,
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\Validation\ValidationError.cs (1)
109return string.Format(CultureInfo.InvariantCulture,
System\Activities\Validation\ValidationHelper.cs (1)
403Fx.Assert(!listValues.Contains(listEntry), string.Format(CultureInfo.InvariantCulture, "Duplicate group entry '{0}' getting added.", listEntry));
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (5)
443aliasPostfix = i.ToString(CultureInfo.InvariantCulture); 482xClassName = string.Format(CultureInfo.CurrentCulture, "_{0}", Guid.NewGuid().ToString().Replace("-", string.Empty).Substring(0, 4)); 502this.xClassNamespace = string.Format(CultureInfo.CurrentUICulture, "clr-namespace:{0}", this.xClassNamespace ?? string.Empty); 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\ActivityXamlServices.cs (2)
428beforeInitializeResourceName = string.Format(CultureInfo.InvariantCulture, "{0}_{1}.{2}", typeName, "BeforeInitializeComponentHelper", "txt"); 432beforeInitializeResourceName = string.Format(CultureInfo.InvariantCulture, "{0}_{1}_{2}.{3}", typeNamespace, typeName, "BeforeInitializeComponentHelper", "txt");
System\Activities\XamlIntegration\AssemblyReferenceConverter.cs (2)
23public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 62public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Activities\XamlIntegration\DynamicUpdateMapConverter.cs (1)
20public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Activities\XamlIntegration\DynamicUpdateMapItemConverter.cs (2)
19public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 51public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Activities\XamlIntegration\ImplementationVersionConverter.cs (2)
19public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 37public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (9)
636if (IsVB && string.Compare(toCheck, current, true, CultureInfo.CurrentCulture) == 0) 1140string indexString = descriptor.Id.ToString(CultureInfo.InvariantCulture); 1214string indexString = descriptor.Id.ToString(CultureInfo.InvariantCulture); 1239string indexString = descriptor.Id.ToString(CultureInfo.InvariantCulture); 1477expressionMethod.Name = string.Format(CultureInfo.InvariantCulture, expressionGetTreeString, nextExpressionId); 1536expressionMethod.Name = string.Format(CultureInfo.InvariantCulture, expressionGetString, nextExpressionId); 1574if (string.Compare(expressionText, paramName, true, Globalization.CultureInfo.CurrentCulture) == 0) 1581expressionMethod.Name = string.Format(CultureInfo.InvariantCulture, expressionSetString, nextExpressionId); 1631expressionMethod.Name = string.Format(CultureInfo.InvariantCulture, expressionStatementString, nextExpressionId);
System\Activities\XamlIntegration\TypeConverterBase.cs (2)
59public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 89public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Activities\XamlIntegration\WorkflowIdentityConverter.cs (1)
20public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.Activities.Core.Presentation (81)
SR.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
System\Activities\Core\Presentation\ArgumentIdentifierTrimConverter.cs (2)
14public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 24public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System\Activities\Core\Presentation\CaseKeyBoxIsEnabledConverter.cs (2)
14public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 29public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\CaseLabelVisibilityConverter.cs (2)
13public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 27public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\DisplayNameConverter.cs (2)
17public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 32public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\DynamicActivityPropertyToTooltipConverter.cs (3)
16public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 27return string.Format(CultureInfo.CurrentUICulture, SR.PropertyReferenceNotResolved, property.Name); 35public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\ExpandableItemShowExpandedMultiValueConverter.cs (2)
18public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 42public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\ExpressionToExpressionTextConverter.cs (2)
18public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 30public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
335errorMessage += string.Format(CultureInfo.CurrentUICulture, "Link{0}:{1}\n", i + 1, error);
System\Activities\Core\Presentation\FlowSwitchLinkMultiValueConverter.cs (2)
14public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 29public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (3)
202caseName = string.Format(CultureInfo.InvariantCulture, SR.CaseFormat, i); 545reason = string.Format(CultureInfo.CurrentCulture, SR.DuplicateCaseKey, key); 552reason = string.Format(CultureInfo.CurrentUICulture, SR.EqualityError, genericType.Name);
System\Activities\Core\Presentation\GenericTypeArgumentConverter.cs (2)
13public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 21public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System\Activities\Core\Presentation\HintTextConverter.cs (2)
15public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) 31public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
System\Activities\Core\Presentation\HintTextMaxWidthConverter.cs (3)
16public object Convert(object o, Type targetType, object parameter, CultureInfo culture) 22double maxWidth = double.Parse(parameter as string, CultureInfo.InvariantCulture.NumberFormat); 26public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\InvokeDelegateValidationFeature.cs (8)
135this.EmitValidationError(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyReferenceNotResolved, reference)); 141this.EmitValidationWarning(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAConcreteActivityDelegate, reference)); 147this.EmitValidationError(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAnActivityDelegate, reference)); 153this.EmitValidationWarning(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAConcreteActivityDelegate, reference)); 174errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateArgumentsDirectionalityMismatch, expectedArgument.Name, delegateArgument.Direction, expectedArgument.Direction); 183errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateInArgumentTypeMismatch, expectedArgument.Name, expectedArgument.Type, delegateArgument.ArgumentType); 190errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateOutArgumentTypeMismatch, expectedArgument.Name, expectedArgument.Type, delegateArgument.ArgumentType); 197errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateArgumentMissing, expectedArgument.Name);
System\Activities\Core\Presentation\IsLastSelectedItemConverter.cs (2)
18public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 31public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\IsStateRootDesignerConverter.cs (2)
20public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 32public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\MaxValueConverter.cs (2)
16public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 34public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\NotConverter.cs (2)
25public object Convert(object o, Type targetType, object parameter, CultureInfo culture) 30public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (2)
215errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.PasteTransitionWithoutAvailableConnectionPoints, sourceState.DisplayName); 243errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.PasteTransitionWithoutAvailableConnectionPoints, destinationStateItem.Properties["DisplayName"].Value);
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (2)
97startDot.ToolTip = string.Format(CultureInfo.InvariantCulture, TriggerNameToolTip, triggerName) + Environment.NewLine + SR.SharedTriggerToolTip; 538name = string.Format(CultureInfo.InvariantCulture, "T{0}", ++suffix);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
2173name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", DefaultStateDisplayName, ++suffix);
System\Activities\Core\Presentation\StateLinkButtonToolTipConverter.cs (3)
18public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 23return string.Format(CultureInfo.CurrentUICulture, SR.StateLinkButtonToolTip, stateOrTransitionName); 29public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
112reason = string.Format(CultureInfo.CurrentCulture, SR.DuplicateCaseKey, key);
System\Activities\Presentation\ActivityDesignerHelper.cs (1)
146name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", prefix, 1);
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (3)
535ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentCulture, SR.DuplicateArgumentName, newName)); 539ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentCulture, SR.EmptyArgumentName)); 598return string.Format(CultureInfo.InvariantCulture, "{0}{1}", this.ArgumentPrefix, maxNum);
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\ActivityXRefConverter.cs (3)
16public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 45return string.Format(CultureInfo.CurrentUICulture, formatString, displayName); 48public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System\ServiceModel\Activities\Presentation\ContentButtonTitleConverter.cs (2)
15public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 45public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
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\CorrelationInitializerDesigner.xaml.cs (1)
205get { return ((ModelItemCollection)this.ReflectedObject.Parent).IndexOf(this.ReflectedObject).ToString(CultureInfo.InvariantCulture); }
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (3)
160string.Format(CultureInfo.CurrentUICulture, (string)this.FindResource("parametersRequiredText"), requestDisplayName.GetCurrentValue()))); 171string.Format(CultureInfo.CurrentUICulture, (string)this.FindResource("parametersRequiredText"), this.Activity.Properties["DisplayName"].ComputedValue))); 177string xpath = string.Format(CultureInfo.InvariantCulture, "sm:body(){0}", xpathQuery);
System\ServiceModel\Activities\Presentation\MessageQuerySetDesigner.xaml.cs (1)
329errors.Add(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.DuplicateKeyName, name));
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (2)
165ErrorReporting.ShowAlertMessage(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.CannotPasteSendReplyOrReceiveReply, typeof(SendReply).Name)); 221DisplayName = string.Format(CultureInfo.CurrentUICulture, "SendReplyTo{0}", receive.Properties["DisplayName"].ComputedValue),
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\SendDesigner.xaml.cs (2)
168ErrorReporting.ShowAlertMessage(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.CannotPasteSendReplyOrReceiveReply, typeof(ReceiveReply).Name)); 224DisplayName = string.Format(CultureInfo.CurrentUICulture, "ReceiveReplyFor{0}", send.Properties["DisplayName"].ComputedValue),
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\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (1)
135using (StringWriter textWriter = new StringWriter(CultureInfo.InvariantCulture))
System\ServiceModel\Activities\Presentation\TypeToTreeConverter.cs (2)
20object IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture) 98object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.DurableInstancing (43)
System\Activities\DurableInstancing\CorrelationKey.cs (2)
55xmlWriter.WriteAttributeString("StartPosition", this.StartPosition.ToString(CultureInfo.InvariantCulture)); 56xmlWriter.WriteAttributeString("BinaryLength", this.BinaryData.Count.ToString(CultureInfo.InvariantCulture));
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (1)
23static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[CreateLockOwner]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\DeleteWorkflowOwnerAsyncResult.cs (1)
15static string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[DeleteLockOwner]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\DetectActivatableWorkflowsAsyncResult.cs (1)
17static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[GetActivatableWorkflowsActivationParameters]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\DetectRunnableInstancesAsyncResult.cs (1)
17static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[DetectRunnableInstances]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\ExtendLockAsyncResult.cs (1)
16static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[ExtendLock]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (1)
18static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[LoadInstance]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\QueryActivatableWorkflowAsyncResult.cs (1)
18static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[GetActivatableWorkflowsActivationParameters]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\RecoverInstanceLocksAsyncResult.cs (1)
16static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[RecoverInstanceLocks]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (11)
109commandTextBuilder.AppendLine(string.Format(CultureInfo.InvariantCulture, "exec @result = {0}.[SaveInstance] {1} ;", 221bookmarkListBuilder.AppendFormat(CultureInfo.InvariantCulture, "[{0}: {1}]{2}", bookmarkInfo.BookmarkName, bookmarkInfo.OwnerDisplayName, Environment.NewLine); 416byte[] serviceDeploymentHashBuffer = Encoding.Unicode.GetBytes(string.Format(CultureInfo.InvariantCulture, "{0}#{1}#{2}#{3}#{4}", 433commandTextBuilder.AppendLine(string.Format(CultureInfo.InvariantCulture, "exec {0}.[CreateServiceDeployment] {1} ;", 541string promotionNameArgument = string.Format(CultureInfo.InvariantCulture, "@promotionName{0}", promotionNumber); 542string instanceIdArgument = string.Format(CultureInfo.InvariantCulture, "@instanceId{0}", promotionNumber); 544storedProcInvocationBuilder.Append(string.Format(CultureInfo.InvariantCulture, "exec {0}.[InsertPromotedProperties] ", SqlWorkflowInstanceStoreConstants.DefaultSchema)); 562string parameterName = string.Format(CultureInfo.InvariantCulture, "@value{0}=", column); 563string argumentName = string.Format(CultureInfo.InvariantCulture, "@value{0}_promotion{1}", column, promotionNumber); 583string parameterName = string.Format(CultureInfo.InvariantCulture, "@value{0}=", column); 584string argumentName = string.Format(CultureInfo.InvariantCulture, "@value{0}_promotion{1}", column, promotionNumber);
System\Activities\DurableInstancing\SerializationUtilities.cs (6)
260string decimalAsString = value.ToString("G", CultureInfo.InvariantCulture); 409xmlWriter.WriteElementString("Major", id.Version.Major.ToString(CultureInfo.InvariantCulture)); 410xmlWriter.WriteElementString("Minor", id.Version.Minor.ToString(CultureInfo.InvariantCulture)); 413xmlWriter.WriteElementString("Build", id.Version.Build.ToString(CultureInfo.InvariantCulture)); 416xmlWriter.WriteElementString("Revision", id.Version.Revision.ToString(CultureInfo.InvariantCulture)); 427xmlWriter.WriteElementString("WorkflowIdentityFilter", workflowIdentityFilter.ToString(CultureInfo.InvariantCulture));
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (5)
161TD.SqlExceptionCaught(this.eventTraceActivity, exception.Number.ToString(CultureInfo.InvariantCulture), exception.Message); 183TD.RetryingSqlCommandDueToSqlError(this.eventTraceActivity, exception.Number.ToString(CultureInfo.InvariantCulture)); 219TD.QueuingSqlRetry(this.eventTraceActivity, delay.ToString(CultureInfo.InvariantCulture)); 295TD.SqlExceptionCaught(this.eventTraceActivity, exception.Number.ToString(null, CultureInfo.InvariantCulture), exception.Message); 310TD.RetryingSqlCommandDueToSqlError(this.eventTraceActivity, exception.Number.ToString(CultureInfo.InvariantCulture));
System\Activities\DurableInstancing\StoreUtilities.cs (2)
164traceString.AppendFormat(CultureInfo.InvariantCulture, "{0}='{1}'", sqlParameter.ParameterName, value); 169traceString.AppendFormat(CultureInfo.InvariantCulture, ", {0}='{1}'", sqlParameter.ParameterName, value);
System\Activities\DurableInstancing\TestVersionAndRunAsyncResult.cs (1)
20static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[GetWorkflowInstanceStoreVersion]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (1)
16static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[TryLoadRunnableInstance]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\UnlockInstanceAsyncResult.cs (1)
15static string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[UnlockInstance]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\XmlPropertyBag.cs (4)
41PrimitiveType type = (PrimitiveType)Int32.Parse(reader.Value, CultureInfo.InvariantCulture); 61writer.WriteAttributeString("Type", ((int)GetPrimitiveType(property.Value)).ToString(CultureInfo.InvariantCulture)); 184return float.Parse(value, CultureInfo.InvariantCulture); 254return ((float)value).ToString("r", CultureInfo.InvariantCulture);
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.Activities.Presentation (386)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\TypeNameHelper.cs (1)
83int numberOfParameters = int.Parse(match.Value.Substring(1), CultureInfo.InvariantCulture);
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\AttributeConverter.cs (1)
52public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (1)
249aliasPostfix = i.ToString(CultureInfo.InvariantCulture);
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 (4)
177prefix = ns.Prefix + i.ToString(CultureInfo.InvariantCulture); 210TextWriter textWriter = new StringWriter(CultureInfo.InvariantCulture); 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\Microsoft\Activities\Presentation\SharedSR.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
System.Activities.Presentation\SR.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
185this.ReportError(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(this.Factory.DelegateType, false)), details);
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\GenericTypeParameterConverter.cs (2)
31object IValueConverter.Convert(object value, Type convertToType, object containerParameter, CultureInfo culture) 50object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
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 (3)
38public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 41return string.Format(culture ?? CultureInfo.CurrentCulture, _format ?? "{0}", value.ToString()); 44public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (3)
1192return _parent._sharedWidthContainer.ValueColumnPercentage.ToString(CultureInfo.InvariantCulture); 1204if (!double.TryParse(stateString, NumberStyles.Float, CultureInfo.InvariantCulture, out percentage)) 1216Debug.Fail("Invalid percentage width stored in PI state: " + percentage.ToString(CultureInfo.InvariantCulture));
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\FlagPanel.cs (2)
79public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 93public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (3)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 26public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 57throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidFlagName, value, flagType.Name)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\ImageSourceToImageConverter.cs (2)
26public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 41public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\NewItemFactoryTypeModelToDisplayNameConverter.cs (2)
40public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 57public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\newitemfactorytypemodeltotypenameconverter.cs (2)
20public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 36public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\NonZeroToBoolConverter.cs (2)
34public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 44public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToDisplayNameConverter.cs (2)
45public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 102public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToStandardValuesConverter.cs (4)
31public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 46public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 61private CultureInfo _culture; 64internal ConvertedStandardValuesCollection(ModelPropertyEntryBase property, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\RTLValueConverter.cs (2)
27public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { 53public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) {
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\Editors\ValueToToolTipConverter.cs (2)
22public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { 31public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) {
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\AppendSuffixConverter.cs (2)
43public object ConvertBack(object o, Type targetType, object value, CultureInfo culture) 49public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToDoubleConverter.cs (2)
60public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture) 66public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityCollpasedConverter.cs (2)
33public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture) 39public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityHiddenConverter.cs (2)
34public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture) 45public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ComposingConverter.cs (2)
27public object Convert(object o, Type targetType, object parameter, CultureInfo culture) 36public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\EqualsConverter.cs (2)
18public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 30public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\IntegerToVisibilityConverter.cs (2)
42public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 48public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\IsNullConverter.cs (2)
21public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 26public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\NotConverter.cs (2)
23public object Convert(object o, Type targetType, object parameter, CultureInfo culture) 28public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\NullToBoolConverter.cs (2)
27public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture) 33public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\SwitchConverter.cs (2)
47public object Convert(object o, Type targetType, object parameter, CultureInfo culture) 60public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ValueConverters.cs (2)
75public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture) 85public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\VisibilityOrConverter.cs (2)
22public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 35public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
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\FromExpression\Framework\ValueEditors\ValueToIconConverter.cs (2)
31public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 46public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
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\ModelPropertyIndexer.cs (1)
126return _index.ToString(CultureInfo.InvariantCulture);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (4)
39private static CultureInfo _xamlCultureInfo; 158private static CultureInfo XamlCultureInfo 244CultureInfo.CurrentCulture, 421return string.Format(CultureInfo.CurrentCulture, "{0} (PropertyValue)", value ?? "{null}");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValueCollection.cs (2)
504throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture))); 515throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture)));
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\Metadata\MetadataStore.cs (4)
1084public override object InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters) { return _baseReflectionType.InvokeMember(name, invokeAttr, binder, target, args, modifiers, culture, namedParameters); } 1822public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) { return _info.GetValue(obj, invokeAttr, binder, index, culture); } 1824public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) { _info.SetValue(obj, value, invokeAttr, binder, index, culture); } 1954public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) { return _info.Invoke(obj, invokeAttr, binder, parameters, culture); }
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Properties\Resources.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 55internal static global::System.Globalization.CultureInfo Culture {
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\Converters\ArgumentToExpressionConverter.cs (2)
19public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 35public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionModelItemConverter.cs (2)
20public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 44public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelItemToAnnotationEnabledConverter.cs (2)
14public object Convert(object value, Type targetType, object parameter, Globalization.CultureInfo culture) 30public object ConvertBack(object value, Type targetType, object parameter, Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToModelItemConverter.cs (4)
23public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 47public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 131public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 136public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToOwnerActivityConverter.cs (2)
17public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 58public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelToObjectValueConverter.cs (2)
15public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 32public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\ObjectToModelValueConverter.cs (2)
20public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 38public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\OutlineViewTextConverter.cs (2)
18public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 48public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Converters\VBIdentifierTrimConverter.cs (2)
11public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 16public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (2)
43static readonly string WorkflowCallbackClipboardFormat = string.Format(CultureInfo.InvariantCulture, "WorkflowCallbackFormat{0}", Guid.NewGuid()); 545StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture);
System.Activities.Presentation\System\Activities\Presentation\DefaultCommandExtensionCallback.cs (1)
152base(key, ModifierKeys.Control, string.Format(CultureInfo.InvariantCulture, "Ctrl+{0}, {1}", key, chordKey))
System.Activities.Presentation\System\Activities\Presentation\DesignerConfigurationService.cs (3)
324throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkIdentifier, value.Identifier))); 329throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkProfile, value.Profile))); 334throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkVersion, value.Version.ToString())));
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (4)
322PropertyName = string.Format(CultureInfo.InvariantCulture, "{0}{1}", localPropertyName, ValidationErrorSuffix), 605string.Format(CultureInfo.InvariantCulture, "{0}{1}", this.descriptorData.PropertyName, DesignObjectWrapper.ValidationErrorSuffix) : 823public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 837public object[] ConvertBack(object value, Type[] targetType, object parameter, CultureInfo culture)
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 (9)
49ModelItemDataFormat = string.Format(CultureInfo.InvariantCulture, "ModelItemFormat_{0}", postfix); 50CompositeViewFormat = string.Format(CultureInfo.InvariantCulture, "CompositeViewFormat_{0}", postfix); 51DragAnchorPointFormat = string.Format(CultureInfo.InvariantCulture, "DragAnchorFormat_{0}", postfix); 52ModelItemsDataFormat = string.Format(CultureInfo.InvariantCulture, "ModelItemsFormat_{0}", postfix); 53MovedViewElementsFormat = string.Format(CultureInfo.InvariantCulture, "MovedViewElementsFormat_{0}", postfix); 216throw FxTrace.Exception.ArgumentNull(string.Format(CultureInfo.InvariantCulture, "allowedItemTypes[{0}]", i)); 378new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.Error_ItemNotOnView, index))); 427droppedObject = templateFactoryInterface2.InvokeMember("Create", BindingFlags.InvokeMethod, null, droppedObject, new object[] { dropTarget, dataObject }, CultureInfo.InvariantCulture); 453ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(type, false)), details);
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (2)
66ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, "{0}\n\n\"{1}\"", message, details)); 100ShowMessageBox(string.Format(CultureInfo.InvariantCulture, "{0}:\r\n{1}", err.GetType().Name, err.Message), MessageBoxImage.Error, err.StackTrace);
System.Activities.Presentation\System\Activities\Presentation\ExpandButtonVisibilityConverter.cs (2)
19public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 32public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\ExpandCollapseIsCheckedConverter.cs (2)
11public object Convert(object[] values, Type targetType, object parameter, global::System.Globalization.CultureInfo culture) 24public object[] ConvertBack(object value, Type[] targetTypes, object parameter, global::System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
123var converterValue = literalValueConverter.ConvertFrom(context, CultureInfo.CurrentCulture, valueToConvert);
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (1)
167throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorNameToSet,
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionMorphHelperAttribute.cs (1)
25throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture,
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointConverter.cs (2)
19public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) 37public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (1)
307return string.Format(CultureInfo.InvariantCulture, "Source={0} Destination={1} Points={2}", sourceId, destinationId, ((Connector)this.Owner).Points);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorIdentityConverter.cs (2)
14public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 23public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelMarginConverter.cs (2)
20public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 43public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelVisibilityConverter.cs (2)
20public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 36public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowMarginConverter.cs (3)
19public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 25int offset = int.Parse(parameter.ToString(), CultureInfo.InvariantCulture); 52public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowTransformConverter.cs (4)
21public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 23RotateTransform rotateTransform = new RotateTransform(0, double.Parse(parameter.ToString(), CultureInfo.InvariantCulture), double.Parse(parameter.ToString(), CultureInfo.InvariantCulture)); 32public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToSegmentsConverter.cs (2)
18public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 59public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
1072throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.InvariantCulture,
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorStartDotConverter.cs (2)
18public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 37public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\GenericTypeParameterConverter.cs (2)
37public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 42public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
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\MiniMap\MiniMapControl.xaml.cs (1)
509System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "{0} ScrollViewer: EWidth {1}, EHeight {2}, AWidth {3}, AHeight {4}, ViewPortW {5} ViewPortH {6}", prefix, mapSource.ExtentWidth, mapSource.ExtentHeight, mapSource.ActualWidth, mapSource.ActualHeight, mapSource.ViewportWidth, mapSource.ViewportHeight));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (6)
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]))); 310sb.Insert(0, "[" + ((ModelItemCollection)modelItem.Parent).IndexOf(modelItem).ToString(CultureInfo.InvariantCulture) + "]"); 404int index = Int32.Parse(indexString, CultureInfo.InvariantCulture); 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\Model\ModelSearchServiceImpl.cs (1)
685string toolTipText = string.Format(CultureInfo.CurrentUICulture, SR.SearchHintText, entry.ModelProperty.Name);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (2)
62public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 81public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System.Activities.Presentation\System\Activities\Presentation\Model\PropertyChange.cs (1)
30return string.Format(CultureInfo.InvariantCulture, "{0} - {1}", SR.PropertyChangeEditingScopeDescription, this.PropertyName);
System.Activities.Presentation\System\Activities\Presentation\Model\PropertyReferenceChange.cs (1)
25return string.Format(CultureInfo.InvariantCulture, "{0} - {1}", SR.PropertyReferenceChangeEditingScopeDescription, this.TargetProperty);
System.Activities.Presentation\System\Activities\Presentation\NotConverter.cs (2)
15public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 20public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\NullToBooleanConverter.cs (2)
13public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 18public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\ShowExpandedMultiValueConverter.cs (2)
23public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 50public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\TextFormattingConverter.cs (2)
16public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 28public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemImageConverter.cs (2)
23object IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture) 42object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemLoader.cs (1)
157if (0 == string.Compare(category.CategoryName, categoryName, true, CultureInfo.CurrentUICulture))
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\Toolbox\TreeViewContainerStyleSelector.cs (2)
140public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 171public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\TypeNameConverter.cs (2)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 32public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (2)
230throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "CommitBookmark"))); 253throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "RollbackBookmark")));
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (2)
797originalError.ErrorMessages.Add(string.Format(CultureInfo.CurrentUICulture, SR.WarningFormat, newError.Message)); 853throw FxTrace.Exception.Argument("validationErrorInfo", string.Format(CultureInfo.CurrentUICulture, SR.SourceReferenceIdNotFoundInWorkflow, sourceReferenceId));
System.Activities.Presentation\System\Activities\Presentation\VariableExpressionConverter.cs (2)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 19public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (7)
477identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 482duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 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); 1295errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, name)); 1306errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateArgumentName, name));
System.Activities.Presentation\System\Activities\Presentation\View\BreadCrumbTextConverter.cs (2)
22public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) 68public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\CanExpandCollapseAllConverter.cs (2)
13public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 24public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (3)
636Fx.Assert(null != dg, string.Format(CultureInfo.CurrentCulture, "DataGrid is not in the visual tree of this control: {0}", ctrl)); 1510public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 1571public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
476Fx.Assert(this.contextMenuTarget.IsVisible, string.Format(CultureInfo.InvariantCulture, "ContextMenuTarget {0} is not visible", this.contextMenuTarget.GetType())); 522System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "{0} DesignerView.OnWorkflowViewContextMenuLoaded()", DateTime.Now.ToLocalTime()));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (42)
652string.Format(CultureInfo.InvariantCulture, "{0} ) DesignerView.OnWorkflowElementGotKeyboardFocus(FocusedViewElement {1}, raisedBy {2})", 1504this.baseConverter.Convert(100.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture); 1509this.baseConverter.Convert(25.0, typeof(string), null, CultureInfo.InvariantCulture), 1510this.baseConverter.Convert(50.0, typeof(string), null, CultureInfo.InvariantCulture), 1511this.baseConverter.Convert(100.0, typeof(string), null, CultureInfo.InvariantCulture), 1512this.baseConverter.Convert(200.0, typeof(string), null, CultureInfo.InvariantCulture), 1513this.baseConverter.Convert(400.0, typeof(string), null, CultureInfo.InvariantCulture) 1534this.baseConverter.Convert(25.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1536this.baseConverter.Convert(37.5, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1538this.baseConverter.Convert(50.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1540this.baseConverter.Convert(75.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1542this.baseConverter.Convert(100.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1544this.baseConverter.Convert(150.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1546this.baseConverter.Convert(200.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1548this.baseConverter.Convert(300.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1550this.baseConverter.Convert(400.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1556string text = this.Convert(this.view.zoomSlider.Value, typeof(string), null, CultureInfo.InvariantCulture) as string; 1636public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 1656public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 1697public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 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)); 1716public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 1722result = System.Convert.ToDouble(valueAsString, CultureInfo.CurrentCulture); 1766public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 1778string key = string.Format(CultureInfo.InvariantCulture, "Operation{0}{1}Icon", iconName, menuItem.IsEnabled ? string.Empty : "Disabled"); 1789public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) 1825public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) 1832public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (8)
404this.UnsupportedEditorMessage = string.Format(CultureInfo.CurrentUICulture, SR.NonRegisteredExpressionEditor, editorName); 418throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorName, 645throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorType, 650throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.ExpressionActivityEditorRequiresDefaultConstructor, 814public override ValidationResult Validate(object value, CultureInfo cultureInfo) 824errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch, 829errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch, 835errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch,
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 (4)
221Fx.Assert(string.Format(CultureInfo.InvariantCulture, "PlacementTarget must be set in RelativeMode on ExtensionSurface '{0}'", this.Name)); 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)); 383System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "ArrangeOverride Size({0},{1})", arrangeSize.Width, arrangeSize.Height));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
249Fx.Assert(string.Format(CultureInfo.InvariantCulture, "ExtensionWindow '{0}' cannot be used outside ExtensionSurface", this.Name));
System.Activities.Presentation\System\Activities\Presentation\View\FilterableData.cs (1)
63return string.Format(CultureInfo.CurrentUICulture, "{0}:({1})", base.ToString(), typeof(TData).Name);
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\ModelPropertyPathExpanderConverter.cs (2)
16public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 49public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (2)
229prefix = string.Format(CultureInfo.InvariantCulture, "__{0}", Guid.NewGuid().ToString().Replace("-", "").Substring(0, 5)); 276string.Format(CultureInfo.InvariantCulture, "clr-namespace:{0};assembly={1}",
System.Activities.Presentation\System\Activities\Presentation\View\PropertyEntryToEditingContextConverter.cs (2)
13public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 27public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\PropertyEntryToEditorOptionConverter.cs (2)
20public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 60public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
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\TypePresenter.xaml.cs (4)
747public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 753public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) 874public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 894public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\TypeToArgumentTypeConverter.cs (2)
17public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 31public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\TypeToStringValueConverter.cs (4)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 20Fx.Assert(value is Type, string.Format(CultureInfo.InvariantCulture, "TypeToStringValueConverter cannot convert from type {0} to string", value.GetType().FullName)); 37public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 49stringValue = string.Format(CultureInfo.InvariantCulture, "System.{0}", stringValue);
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (11)
165identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 170duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 931name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", namePrefix, countStartValue++); 1297return ScopeToTooltipConverter.BuildToolTip(s, converter, CultureInfo.CurrentCulture); 1418errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, newName)); 1442errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, currentName)); 1462public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 1474public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 1484internal static string BuildToolTip(ModelItem entry, IMultiValueConverter displayNameConverter, CultureInfo culture) 1521public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 1526public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierName.cs (3)
128this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, trimedName); 133this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName); 138this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName);
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
446VirtualizedContainerService.SetHintSize(this.modelItem.GetCurrentValue(), bounds.Size.ToString(CultureInfo.InvariantCulture));
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (11)
930Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 988Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 1080newExpressionText = string.Format(CultureInfo.InvariantCulture, formatString, serializableExpression.ConvertToString(context.ParserContext)); 2054public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 2101public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) 2112public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 2122public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) 2134public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 2144public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) 2156public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 2174public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
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\WorkflowDesigner.cs (1)
457throw FxTrace.Exception.AsError(new SecurityException(string.Format(CultureInfo.CurrentUICulture, SR.UntrustedSourceDetected, fileName)));
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
198string uri = string.Format(CultureInfo.InvariantCulture, "pack://application:,,,/System.Activities.Presentation;component/Resources/{0}.png", iconName);
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (10)
347CultureInfo.InvariantCulture, 349this.GetType().Name, activeContainer == null ? "<null>" : activeContainer.GetHashCode().ToString(CultureInfo.InvariantCulture))); 450CultureInfo.InvariantCulture, 482CultureInfo.InvariantCulture, 500CultureInfo.InvariantCulture, 546string.Format(CultureInfo.InvariantCulture, "{0} ) WorkflowViewElement.OnGotFocusEvent ({1}, selection: {2}, becomesSelection {3}, raisedBy {4})", 641string.Format(CultureInfo.InvariantCulture, "{0} ) WorkflowViewElement.OnMouseDown ({1}, shouldSetFocus {2}, mouseCaptured {3}, raisedBy {4})", 649string.Format(CultureInfo.InvariantCulture, "{0} ) WorkflowViewElement.OnMouseDown.SetFocus ({1})", 812CultureInfo.InvariantCulture, 813string.Format(CultureInfo.CurrentUICulture, "{0} ) WorkflowViewElement.OnMouseUp ({1}, mouseCaptured {2})",
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
709string error = string.Format(CultureInfo.CurrentCulture, message, arguments);
System.Activities.Presentation\System\Activities\Presentation\XNameConverter.cs (2)
22public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 38public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System.AddIn (71)
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 (3)
120throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.MissingAddInProcessExecutable, _pathToAddInProcess)); 361String args = String.Format(CultureInfo.InvariantCulture, "/guid:{0} /pid:{1}", guid, Process.GetCurrentProcess().Id); 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\Hosting\Utils.cs (1)
141sb.Append(b.ToString("x2", System.Globalization.CultureInfo.InvariantCulture));
System\Addin\MiniReflection\MetadataReader\Metadata.cs (6)
26return String.Format(CultureInfo.InvariantCulture, "Table {0} ({1}), entry {2}", MDTables.Names[(Int32)Table], (UInt32)Table, Index); 31return String.Format(CultureInfo.InvariantCulture, "{0:x2}{1:x6}", (UInt32)Table, Index); 157Names[i] = String.Format(CultureInfo.InvariantCulture, "<<{0}>>", i); 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 (3)
178String typeRefDefiningAssemblyName = String.Format(CultureInfo.InvariantCulture, 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 (53)
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 (2)
27throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.EnumDataTypeAttribute_TypeNeedsToBeAnEnum, this.EnumType.FullName)); 95return Convert.ChangeType(enumValue, Enum.GetUnderlyingType(enumType), CultureInfo.InvariantCulture).ToString();
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 (5)
73throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.RangeAttribute_MinGreaterThanMax, maximum, minimum)); 132return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, this.Minimum, this.Maximum); 155this.Initialize((int)minimum, (int)maximum, v => Convert.ToInt32(v, CultureInfo.InvariantCulture)); 157this.Initialize((double)minimum, (double)maximum, v => Convert.ToDouble(v, CultureInfo.InvariantCulture)); 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");
Resources\DataAnnotationsResources.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
System.Configuration (52)
System\Configuration\ClientConfigPaths.cs (1)
183string applicationUriLower = !String.IsNullOrEmpty(_applicationUri) ? _applicationUri.ToLower(CultureInfo.InvariantCulture) : null;
System\Configuration\CommaDelimitedStringAttributeCollectionConverter.cs (2)
23public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 35public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) {
System\Configuration\ConfigurationElement.cs (3)
1226writer.WriteAttributeString(LockItemKey, true.ToString().ToLower(CultureInfo.InvariantCulture)); 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 (4)
185numPrefix = i.ToString(CultureInfo.InvariantCulture); 223numPrefix = i.ToString(CultureInfo.InvariantCulture); 248return BareMessage + " (" + file + " line " + Line.ToString(CultureInfo.CurrentCulture) + ")"; 255return BareMessage + " (line " + Line.ToString("G", CultureInfo.CurrentCulture) + ")";
System\Configuration\ConfigurationSection.cs (1)
78StringWriter strWriter = new StringWriter(CultureInfo.InvariantCulture);
System\Configuration\GenericEnumConverter.cs (2)
32public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 38public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) {
System\Configuration\InfiniteIntConverter.cs (3)
23public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 30return ((int)value).ToString(CultureInfo.InvariantCulture); 34public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) {
System\Configuration\InfiniteTimeSpanConverter.cs (2)
24public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 35public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) {
System\Configuration\MgmtConfigurationRecord.cs (8)
2079utilWriter.Write(string.Format(CultureInfo.InvariantCulture, 2085utilWriter.Write(string.Format(CultureInfo.InvariantCulture, 2190utilWriter.Write(String.Format(CultureInfo.InvariantCulture, FORMAT_LOCATION_NOPATH, locationUpdates.OverrideMode.LocationTagXmlString, BoolToString(locationUpdates.InheritInChildApps))); 2193utilWriter.Write(String.Format(CultureInfo.InvariantCulture, FORMAT_LOCATION_PATH, locationUpdates.OverrideMode.LocationTagXmlString, BoolToString(locationUpdates.InheritInChildApps), _locationSubPath)); 2219utilWriter.Write(String.Format(CultureInfo.InvariantCulture, FORMAT_LOCATION_PATH, OverrideModeSetting.LocationDefault.LocationTagXmlString, KEYWORD_TRUE, _locationSubPath)); 2341CultureInfo.InvariantCulture, FORMAT_CONFIGURATION_NAMESPACE, KEYWORD_CONFIGURATION_NAMESPACE); 3059updatedXml = string.Format(CultureInfo.InvariantCulture, FORMAT_SECTION_CONFIGSOURCE, configSection.SectionInformation.Name, configSection.SectionInformation.ConfigSource); 3241utilWriter.Write(string.Format(CultureInfo.InvariantCulture, FORMAT_CONFIGSOURCE_FILE, ConfigStreamInfo.StreamEncoding.WebName));
System\Configuration\OverrideMode.cs (1)
267result = String.Format(CultureInfo.InvariantCulture, BaseConfigurationRecord.KEYWORD_LOCATION_OVERRIDEMODE_STRING, attrib, value);
System\Configuration\ProtectedConfigurationSection.cs (1)
81return String.Format(CultureInfo.InvariantCulture, EncryptedSectionTemplate,
System\Configuration\TimeSpanMinutesConverter.cs (4)
23public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 28return data.ToString(CultureInfo.InvariantCulture); 31public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) { 34long min = long.Parse((string)data, CultureInfo.InvariantCulture);
System\Configuration\TimeSpanMinutesOrInfiniteConverter.cs (2)
23public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 34public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) {
System\Configuration\TimeSpanSecondsConverter.cs (4)
23public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 28return data.ToString(CultureInfo.InvariantCulture); 31public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) { 35min = long.Parse((string)data, CultureInfo.InvariantCulture);
System\Configuration\TimeSpanSecondsOrInfiniteConverter.cs (2)
23public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 34public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) {
System\Configuration\TimeSpanValidatorAttribute.cs (2)
59TimeSpan timeValue = TimeSpan.Parse(value, CultureInfo.InvariantCulture); 74TimeSpan timeValue = TimeSpan.Parse(value, CultureInfo.InvariantCulture);
System\Configuration\TypeNameConverter.cs (2)
23public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 38public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) {
System\Configuration\ValidatorUtils.cs (3)
38ValidateResolution(resolution.ToString(), Convert.ToInt64(value, CultureInfo.InvariantCulture), Convert.ToInt64(resolution, CultureInfo.InvariantCulture)); 83throw new ArgumentException( String.Format( CultureInfo.InvariantCulture,
System\Configuration\WhiteSpaceTrimStringConverter.cs (2)
23public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 33public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) {
System\Configuration\XmlUtil.cs (2)
961_cachedStringWriter = new StringWriter(new StringBuilder(64), CultureInfo.InvariantCulture); 1012StringWriter stringWriter = new StringWriter(new StringBuilder(64), CultureInfo.InvariantCulture);
System\Configuration\XmlUtilWriter.cs (1)
246string numberToWrite = ((int)ch).ToString("X", CultureInfo.InvariantCulture);
System.Core (59)
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\Compiler\LambdaCompiler.Statements.cs (1)
400return Convert.ToDecimal(value, CultureInfo.InvariantCulture);
Microsoft\Scripting\Utils\ContractUtils.cs (1)
92throw new ArgumentNullException(string.Format(System.Globalization.CultureInfo.CurrentCulture, "{0}[{1}]", arrayName, i));
System\Diagnostics\Eventing\EventProviderTraceListener.cs (2)
370m_provider.WriteMessageEvent(String.Format(CultureInfo.InvariantCulture, format, args) + s_callStackString + eventCache.Callstack, 376m_provider.WriteMessageEvent(String.Format(CultureInfo.InvariantCulture, format, args),
System\Diagnostics\Eventing\Reader\EventLogSession.cs (3)
273this.ExportLogAndMessages(path, pathType, query, targetFilePath, false, CultureInfo.CurrentCulture ); 276public void ExportLogAndMessages(string path, PathType pathType, string query, string targetFilePath, bool tolerateQueryErrors, CultureInfo targetCultureInfo ) { 278targetCultureInfo = CultureInfo.CurrentCulture;
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (4)
45private CultureInfo cultureInfo; 66public ProviderMetadata(string providerName, EventLogSession session, CultureInfo targetCultureInfo) 73internal ProviderMetadata(string providerName, EventLogSession session, CultureInfo targetCultureInfo, string logFilePath) { 78targetCultureInfo = CultureInfo.CurrentCulture;
System\Diagnostics\Eventing\Reader\ProviderMetadataCachedInformation.cs (9)
40private CultureInfo cultureInfo; 42public ProviderMetadataId(string providerName, CultureInfo cultureInfo) { 66public CultureInfo TheCultureInfo { 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\Diagnostics\EventSchemaTraceListener.cs (12)
192message = String.Format(CultureInfo.InvariantCulture, format, args); 283_InternalBuildRaw(writer, ((uint)((id <0)?0:id)).ToString(CultureInfo.InvariantCulture)); 293_InternalBuildRaw(writer, sev.ToString(CultureInfo.InvariantCulture)); 300_InternalBuildRaw(writer, op.ToString(CultureInfo.InvariantCulture)); 307_InternalBuildRaw(writer, eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture)); 309_InternalBuildRaw(writer, DateTime.UtcNow.ToString("o", CultureInfo.InvariantCulture)); 330_InternalBuildRaw(writer, ((uint)eventCache.ProcessId).ToString(CultureInfo.InvariantCulture)); 411_InternalBuildRaw(writer, eventCache.Timestamp.ToString(CultureInfo.InvariantCulture)); 522int bufferSize = Int32.Parse(Attributes[s_optionBufferSize], CultureInfo.InvariantCulture); 548long maxFileSize = Int64.Parse(Attributes[s_optionMaximumFileSize], CultureInfo.InvariantCulture); 553int maxNumberOfFiles = Int32.Parse(Attributes[s_optionMaximumNumberOfFiles], CultureInfo.InvariantCulture); 696internal TraceWriter(string _fileName, int bufferSize, TraceLogRetentionOption retention, long maxFileSize, int maxNumberOfFiles): base(CultureInfo.InvariantCulture) {
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\IO\LogStream.cs (1)
391string path = (_currentFileNum == 1)?_pathSav: _fileNameWithoutExt + _currentFileNum.ToString(CultureInfo.InvariantCulture) + _fileExt;
System\Security\Cryptography\CapiNative.cs (1)
600return algorithm.ToString().ToUpper(CultureInfo.InvariantCulture);
System\Security\Cryptography\Rfc4050KeyFormatter.cs (4)
175BigInteger x = BigInteger.Parse(navigator.Value, CultureInfo.InvariantCulture); 186BigInteger y = BigInteger.Parse(navigator.Value, CultureInfo.InvariantCulture); 340writer.WriteAttributeString(ValueAttribute, x.ToString("R", CultureInfo.InvariantCulture)); 345writer.WriteAttributeString(ValueAttribute, y.ToString("R", CultureInfo.InvariantCulture));
System.Data (808)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\TypeNameHelper.cs (1)
83int numberOfParameters = int.Parse(match.Value.Substring(1), CultureInfo.InvariantCulture);
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\AttributeConverter.cs (1)
52public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (1)
249aliasPostfix = i.ToString(CultureInfo.InvariantCulture);
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 (4)
177prefix = ns.Prefix + i.ToString(CultureInfo.InvariantCulture); 210TextWriter textWriter = new StringWriter(CultureInfo.InvariantCulture); 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\Microsoft.Tools.Common\Microsoft\VisualStudio\Activities\ImportServiceContract\ImportServiceContractNamingHelper.cs (1)
19return string.Format(CultureInfo.InvariantCulture, format, baseString, suffix);
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\SR.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
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\Microsoft\Activities\Presentation\SharedSR.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
cdf\src\NetFx40\Tools\System.Activities.Presentation\SR.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
185this.ReportError(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(this.Factory.DelegateType, false)), details);
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\GenericTypeParameterConverter.cs (2)
31object IValueConverter.Convert(object value, Type convertToType, object containerParameter, CultureInfo culture) 50object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
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 (3)
38public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 41return string.Format(culture ?? CultureInfo.CurrentCulture, _format ?? "{0}", value.ToString()); 44public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (3)
1192return _parent._sharedWidthContainer.ValueColumnPercentage.ToString(CultureInfo.InvariantCulture); 1204if (!double.TryParse(stateString, NumberStyles.Float, CultureInfo.InvariantCulture, out percentage)) 1216Debug.Fail("Invalid percentage width stored in PI state: " + percentage.ToString(CultureInfo.InvariantCulture));
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\FlagPanel.cs (2)
79public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 93public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (3)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 26public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 57throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidFlagName, value, flagType.Name)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\ImageSourceToImageConverter.cs (2)
26public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 41public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\NewItemFactoryTypeModelToDisplayNameConverter.cs (2)
40public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 57public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\newitemfactorytypemodeltotypenameconverter.cs (2)
20public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 36public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\NonZeroToBoolConverter.cs (2)
34public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 44public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToDisplayNameConverter.cs (2)
45public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 102public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToStandardValuesConverter.cs (4)
31public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 46public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 61private CultureInfo _culture; 64internal ConvertedStandardValuesCollection(ModelPropertyEntryBase property, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\RTLValueConverter.cs (2)
27public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { 53public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) {
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\Editors\ValueToToolTipConverter.cs (2)
22public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { 31public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\AppendSuffixConverter.cs (2)
43public object ConvertBack(object o, Type targetType, object value, CultureInfo culture) 49public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToDoubleConverter.cs (2)
60public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture) 66public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityCollpasedConverter.cs (2)
33public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture) 39public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\BoolToVisibilityHiddenConverter.cs (2)
34public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture) 45public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ComposingConverter.cs (2)
27public object Convert(object o, Type targetType, object parameter, CultureInfo culture) 36public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\EqualsConverter.cs (2)
18public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 30public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\IntegerToVisibilityConverter.cs (2)
42public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 48public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\IsNullConverter.cs (2)
21public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 26public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\NotConverter.cs (2)
23public object Convert(object o, Type targetType, object parameter, CultureInfo culture) 28public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\NullToBoolConverter.cs (2)
27public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture) 33public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\SwitchConverter.cs (2)
47public object Convert(object o, Type targetType, object parameter, CultureInfo culture) 60public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\ValueConverters.cs (2)
75public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture) 85public object Convert(object o, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\VisibilityOrConverter.cs (2)
22public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 35public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
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\FromExpression\Framework\ValueEditors\ValueToIconConverter.cs (2)
31public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 46public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
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\ModelPropertyIndexer.cs (1)
126return _index.ToString(CultureInfo.InvariantCulture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (4)
39private static CultureInfo _xamlCultureInfo; 158private static CultureInfo XamlCultureInfo 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\Model\ModelPropertyValueCollection.cs (2)
504throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture))); 515throw FxTrace.Exception.AsError(new IndexOutOfRangeException(index.ToString(CultureInfo.InvariantCulture)));
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\Metadata\MetadataStore.cs (4)
1084public override object InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters) { return _baseReflectionType.InvokeMember(name, invokeAttr, binder, target, args, modifiers, culture, namedParameters); } 1822public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) { return _info.GetValue(obj, invokeAttr, binder, index, culture); } 1824public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) { _info.SetValue(obj, value, invokeAttr, binder, index, culture); } 1954public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) { return _info.Invoke(obj, invokeAttr, binder, parameters, culture); }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Properties\Resources.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 55internal static global::System.Globalization.CultureInfo Culture {
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\Converters\ArgumentToExpressionConverter.cs (2)
19public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 35public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionModelItemConverter.cs (2)
20public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 44public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelItemToAnnotationEnabledConverter.cs (2)
14public object Convert(object value, Type targetType, object parameter, Globalization.CultureInfo culture) 30public object ConvertBack(object value, Type targetType, object parameter, Globalization.CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToModelItemConverter.cs (4)
23public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 47public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 131public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 136public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToOwnerActivityConverter.cs (2)
17public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 58public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelToObjectValueConverter.cs (2)
15public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 32public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ObjectToModelValueConverter.cs (2)
20public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 38public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\OutlineViewTextConverter.cs (2)
18public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 48public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\VBIdentifierTrimConverter.cs (2)
11public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 16public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (2)
43static readonly string WorkflowCallbackClipboardFormat = string.Format(CultureInfo.InvariantCulture, "WorkflowCallbackFormat{0}", Guid.NewGuid()); 545StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DefaultCommandExtensionCallback.cs (1)
152base(key, ModifierKeys.Control, string.Format(CultureInfo.InvariantCulture, "Ctrl+{0}, {1}", key, chordKey))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerConfigurationService.cs (3)
324throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkIdentifier, value.Identifier))); 329throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkProfile, value.Profile))); 334throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkVersion, value.Version.ToString())));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (4)
322PropertyName = string.Format(CultureInfo.InvariantCulture, "{0}{1}", localPropertyName, ValidationErrorSuffix), 605string.Format(CultureInfo.InvariantCulture, "{0}{1}", this.descriptorData.PropertyName, DesignObjectWrapper.ValidationErrorSuffix) : 823public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 837public object[] ConvertBack(object value, Type[] targetType, object parameter, CultureInfo culture)
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 (9)
49ModelItemDataFormat = string.Format(CultureInfo.InvariantCulture, "ModelItemFormat_{0}", postfix); 50CompositeViewFormat = string.Format(CultureInfo.InvariantCulture, "CompositeViewFormat_{0}", postfix); 51DragAnchorPointFormat = string.Format(CultureInfo.InvariantCulture, "DragAnchorFormat_{0}", postfix); 52ModelItemsDataFormat = string.Format(CultureInfo.InvariantCulture, "ModelItemsFormat_{0}", postfix); 53MovedViewElementsFormat = string.Format(CultureInfo.InvariantCulture, "MovedViewElementsFormat_{0}", postfix); 216throw FxTrace.Exception.ArgumentNull(string.Format(CultureInfo.InvariantCulture, "allowedItemTypes[{0}]", i)); 378new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.Error_ItemNotOnView, index))); 427droppedObject = templateFactoryInterface2.InvokeMember("Create", BindingFlags.InvokeMethod, null, droppedObject, new object[] { dropTarget, dataObject }, CultureInfo.InvariantCulture); 453ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(type, false)), details);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (2)
66ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, "{0}\n\n\"{1}\"", message, details)); 100ShowMessageBox(string.Format(CultureInfo.InvariantCulture, "{0}:\r\n{1}", err.GetType().Name, err.Message), MessageBoxImage.Error, err.StackTrace);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ExpandButtonVisibilityConverter.cs (2)
19public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 32public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ExpandCollapseIsCheckedConverter.cs (2)
11public object Convert(object[] values, Type targetType, object parameter, global::System.Globalization.CultureInfo culture) 24public object[] ConvertBack(object value, Type[] targetTypes, object parameter, global::System.Globalization.CultureInfo culture)
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\Expressions\ExpressionActivityEditor.cs (1)
167throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorNameToSet,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionMorphHelperAttribute.cs (1)
25throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointConverter.cs (2)
19public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) 37public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\Connector.cs (1)
307return string.Format(CultureInfo.InvariantCulture, "Source={0} Destination={1} Points={2}", sourceId, destinationId, ((Connector)this.Owner).Points);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorIdentityConverter.cs (2)
14public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 23public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelMarginConverter.cs (2)
20public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 43public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelVisibilityConverter.cs (2)
20public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 36public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowMarginConverter.cs (3)
19public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 25int offset = int.Parse(parameter.ToString(), CultureInfo.InvariantCulture); 52public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowTransformConverter.cs (4)
21public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 23RotateTransform rotateTransform = new RotateTransform(0, double.Parse(parameter.ToString(), CultureInfo.InvariantCulture), double.Parse(parameter.ToString(), CultureInfo.InvariantCulture)); 32public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToSegmentsConverter.cs (2)
18public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 59public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
1072throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.InvariantCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorStartDotConverter.cs (2)
18public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 37public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\GenericTypeParameterConverter.cs (2)
37public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 42public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
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\MiniMap\MiniMapControl.xaml.cs (1)
509System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "{0} ScrollViewer: EWidth {1}, EHeight {2}, AWidth {3}, AHeight {4}, ViewPortW {5} ViewPortH {6}", prefix, mapSource.ExtentWidth, mapSource.ExtentHeight, mapSource.ActualWidth, mapSource.ActualHeight, mapSource.ViewportWidth, mapSource.ViewportHeight));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (6)
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]))); 310sb.Insert(0, "[" + ((ModelItemCollection)modelItem.Parent).IndexOf(modelItem).ToString(CultureInfo.InvariantCulture) + "]"); 404int index = Int32.Parse(indexString, CultureInfo.InvariantCulture); 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\Model\ModelSearchServiceImpl.cs (1)
685string toolTipText = string.Format(CultureInfo.CurrentUICulture, SR.SearchHintText, entry.ModelProperty.Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (2)
62public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 81public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\PropertyChange.cs (1)
30return string.Format(CultureInfo.InvariantCulture, "{0} - {1}", SR.PropertyChangeEditingScopeDescription, this.PropertyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\PropertyReferenceChange.cs (1)
25return string.Format(CultureInfo.InvariantCulture, "{0} - {1}", SR.PropertyReferenceChangeEditingScopeDescription, this.TargetProperty);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NotConverter.cs (2)
15public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 20public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NullToBooleanConverter.cs (2)
13public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 18public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ShowExpandedMultiValueConverter.cs (2)
23public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 50public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\TextFormattingConverter.cs (2)
16public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 28public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemImageConverter.cs (2)
23object IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture) 42object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemLoader.cs (1)
157if (0 == string.Compare(category.CategoryName, categoryName, true, CultureInfo.CurrentUICulture))
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\Toolbox\TreeViewContainerStyleSelector.cs (2)
140public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 171public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\TypeNameConverter.cs (2)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 32public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (2)
230throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "CommitBookmark"))); 253throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "RollbackBookmark")));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (2)
797originalError.ErrorMessages.Add(string.Format(CultureInfo.CurrentUICulture, SR.WarningFormat, newError.Message)); 853throw FxTrace.Exception.Argument("validationErrorInfo", string.Format(CultureInfo.CurrentUICulture, SR.SourceReferenceIdNotFoundInWorkflow, sourceReferenceId));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\VariableExpressionConverter.cs (2)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 19public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (7)
477identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 482duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 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); 1295errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, name)); 1306errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateArgumentName, name));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\BreadCrumbTextConverter.cs (2)
22public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) 68public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\CanExpandCollapseAllConverter.cs (2)
13public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 24public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (3)
636Fx.Assert(null != dg, string.Format(CultureInfo.CurrentCulture, "DataGrid is not in the visual tree of this control: {0}", ctrl)); 1510public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 1571public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
476Fx.Assert(this.contextMenuTarget.IsVisible, string.Format(CultureInfo.InvariantCulture, "ContextMenuTarget {0} is not visible", this.contextMenuTarget.GetType())); 522System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "{0} DesignerView.OnWorkflowViewContextMenuLoaded()", DateTime.Now.ToLocalTime()));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (42)
652string.Format(CultureInfo.InvariantCulture, "{0} ) DesignerView.OnWorkflowElementGotKeyboardFocus(FocusedViewElement {1}, raisedBy {2})", 1504this.baseConverter.Convert(100.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture); 1509this.baseConverter.Convert(25.0, typeof(string), null, CultureInfo.InvariantCulture), 1510this.baseConverter.Convert(50.0, typeof(string), null, CultureInfo.InvariantCulture), 1511this.baseConverter.Convert(100.0, typeof(string), null, CultureInfo.InvariantCulture), 1512this.baseConverter.Convert(200.0, typeof(string), null, CultureInfo.InvariantCulture), 1513this.baseConverter.Convert(400.0, typeof(string), null, CultureInfo.InvariantCulture) 1534this.baseConverter.Convert(25.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1536this.baseConverter.Convert(37.5, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1538this.baseConverter.Convert(50.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1540this.baseConverter.Convert(75.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1542this.baseConverter.Convert(100.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1544this.baseConverter.Convert(150.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1546this.baseConverter.Convert(200.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1548this.baseConverter.Convert(300.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1550this.baseConverter.Convert(400.0, typeof(string), null, CultureInfo.InvariantCulture), typeof(double), null, CultureInfo.InvariantCulture), 1556string text = this.Convert(this.view.zoomSlider.Value, typeof(string), null, CultureInfo.InvariantCulture) as string; 1636public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 1656public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 1697public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 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)); 1716public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 1722result = System.Convert.ToDouble(valueAsString, CultureInfo.CurrentCulture); 1766public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 1778string key = string.Format(CultureInfo.InvariantCulture, "Operation{0}{1}Icon", iconName, menuItem.IsEnabled ? string.Empty : "Disabled"); 1789public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) 1825public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) 1832public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (8)
404this.UnsupportedEditorMessage = string.Format(CultureInfo.CurrentUICulture, SR.NonRegisteredExpressionEditor, editorName); 418throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorName, 645throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorType, 650throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.ExpressionActivityEditorRequiresDefaultConstructor, 814public override ValidationResult Validate(object value, CultureInfo cultureInfo) 824errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch, 829errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch, 835errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch,
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 (4)
221Fx.Assert(string.Format(CultureInfo.InvariantCulture, "PlacementTarget must be set in RelativeMode on ExtensionSurface '{0}'", this.Name)); 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)); 383System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "ArrangeOverride Size({0},{1})", arrangeSize.Width, arrangeSize.Height));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
249Fx.Assert(string.Format(CultureInfo.InvariantCulture, "ExtensionWindow '{0}' cannot be used outside ExtensionSurface", this.Name));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\FilterableData.cs (1)
63return string.Format(CultureInfo.CurrentUICulture, "{0}:({1})", base.ToString(), typeof(TData).Name);
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\ModelPropertyPathExpanderConverter.cs (2)
16public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 49public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (2)
229prefix = string.Format(CultureInfo.InvariantCulture, "__{0}", Guid.NewGuid().ToString().Replace("-", "").Substring(0, 5)); 276string.Format(CultureInfo.InvariantCulture, "clr-namespace:{0};assembly={1}",
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\PropertyEntryToEditingContextConverter.cs (2)
13public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 27public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\PropertyEntryToEditorOptionConverter.cs (2)
20public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 60public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
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\TypePresenter.xaml.cs (4)
747public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 753public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) 874public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 894public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeToArgumentTypeConverter.cs (2)
17public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 31public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeToStringValueConverter.cs (4)
14public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 20Fx.Assert(value is Type, string.Format(CultureInfo.InvariantCulture, "TypeToStringValueConverter cannot convert from type {0} to string", value.GetType().FullName)); 37public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 49stringValue = string.Format(CultureInfo.InvariantCulture, "System.{0}", stringValue);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (11)
165identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 170duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 931name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", namePrefix, countStartValue++); 1297return ScopeToTooltipConverter.BuildToolTip(s, converter, CultureInfo.CurrentCulture); 1418errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, newName)); 1442errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, currentName)); 1462public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 1474public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 1484internal static string BuildToolTip(ModelItem entry, IMultiValueConverter displayNameConverter, CultureInfo culture) 1521public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 1526public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierName.cs (3)
128this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, trimedName); 133this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName); 138this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
446VirtualizedContainerService.SetHintSize(this.modelItem.GetCurrentValue(), bounds.Size.ToString(CultureInfo.InvariantCulture));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (11)
930Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 988Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 1080newExpressionText = string.Format(CultureInfo.InvariantCulture, formatString, serializableExpression.ConvertToString(context.ParserContext)); 2054public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 2101public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) 2112public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 2122public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) 2134public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 2144public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) 2156public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 2174public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
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\WorkflowDesigner.cs (1)
457throw FxTrace.Exception.AsError(new SecurityException(string.Format(CultureInfo.CurrentUICulture, SR.UntrustedSourceDetected, fileName)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
198string uri = string.Format(CultureInfo.InvariantCulture, "pack://application:,,,/System.Activities.Presentation;component/Resources/{0}.png", iconName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (10)
347CultureInfo.InvariantCulture, 349this.GetType().Name, activeContainer == null ? "<null>" : activeContainer.GetHashCode().ToString(CultureInfo.InvariantCulture))); 450CultureInfo.InvariantCulture, 482CultureInfo.InvariantCulture, 500CultureInfo.InvariantCulture, 546string.Format(CultureInfo.InvariantCulture, "{0} ) WorkflowViewElement.OnGotFocusEvent ({1}, selection: {2}, becomesSelection {3}, raisedBy {4})", 641string.Format(CultureInfo.InvariantCulture, "{0} ) WorkflowViewElement.OnMouseDown ({1}, shouldSetFocus {2}, mouseCaptured {3}, raisedBy {4})", 649string.Format(CultureInfo.InvariantCulture, "{0} ) WorkflowViewElement.OnMouseDown.SetFocus ({1})", 812CultureInfo.InvariantCulture, 813string.Format(CultureInfo.CurrentUICulture, "{0} ) WorkflowViewElement.OnMouseUp ({1}, mouseCaptured {2})",
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
709string error = string.Format(CultureInfo.CurrentCulture, message, arguments);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\XNameConverter.cs (2)
22public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 38public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
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 (13)
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, 760fields = String.Format(CultureInfo.InvariantCulture, 768properties = String.Format(CultureInfo.InvariantCulture, 773return String.Format(CultureInfo.InvariantCulture, "\n\t" 966return String.Format(CultureInfo.InvariantCulture, 1138return String.Format(CultureInfo.InvariantCulture, "{0}" 1416return String.Format(CultureInfo.InvariantCulture, "{0}" 1697return String.Format(CultureInfo.InvariantCulture, "{0}"
fx\src\data\Microsoft\SqlServer\Server\SmiMetaDataProperty.cs (2)
136returnValue += columnOrd.ToString(CultureInfo.InvariantCulture); 152return String.Format(CultureInfo.InvariantCulture, "{0} {1}", SortOrdinal, Order);
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (4)
1124return t.InvokeMember("Null", BindingFlags.Public | BindingFlags.GetProperty | BindingFlags.Static, null, null, new Object[]{}, CultureInfo.InvariantCulture); 1129Debug.Assert(index >= 0 && index < __dbTypeToStorageType.Length, string.Format(CultureInfo.InvariantCulture, "Unexpected dbType value: {0}", dbType)); 2382result = t.InvokeMember("Null", BindingFlags.Public | BindingFlags.GetProperty | BindingFlags.Static, null, null, new Object[]{}, CultureInfo.InvariantCulture); 2467throw SQL.MoneyOverflow(decimalValue.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\BaseCollection.cs (1)
66internal int NamesEqual(string s1, string s2, bool fCaseSensitive, CultureInfo locale) {
fx\src\data\System\Data\CodeGen\datacache.cs (2)
679tableInitClass.Statements.Add(Assign(Property(This(), "Locale"), New(typeof(System.Globalization.CultureInfo),new CodeExpression[] {Str(table.Locale.ToString())}))); 1137initClassMethod.Statements.Add(Assign(Property(This(), "Locale"), New(typeof(System.Globalization.CultureInfo),new CodeExpression[] {Str(dataSet.Locale.ToString())})));
fx\src\data\System\Data\ColumnTypeConverter.cs (2)
81public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 121public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) {
fx\src\data\System\Data\Common\ActivityCorrelator.cs (1)
53return string.Format(CultureInfo.InvariantCulture, "{0}:{1}", this.Id, this.Sequence);
fx\src\data\System\Data\Common\AdapterUtil.cs (40)
184IndexOutOfRangeException e = new IndexOutOfRangeException(value.ToString(CultureInfo.InvariantCulture)); 409return ADP.ArgumentOutOfRange(Res.GetString(Res.ADP_InvalidEnumerationValue, type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name); 941return IndexOutOfRange(Res.GetString(Res.ADP_CollectionIndexInt32, index.ToString(CultureInfo.InvariantCulture), collection.Name, count.ToString(CultureInfo.InvariantCulture))); 1203return InvalidOperation(Res.GetString(Res.ADP_NonSeqByteAccess, badIndex.ToString(CultureInfo.InvariantCulture), currIndex.ToString(CultureInfo.InvariantCulture), method)); 1219return IndexOutOfRange(Res.GetString(Res.SQL_ExceedsMaxDataLength, specifiedLength.ToString(CultureInfo.InvariantCulture), maxLength.ToString(CultureInfo.InvariantCulture))); 1247return InvalidOperation(Res.GetString(Res.ADP_NonSequentialColumnAccess, badCol.ToString(CultureInfo.InvariantCulture), currCol.ToString(CultureInfo.InvariantCulture))); 1261return Argument(Res.GetString(Res.ADP_InvalidMaxRecords, max.ToString(CultureInfo.InvariantCulture)), parameter); 1264return Argument(Res.GetString(Res.ADP_InvalidStartRecord, start.ToString(CultureInfo.InvariantCulture)), parameter); 1318DBConcurrencyException exception = new DBConcurrencyException(Res.GetString(resource, affected.ToString(CultureInfo.InvariantCulture), expected.ToString(CultureInfo.InvariantCulture)), null, dataRows); 1354return Argument(Res.GetString(Res.ADP_UpdateMismatchRowTable, i.ToString(CultureInfo.InvariantCulture))); 1370return Argument(Res.GetString(Res.ADP_InvalidCommandTimeout, value.ToString(CultureInfo.InvariantCulture)), ADP.CommandTimeout); 1376return InvalidOperation(Res.GetString(Res.ADP_UninitializedParameterSize, index.ToString(CultureInfo.InvariantCulture), dataType.Name)); 1498return ArgumentOutOfRange(Res.GetString(Res.ADP_InvalidSourceBufferIndex, maxLen.ToString(CultureInfo.InvariantCulture), srcOffset.ToString(CultureInfo.InvariantCulture)), parameterName); 1501return ArgumentOutOfRange(Res.GetString(Res.ADP_InvalidDestinationBufferIndex, maxLen.ToString(CultureInfo.InvariantCulture), dstOffset.ToString(CultureInfo.InvariantCulture)), parameterName); 1504return IndexOutOfRange(Res.GetString(Res.SQL_InvalidBufferSizeOrIndex, numBytes.ToString(CultureInfo.InvariantCulture), bufferIndex.ToString(CultureInfo.InvariantCulture))); 1507return IndexOutOfRange(Res.GetString(Res.SQL_InvalidDataLength, length.ToString(CultureInfo.InvariantCulture))); 1573return Argument(Res.GetString(Res.ADP_UnknownDataTypeCode, ((int) typeCode).ToString(CultureInfo.InvariantCulture), dataType.FullName)); 1576return Argument(Res.GetString(Res.ADP_InvalidOffsetValue, value.ToString(CultureInfo.InvariantCulture))); 1579return Argument(Res.GetString(Res.ADP_InvalidSizeValue, value.ToString(CultureInfo.InvariantCulture))); 1864return (0 == CultureInfo.InvariantCulture.CompareInfo.Compare(strvalue, strconst, CompareOptions.IgnoreCase)); 2009CultureInfo invariant = CultureInfo.InvariantCulture; 2051decimalSeparator = CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator; 2241major = Int32.Parse(parts[0], NumberStyles.None, CultureInfo.InvariantCulture); 2242minor = Int32.Parse(parts[1], NumberStyles.None, CultureInfo.InvariantCulture); 2243build = Int32.Parse(parts[2], NumberStyles.None, CultureInfo.InvariantCulture); 2244Int32.Parse(parts[3], NumberStyles.None, CultureInfo.InvariantCulture); 2402columnName = columnName.ToLower(CultureInfo.InvariantCulture); 2422columnName = columnName.ToLower(CultureInfo.InvariantCulture); 2432string uniqueName = columnName + uniqueIndex.ToString(CultureInfo.InvariantCulture); 2433string lowerName = uniqueName.ToLower(CultureInfo.InvariantCulture); // MDAC 66978 2471return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, ADP.compareOptions);
fx\src\data\System\Data\Common\BigIntegerStorage.cs (2)
138return BigInteger.Parse(s, System.Globalization.CultureInfo.InvariantCulture); 142return ((BigInteger)value).ToString("D", System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DataAdapter.cs (2)
286DataAdapter clone = (DataAdapter)Activator.CreateInstance(GetType(), System.Reflection.BindingFlags.Public|System.Reflection.BindingFlags.Instance, null, null, CultureInfo.InvariantCulture, null); 768return srcTable + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DataColumnMapping.cs (1)
189override public object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\Common\DataColumnMappingCollection.cs (1)
351name = ADP.SourceColumn + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DataTableMapping.cs (1)
202override public object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\Common\DataTableMappingCollection.cs (1)
352name = ADP.SourceTable + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DBCommandBuilder.cs (3)
175Debug.Assert(_isMutatedName[iMutatedName], String.Format(CultureInfo.InvariantCulture, "{0} expected to be a mutated name", _baseParameterNames[iMutatedName])); 1052return String.Format(CultureInfo.InvariantCulture, _parameterMarkerFormat, parameterName); 1095return String.Format(CultureInfo.InvariantCulture, _parameterMarkerFormat, parameterName);
fx\src\data\System\Data\Common\DbConnectionOptions.cs (2)
341return System.Int32.Parse(stringValue, System.Globalization.NumberStyles.Integer, CultureInfo.InvariantCulture); 566return buffer.ToString(0, count).ToLower(CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
217return (value == null) ? (string)null : Convert.ToString(value, CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (4)
264return ((IConvertible)value).ToBoolean(CultureInfo.InvariantCulture); 294return ((IConvertible)value).ToBoolean(CultureInfo.InvariantCulture); 306return ((IConvertible)value).ToInt32(CultureInfo.InvariantCulture); 318return ((IConvertible)value).ToString(CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DBDataPermission.cs (3)
138return (Activator.CreateInstance(GetType(), System.Reflection.BindingFlags.Public|System.Reflection.BindingFlags.Instance, null, null, CultureInfo.InvariantCulture, null) as DBDataPermission); 296if ((XmlStr._add == tag) || ((null != tag) && (XmlStr._add == tag.ToLower(CultureInfo.InvariantCulture)))) { 332root.AddAttribute(XmlStr._AllowBlankPassword, _allowBlankPassword.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\Common\DbProviderFactoriesConfigurationHandler.cs (1)
273table.Locale = CultureInfo.InvariantCulture;
fx\src\data\System\Data\Common\DBSchemaRow.cs (16)
62return Convert.ToString(value, CultureInfo.InvariantCulture); 89return Convert.ToInt32(value, CultureInfo.InvariantCulture); 104return Convert.ToString(value, CultureInfo.InvariantCulture); 120return Convert.ToString(value, CultureInfo.InvariantCulture); 137return Convert.ToString(value, CultureInfo.InvariantCulture); 153return Convert.ToString(value, CultureInfo.InvariantCulture); 169return Convert.ToString(value, CultureInfo.InvariantCulture); 185return Convert.ToBoolean(value, CultureInfo.InvariantCulture); 201return Convert.ToBoolean(value, CultureInfo.InvariantCulture); 217return Convert.ToBoolean(value, CultureInfo.InvariantCulture); 233return Convert.ToBoolean(value, CultureInfo.InvariantCulture); 266return Convert.ToBoolean(value, CultureInfo.InvariantCulture); 298return Convert.ToBoolean(value, CultureInfo.InvariantCulture); 314return Convert.ToBoolean(value, CultureInfo.InvariantCulture); 330return Convert.ToBoolean(value, CultureInfo.InvariantCulture); 362return Convert.ToBoolean(value, CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\FieldNameLookup.cs (1)
115compareInfo = CultureInfo.InvariantCulture.CompareInfo;
fx\src\data\System\Data\Common\HandlerBase.cs (1)
64parentConfig.Locale = CultureInfo.InvariantCulture;
fx\src\data\System\Data\Common\SQLConvert.cs (2)
783return iconvertible.ToString(System.Globalization.CultureInfo.InvariantCulture); 788return iformattable.ToString((string)null, System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\Constraint.cs (2)
51CultureInfo locale = (Table != null ? Table.Locale : CultureInfo.CurrentCulture);
fx\src\data\System\Data\ConstraintCollection.cs (1)
580return "Constraint" + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\ConstraintConverter.cs (1)
42public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\DataColumn.cs (4)
443return ((null != table) ? table.FormatProvider : CultureInfo.CurrentCulture); 447internal CultureInfo Locale { 450return ((null != table) ? table.Locale : CultureInfo.CurrentCulture); 1882System.Int64 v = (Int64)SqlConvert.ChangeType2(value, StorageType.Int64, typeof(Int64), CultureInfo.InvariantCulture);
fx\src\data\System\Data\DataColumnCollection.cs (1)
692return "Column" + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\DataException.cs (15)
437return _IndexOutOfRange(Res.GetString(Res.DataColumns_OutOfRange, (index).ToString(CultureInfo.InvariantCulture))); 496return _ArgumentOutOfRange(name, Res.GetString(Res.DataColumn_OrdinalExceedMaximun, (ordinal).ToString(CultureInfo.InvariantCulture))); 543return _IndexOutOfRange(Res.GetString(Res.DataConstraint_OutOfRange, (index).ToString(CultureInfo.InvariantCulture))); 701return _Argument(Res.GetString(Res.DataColumn_CannotSetMaxLength, column.ColumnName, value.ToString(CultureInfo.InvariantCulture))); 830return _IndexOutOfRange(Res.GetString(Res.DataView_GetElementIndex, (index).ToString(CultureInfo.InvariantCulture))); 870return _InvalidConstraint(Res.GetString(Res.DataKey_TooManyColumns, (cols).ToString(CultureInfo.InvariantCulture))); 1029return _IndexOutOfRange(Res.GetString(Res.DataRow_OutOfRange, (index).ToString(CultureInfo.InvariantCulture))); 1032return _IndexOutOfRange(Res.GetString(Res.DataRow_RowInsertOutOfRange, (index).ToString(CultureInfo.InvariantCulture))); 1036return _IndexOutOfRange(Res.GetString(Res.DataRow_RowInsertTwice, (index).ToString(CultureInfo.InvariantCulture), tableName)); 1098return _Argument(Res.GetString(Res.DataIndex_KeyLength, (length).ToString(CultureInfo.InvariantCulture), (keyLength).ToString(CultureInfo.InvariantCulture))); 1210return _IndexOutOfRange(Res.GetString(Res.DataTable_OutOfRange, (index).ToString(CultureInfo.InvariantCulture))); 1254return _Argument(Res.GetString(Res.Range_Argument, (min).ToString(CultureInfo.InvariantCulture), (max).ToString(CultureInfo.InvariantCulture))); 1263string xchar = "0x" + ((UInt16)charValue).ToString("X", CultureInfo.InvariantCulture);
fx\src\data\System\Data\DataRelation.cs (2)
380CultureInfo locale = (dataSet != null ? dataSet.Locale : CultureInfo.CurrentCulture);
fx\src\data\System\Data\DataRelationCollection.cs (2)
340return "Relation" + index.ToString(System.Globalization.CultureInfo.InvariantCulture); 373CultureInfo locale = GetDataSet().Locale;
fx\src\data\System\Data\DataSet.cs (13)
63private CultureInfo _culture; 107_culture = CultureInfo.CurrentCulture; // Set default locale 299info.AddValue(String.Format(CultureInfo.InvariantCulture, "DataSet.Tables_{0}", i), memStream.GetBuffer()); 332StringWriter strWriter = new StringWriter(strBuilder, CultureInfo.InvariantCulture); 360Byte[] buffer = (Byte[])info.GetValue(String.Format(CultureInfo.InvariantCulture, "DataSet.Tables_{0}", i), typeof(Byte[])); 777public CultureInfo Locale { 800internal void SetLocaleValue(CultureInfo value, bool userSet) { 805CultureInfo oldLocale = _culture; 1362StringWriter strWriter = new StringWriter(CultureInfo.InvariantCulture); 1381StringWriter strWriter = new StringWriter(CultureInfo.InvariantCulture); 1399StringWriter strWriter = new StringWriter(CultureInfo.InvariantCulture); 1415StringWriter strWriter = new StringWriter(CultureInfo.InvariantCulture); 3342version = Single.Parse(values[0], CultureInfo.InvariantCulture);
fx\src\data\System\Data\DataTable.cs (19)
82private CultureInfo _culture; 188_culture = CultureInfo.CurrentCulture; 212bool isSingleTable = context.Context != null ? Convert.ToBoolean(context.Context, CultureInfo.InvariantCulture) : true; 229bool isSingleTable = context.Context != null ? Convert.ToBoolean(context.Context, CultureInfo.InvariantCulture) : true; 348IFormatProvider formatProvider = CultureInfo.InvariantCulture; 400CultureInfo culture = new CultureInfo(lcid); 422IFormatProvider formatProvider = CultureInfo.InvariantCulture; 535info.AddValue(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.Constraints", serIndex), constraintList); 545ArrayList constraintList = (ArrayList) info.GetValue(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.Constraints", serIndex), typeof(ArrayList)); 608info.AddValue(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.DataColumn_{1}.Expression", serIndex, i), Columns[i].Expression); 616string expr = info.GetString(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.DataColumn_{1}.Expression", serIndex, i)); 689IFormatProvider formatProvider = CultureInfo.InvariantCulture; 709IFormatProvider formatProvider = CultureInfo.InvariantCulture; 1277CultureInfo culture = Locale; 1279culture = CultureInfo.InvariantCulture; 1309public CultureInfo Locale { 1329CultureInfo oldLocale = _culture; 1371internal bool SetLocaleValue(CultureInfo culture, bool userSet, bool resetIndexes) { 1667CultureInfo currentLocale = this.Locale;
fx\src\data\System\Data\DataTableCollection.cs (2)
636return "Table" + index.ToString(System.Globalization.CultureInfo.InvariantCulture); 670CultureInfo locale = dataSet.Locale;
fx\src\data\System\Data\DataTableReader.cs (1)
606tempSchemaTable.Locale = System.Globalization.CultureInfo.InvariantCulture;
fx\src\data\System\Data\DataView.cs (4)
369CultureInfo locale = (table != null ? table.Locale : CultureInfo.CurrentCulture); 477CultureInfo locale = (table != null ? table.Locale : CultureInfo.CurrentCulture);
fx\src\data\System\Data\DataViewManager.cs (1)
98builder.AppendFormat(System.Globalization.CultureInfo.InvariantCulture, "<{0} Sort=\"{1}\" RowFilter=\"{2}\" RowStateFilter=\"{3}\"/>", dt.EncodedTableName, ds.Sort, ds.RowFilter, ds.RowStateFilter);
fx\src\data\System\Data\DefaultValueTypeConverter.cs (2)
30public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 47public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) {
fx\src\data\System\Data\Filter\ConstNode.cs (2)
40this.val = Convert.ToBoolean(constant, CultureInfo.InvariantCulture); 54this.val = DateTime.Parse((string)constant, CultureInfo.InvariantCulture);
fx\src\data\System\Data\Filter\ExpressionNode.cs (1)
25return ((null != _table) ? _table.FormatProvider : System.Globalization.CultureInfo.CurrentCulture);
fx\src\data\System\Data\Filter\ExpressionParser.cs (1)
1050CompareInfo comparer = CultureInfo.InvariantCulture.CompareInfo;
fx\src\data\System\Data\Filter\FilterException.cs (4)
162return _Syntax(Res.GetString(Res.Expr_UnknownToken, token, position.ToString(CultureInfo.InvariantCulture))); 166return _Syntax(Res.GetString(Res.Expr_UnknownToken1, tokExpected.ToString(), tokCurr.ToString(), position.ToString(CultureInfo.InvariantCulture))); 210return _Eval(Res.GetString(Res.Expr_ArgumentType, function, arg.ToString(CultureInfo.InvariantCulture), type.ToString())); 214return _Eval(Res.GetString(Res.Expr_ArgumentTypeInteger, function, arg.ToString(CultureInfo.InvariantCulture)));
fx\src\data\System\Data\Filter\NameNode.cs (4)
153Debug.Assert(text[checked((int)pos-1)] == '`', "Invalid identifyer bracketing, pos = " + pos.ToString(CultureInfo.InvariantCulture) + ", end = " + text[checked((int)pos-1)].ToString(CultureInfo.InvariantCulture)); 160Debug.Assert(text[checked((int)pos-1)] == ']', "Invalid identifyer bracketing of name " + new string(text, start, pos-start) + " pos = " + pos.ToString(CultureInfo.InvariantCulture) + ", end = " + text[checked((int)pos-1)].ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\Odbc\Odbc32.cs (2)
41return ADP.ArgumentOutOfRange(Res.GetString(Res.ODBC_NotSupportedEnumerationValue, type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name); 81return ADP.DataAdapter(Res.GetString(Res.Odbc_NoMappingForSqlTransactionLevel, value.ToString(CultureInfo.InvariantCulture)));
fx\src\data\System\Data\Odbc\OdbcCommandBuilder.cs (1)
75return "p" + parameterOrdinal.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\Odbc\OdbcConnection.cs (1)
214ProviderInfo.IsV3Driver = (int.Parse(ProviderInfo.DriverVersion.Substring(0,2), CultureInfo.InvariantCulture) >= 3);
fx\src\data\System\Data\Odbc\OdbcConnectionStringbuilder.cs (1)
313override public object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (3)
663this.dataCache[i] = Int64.Parse(value, CultureInfo.InvariantCulture); 751this.dataCache[i] = Decimal.Parse(s, System.Globalization.CultureInfo.InvariantCulture); 1923schematable.Locale = CultureInfo.InvariantCulture;
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (1)
1021resultTable.Locale = System.Globalization.CultureInfo.InvariantCulture;
fx\src\data\System\Data\Odbc\OdbcParameter.cs (8)
597value = ((Decimal)value).ToString(CultureInfo.CurrentCulture); 609value = ((Int64)value).ToString(CultureInfo.CurrentCulture); 646int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID; 647CultureInfo culInfo = new CultureInfo(lcid); 849int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID; 850CultureInfo culInfo = new CultureInfo(lcid); 858Value = Decimal.Parse((string)Value, System.Globalization.CultureInfo.CurrentCulture); 1012public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\OleDb\ColumnBinding.cs (4)
454Value_I1(Convert.ToSByte((Int16)value, CultureInfo.InvariantCulture)); 465Value_UI2(Convert.ToUInt16((Int32)value, CultureInfo.InvariantCulture)); 473Value_UI4(Convert.ToUInt32((Int64)value, CultureInfo.InvariantCulture)); 484Value_UI8(Convert.ToUInt64((Decimal)value, CultureInfo.InvariantCulture));
fx\src\data\System\Data\OleDb\DBPropSet.cs (1)
231Debug.Assert(null != properties[i], "null tagDBPROP " + i.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (16)
32builder.Append(Res.GetString(Res.OleDb_CommandParameterBadAccessor,index.ToString(CultureInfo.InvariantCulture), "")); 37builder.Append(Res.GetString(Res.OleDb_CommandParameterCantConvertValue,index.ToString(CultureInfo.InvariantCulture), "")); 42builder.Append(Res.GetString(Res.OleDb_CommandParameterSignMismatch,index.ToString(CultureInfo.InvariantCulture), "")); 47builder.Append(Res.GetString(Res.OleDb_CommandParameterDataOverflow,index.ToString(CultureInfo.InvariantCulture), "")); 56builder.Append(Res.GetString(Res.OleDb_CommandParameterUnavailable,index.ToString(CultureInfo.InvariantCulture), "")); 77builder.Append(Res.GetString(Res.OleDb_CommandParameterDefault,index.ToString(CultureInfo.InvariantCulture), "")); 82builder.Append(Res.GetString(Res.OleDb_CommandParameterError, index.ToString(CultureInfo.InvariantCulture), status.ToString())); 92return ADP.InvalidOperation(Res.GetString(Res.OleDb_UninitializedParameters, index.ToString(CultureInfo.InvariantCulture), dbtype.ToString())); 95return ADP.DataAdapter(Res.GetString(Res.OleDb_BadStatus_ParamAcc, index.ToString(CultureInfo.InvariantCulture), status.ToString())); 148builder.Append(Res.GetString(Res.OleDb_PropertyStatusUnknown, ((int) status).ToString(CultureInfo.InvariantCulture))); 244return ADP.DataAdapter(Res.GetString(Res.OleDb_GVtUnknown, wType.ToString("X4", CultureInfo.InvariantCulture), wType.ToString(CultureInfo.InvariantCulture))); 247return ADP.DataAdapter(Res.GetString(Res.OleDb_SVtUnknown, wType.ToString("X4", CultureInfo.InvariantCulture), wType.ToString(CultureInfo.InvariantCulture))); 252return ADP.DataAdapter(Res.GetString(Res.OleDb_BadStatusRowAccessor, i.ToString(CultureInfo.InvariantCulture), rowStatus.ToString())); 642builder.Append(((int)hr).ToString("X8", CultureInfo.InvariantCulture));
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (8)
70return "p" + parameterOrdinal.ToString(System.Globalization.CultureInfo.InvariantCulture); 215parameter.ParameterName = Convert.ToString(dataRow[parameterName, DataRowVersion.Default], CultureInfo.InvariantCulture).TrimStart(new char[] { '@', ' ', ':'}); 218short direction = Convert.ToInt16(dataRow[parameterDirection, DataRowVersion.Default], CultureInfo.InvariantCulture); 223short wType = Convert.ToInt16(dataRow[dataType, DataRowVersion.Default], CultureInfo.InvariantCulture); 227parameter.Size = Convert.ToInt32(dataRow[maxLen, DataRowVersion.Default], CultureInfo.InvariantCulture); 235parameter.PrecisionInternal = (Byte) Convert.ToInt16(dataRow[numericPrecision], CultureInfo.InvariantCulture); 239parameter.ScaleInternal = (Byte) Convert.ToInt16(dataRow[numericScale], CultureInfo.InvariantCulture); 247string backendtypename = ((string) value).ToLower(CultureInfo.InvariantCulture);
fx\src\data\System\Data\OleDb\OleDbConnection.cs (4)
89return Convert.ToInt32(value, CultureInfo.InvariantCulture); 127return Convert.ToString(value, CultureInfo.InvariantCulture); 158return Convert.ToString(value, CultureInfo.InvariantCulture); 244Debug.Assert(false, "Unknown 'Connection Status' value " + connectionStatus.ToString("G", CultureInfo.InvariantCulture));
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (6)
180return Convert.ToString(value, CultureInfo.InvariantCulture); 377table.Locale = CultureInfo.InvariantCulture; 430table.Locale = CultureInfo.InvariantCulture; 475table.Locale = CultureInfo.InvariantCulture; 600dataTable.Locale = CultureInfo.InvariantCulture; 645return Activator.CreateInstance(datalink, System.Reflection.BindingFlags.Public|System.Reflection.BindingFlags.Instance, null, null, CultureInfo.InvariantCulture, null);
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (3)
368object tmp = ADP.ClassesRootRegistryValue("CLSID\\{" + classidProvider.ToString("D", CultureInfo.InvariantCulture) + "}", ODB.OLEDB_SERVICES); 385builder.Append(_oledbServices.ToString(CultureInfo.InvariantCulture)); 411progid = progid.ToLower(CultureInfo.InvariantCulture);
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (4)
639if (!OleDbConnectionString.IsMSDASQL(progid.ToLower(CultureInfo.InvariantCulture))) { 678public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { 707public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) { 752override public object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (1)
475return srcTable + index.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (4)
303schemaTable.Locale = CultureInfo.InvariantCulture; 1737string tmp = name.ToLower(CultureInfo.InvariantCulture); 1818basecolumname = basecolumname.ToLower(CultureInfo.InvariantCulture); 1933bool nullsVal = (null != nulls) && (dataRow.IsNull(nulls, DataRowVersion.Default) || (ODB.DBPROPVAL_IN_ALLOWNULL == Convert.ToInt32(dataRow[nulls, DataRowVersion.Default], CultureInfo.InvariantCulture)));
fx\src\data\System\Data\OleDb\OleDbEnumerator.cs (2)
27dataTable.Locale = CultureInfo.InvariantCulture; 41object value = Activator.CreateInstance(type, System.Reflection.BindingFlags.Public|System.Reflection.BindingFlags.Instance, null, null, CultureInfo.InvariantCulture, null);
fx\src\data\System\Data\OleDb\OleDbError.cs (1)
26int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID;
fx\src\data\System\Data\OleDb\OleDbException.cs (1)
142override public object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\OleDb\OleDbMetaDataFactory.cs (2)
276DataRow[] tableNameRow = infoLiterals.Select("Literal = " + ODB.DBLITERAL_TABLE_NAME.ToString(CultureInfo.InvariantCulture)); 404short nativeDataType = (short) Convert.ChangeType(sourceRow[sourceOleDbType],typeof(short), CultureInfo.InvariantCulture);
fx\src\data\System\Data\OleDb\OleDbParameter.cs (2)
480throw ADP.PrepareParameterScale(cmd, _metaType.wType.ToString("G", CultureInfo.InvariantCulture)); 557public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\OleDb\OleDbSchemaGuid.cs (1)
143return "{" + guid.ToString("D", CultureInfo.InvariantCulture) + ")";
fx\src\data\System\Data\OleDb\PropertyInfoSet.cs (1)
92propertyInfo._lowercase = propinfo.pwszDescription.ToLower(CultureInfo.InvariantCulture);
fx\src\data\System\Data\PrimaryKeyTypeConverter.cs (1)
33public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (3)
92destinationTable.Locale = CultureInfo.InvariantCulture; 186resultTable.Locale = CultureInfo.InvariantCulture; 479_metaDataCollectionsDataSet.Locale = System.Globalization.CultureInfo.InvariantCulture;
fx\src\Data\System\Data\ProviderBase\DbParameterCollectionHelper.cs (1)
270name = ADP.Parameter + index.ToString(CultureInfo.CurrentCulture);
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (5)
992targetColumn.AutoIncrementSeed = ((IConvertible)value).ToInt64(CultureInfo.InvariantCulture); 1000targetColumn.AutoIncrementStep = ((IConvertible)value).ToInt64(CultureInfo.InvariantCulture); 1008targetColumn.ColumnMapping = (MappingType)((IConvertible)value).ToInt32(CultureInfo.InvariantCulture); 1016targetColumn.Namespace = ((IConvertible)value).ToString(CultureInfo.InvariantCulture); 1024targetColumn.Expression = ((IConvertible)value).ToString(CultureInfo.InvariantCulture);
fx\src\data\System\Data\RelationshipConverter.cs (1)
41public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\Select.cs (1)
582? System.Globalization.CultureInfo.InvariantCulture.CompareInfo : null;
fx\src\data\System\Data\SimpleType.cs (2)
285constraint.SetAttribute(Keywords.VALUE, length.ToString(CultureInfo.InvariantCulture)); 290constraint.SetAttribute(Keywords.VALUE, maxLength.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\Sql\SqlDataSourceEnumerator.cs (1)
96dataTable.Locale = CultureInfo.InvariantCulture;
fx\src\data\System\Data\Sql\SqlMetaData.cs (19)
446m_lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 467throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 468lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 472throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 473lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 477throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 478lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 482throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 483lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 488throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 489lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 493throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 497throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 502throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 536throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 541throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 546throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 551throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength"); 557throw ADP.Argument(Res.GetString(Res.ADP_InvalidDataLength2, maxLength.ToString(CultureInfo.InvariantCulture)), "maxLength");
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\SqlCommandBuilder.cs (2)
187return "@p" + parameterOrdinal.ToString(System.Globalization.CultureInfo.InvariantCulture); 194return "@p" + parameterOrdinal.ToString(System.Globalization.CultureInfo.InvariantCulture);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (3)
1888mapFileName = mapFileName + pid.ToString(CultureInfo.InvariantCulture); 2254o = t.InvokeMember("Null", BindingFlags.Public | BindingFlags.GetProperty | BindingFlags.Static, null, null, new Object[]{}, CultureInfo.InvariantCulture); 2472mapFileName = mapFileName + dwpidDebuggee.ToString(CultureInfo.InvariantCulture);
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (1)
353string networkLibrary = _networkLibrary.Trim().ToLower(CultureInfo.InvariantCulture);
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (5)
713switch(value.Trim().ToLower(CultureInfo.InvariantCulture)) { 1237public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { 1264public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) { 1267switch(svalue.Trim().ToLower(CultureInfo.InvariantCulture)) { 1442override public object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
427schemaTable.Locale = CultureInfo.InvariantCulture;
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
467schemaTable.Locale = System.Globalization.CultureInfo.InvariantCulture;
fx\src\data\System\Data\SqlClient\SqlDependency.cs (1)
1182builder.Append(temp[j].ToString("x2", CultureInfo.InvariantCulture));
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (2)
200notificationId = string.Format(System.Globalization.CultureInfo.InvariantCulture, 203Guid.NewGuid().ToString("D", System.Globalization.CultureInfo.InvariantCulture)
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
691Debug.Assert(false, "Unknown type " + tdsType.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SqlClient\SqlException.cs (1)
179exception.Data.Add("HelpLink.EvtID", errorCollection[0].Number.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (2)
2121_currentPacketSize = Int32.Parse(rec.newValue, CultureInfo.InvariantCulture); 2742UserServerName = string.Format(CultureInfo.InvariantCulture, "{0},{1}", routing.ServerName, routing.Port);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (2)
421localeId = System.Globalization.CultureInfo.CurrentCulture.LCID; 1770override public object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
fx\src\data\System\Data\SqlClient\SqlUtil.cs (15)
381return ADP.ArgumentOutOfRange(Res.GetString(Res.SQL_NotSupportedEnumerationValue, type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name); 451return ADP.Argument(Res.GetString(Res.SQL_PrecisionValueOutOfRange, precision.ToString(CultureInfo.InvariantCulture))); 454return ADP.Argument(Res.GetString(Res.SQL_ScaleValueOutOfRange, scale.ToString(CultureInfo.InvariantCulture))); 457return ADP.Argument(Res.GetString(Res.SQL_TimeScaleValueOutOfRange, scale.ToString(CultureInfo.InvariantCulture))); 509return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorWithState, ((int)state).ToString(CultureInfo.InvariantCulture))); 512return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorWithState, ((int)state).ToString(CultureInfo.InvariantCulture)), innerException); 515return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorValue, ((int)state).ToString(CultureInfo.InvariantCulture), value)); 518return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorOffset, ((int)state).ToString(CultureInfo.InvariantCulture), offset)); 521return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorFeatureId, ((int)state).ToString(CultureInfo.InvariantCulture), featureId)); 524return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorToken, ((int)state).ToString(CultureInfo.InvariantCulture), token)); 527return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorLength, ((int)state).ToString(CultureInfo.InvariantCulture), length)); 530return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorStatus, ((int)state).ToString(CultureInfo.InvariantCulture), status)); 533return ADP.InvalidOperation(Res.GetString(Res.SQL_ParsingErrorAuthLibraryType, ((int)state).ToString(CultureInfo.InvariantCulture), libraryType)); 797return ADP.Argument(Res.GetString(Res.SQL_BulkLoadInvalidTimeout, timeout.ToString(CultureInfo.InvariantCulture))); 1665return ADP.InvalidOperation(Res.GetString(Res.OleDb_CommandParameterError, index.ToString(CultureInfo.InvariantCulture), "SqlParameter.Size"));
fx\src\data\System\Data\SqlClient\TdsParser.cs (22)
2300Debug.Assert(false, "Unhandled token: " + token.ToString(CultureInfo.InvariantCulture)); 2410_defaultCodePage = Int32.Parse(stringCodePage, NumberStyles.Integer, CultureInfo.InvariantCulture); 2425Int32 packetSize = Int32.Parse(env.newValue, NumberStyles.Integer, CultureInfo.InvariantCulture); 2447_defaultLCID = Int32.Parse(env.newValue, NumberStyles.Integer, CultureInfo.InvariantCulture); 3152Bid.Trace("<sc.TdsParser.TryProcessFedAuthInfo> CountOfInfoIDs = %ls\n", optionsCount.ToString(CultureInfo.InvariantCulture)); 3188Bid.Trace("<sc.TdsParser.TryProcessFedAuthInfo> FedAuthInfoOpt: ID=%d, DataLen=%ls, Offset=%ls\n", id, dataLen.ToString(CultureInfo.InvariantCulture), dataOffset.ToString(CultureInfo.InvariantCulture)); 3699codePage = CultureInfo.GetCultureInfo(cultureId).TextInfo.ANSICodePage; 3719CultureInfo ci = null; 4722Debug.Assert(md != null, "_SqlMetaData should not be null for column " + i.ToString(CultureInfo.InvariantCulture)); 5029Debug.Assert(false, "Unknown tds type for SqlString!" + type.ToString(CultureInfo.InvariantCulture)); 5634Debug.Assert(false, "Unknown SqlType!" + tdsType.ToString(CultureInfo.InvariantCulture)); 5803Debug.Assert(false, "Unknown tds type in SqlVariant!" + type.ToString(CultureInfo.InvariantCulture)); 6174throw SQL.MoneyOverflow(decimalValue.ToString(CultureInfo.InvariantCulture)); 6199throw SQL.MoneyOverflow(value.ToString(CultureInfo.InvariantCulture)); 6238throw SQL.MoneyOverflow(value.ToString(CultureInfo.InvariantCulture)); 10014Debug.Assert(type.FixedLength == 8, "invalid length for SqlIntN type: " + type.FixedLength.ToString(CultureInfo.InvariantCulture)); 10576Debug.Assert(type.FixedLength == 8, "invalid length for SqlIntN type: " + type.FixedLength.ToString(CultureInfo.InvariantCulture)); 10659throw SQL.SmallDateTimeOverflow(MetaType.ToDateTime(dt.days, dt.time, 4).ToString(CultureInfo.InvariantCulture)); 10800Debug.Assert(type.FixedLength == 8, "invalid length for SqlIntN type: " + type.FixedLength.ToString(CultureInfo.InvariantCulture)); 10846throw SQL.SmallDateTimeOverflow(MetaType.ToDateTime(dt.days, dt.time, 4).ToString(CultureInfo.InvariantCulture)); 10974Debug.Assert(type.FixedLength == 8, "invalid length for SqlIntN type: " + type.FixedLength.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
472return String.Format(CultureInfo.InvariantCulture, "STSURL: {0}, SPN: {1}", stsurl ?? String.Empty, spn ?? String.Empty);
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (2)
3232CultureInfo.InvariantCulture, 3238CultureInfo.InvariantCulture,
fx\src\data\System\Data\SqlClient\TdsParserStaticMethods.cs (1)
63string parsedProtocol = aliasLookup.Substring(0, index).ToLower(CultureInfo.InvariantCulture);
fx\src\data\System\Data\SQLTypes\SQLBinary.cs (1)
159return IsNull ? SQLResource.NullString : "SqlBinary(" + m_value.Length.ToString(CultureInfo.InvariantCulture) + ")";
fx\src\data\System\Data\SQLTypes\SQLDateTime.cs (1)
353dt = DateTime.Parse(s, CultureInfo.InvariantCulture);
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (1)
1901SQLDebug.Check(rglData.Length == 4, "rglData.Length == 4", "Wrong array length: " + rglData.Length.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\SQLTypes\SQLDouble.cs (1)
123return new SqlDouble(Double.Parse(s, CultureInfo.InvariantCulture));
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
839return String.Format ( CultureInfo.InvariantCulture, formatPath, path.Trim('\\'), uniqueId);
fx\src\data\System\Data\SQLTypes\SQLSingle.cs (1)
125return new SqlSingle(Single.Parse(s, CultureInfo.InvariantCulture));
fx\src\data\System\Data\SQLTypes\SQLString.cs (7)
148CultureInfo culInfo = new CultureInfo(m_lcid); 237public SqlString(String data) : this(data, System.Globalization.CultureInfo.CurrentCulture.LCID, x_iDefaultFlag) { 297public CultureInfo CultureInfo { 300return CultureInfo.GetCultureInfo(m_lcid); 309 m_cmpInfo = (CultureInfo.GetCultureInfo(m_lcid)).CompareInfo; 381CultureInfo culInfo = new CultureInfo(m_lcid); 988cmpInfo = CultureInfo.InvariantCulture.CompareInfo;
fx\src\data\System\Data\SQLTypes\UnsafeNativeMethods.cs (1)
112System.Globalization.CultureInfo.InvariantCulture,
fx\src\data\System\Data\XDRSchema.cs (3)
183if ((Convert.ToInt32(occurs, CultureInfo.InvariantCulture)>1) && (typeNode==null)){ 463minOccurs = Int32.Parse(occurs, CultureInfo.InvariantCulture); 482maxOccurs = Int32.Parse(occurs, CultureInfo.InvariantCulture);
fx\src\data\System\Data\XmlDataLoader.cs (2)
886hasErrors = (bool)Convert.ChangeType(dataReader.Value, typeof(bool), CultureInfo.InvariantCulture); 894rowOrder = (Int32)Convert.ChangeType(dataReader.Value, typeof(Int32), CultureInfo.InvariantCulture);
fx\src\data\System\Data\xmlsaver.cs (21)
78s = (String) Convert.ToString(entry.Key, CultureInfo.InvariantCulture); 85v = (string)BigIntegerStorage.ConvertFromBigInteger((System.Numerics.BigInteger)entry.Value, typeof(string), CultureInfo.InvariantCulture); 88v = (String) Convert.ToString(entry.Value, CultureInfo.InvariantCulture); 138type != typeof(CultureInfo) && 617el.SetAttribute(Keywords.MINOCCURS, top[i].MinOccurs.ToString(CultureInfo.InvariantCulture)); 623el.SetAttribute(Keywords.MAXOCCURS, top[i].MaxOccurs.ToString(CultureInfo.InvariantCulture)); 706rootSchema.SetAttribute(Keywords.MSD_FRAGMENTCOUNT, Keywords.MSDNS, namespaces.Count.ToString(CultureInfo.InvariantCulture)); 877if (dataSet.ShouldSerializeLocale() || !dataSet.Locale.Equals(CultureInfo.CurrentCulture)) { 893if (dt.ShouldSerializeLocale() || !dt.Locale.Equals(CultureInfo.CurrentCulture)) { 1038string prefix = Keywords.APP+Convert.ToString(++prefixCount, CultureInfo.InvariantCulture); 1161root.SetAttribute("AutoIncrementSeed", Keywords.MSDNS, col.AutoIncrementSeed.ToString(CultureInfo.InvariantCulture)); 1164root.SetAttribute("AutoIncrementStep", Keywords.MSDNS, col.AutoIncrementStep.ToString(CultureInfo.InvariantCulture)); 1301root.SetAttribute(Keywords.MINOCCURS, minOccurs.ToString(CultureInfo.InvariantCulture)); 1304root.SetAttribute(Keywords.MSD_ORDINAL,Keywords.MSDNS, col.Ordinal.ToString(CultureInfo.InvariantCulture)); 1518root.SetAttribute(Keywords.MSD_CASESENSITIVE, Keywords.MSDNS, table.CaseSensitive.ToString(CultureInfo.InvariantCulture)); 1611sc.SetAttribute(Keywords.MSD_ORDINAL, Keywords.MSDNS, colTxt.Ordinal.ToString(CultureInfo.InvariantCulture)); 2114_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.ToString(CultureInfo.InvariantCulture)); 2135_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.ToString(CultureInfo.InvariantCulture)); 2166string rowIDString = table.TableName+row.rowID.ToString(CultureInfo.InvariantCulture); 2171parentId = parentRow.Table.TableName+parentRow.rowID.ToString(CultureInfo.InvariantCulture); 2545_xmlw.WriteAttributeString( Keywords.DFF, Keywords.DIFFID, Keywords.DFFNS, row.Table.TableName+row.rowID.ToString(CultureInfo.InvariantCulture));
fx\src\data\System\Data\XMLSchema.cs (9)
63}else if (type == typeof(CultureInfo)) { 100string tempName = proposedName + "_" + (i).ToString(CultureInfo.InvariantCulture); 271}else if (type == typeof(CultureInfo)) { 1389table.Locale = CultureInfo.InvariantCulture; 1751String tmp = (-1).ToString(CultureInfo.CurrentCulture); 1850String tmp = (-1).ToString(CultureInfo.CurrentCulture); 2185String tmp = GetStringAttribute(elem, Keywords.MSD_ORDINAL, (-1).ToString(CultureInfo.CurrentCulture)); 2228_ds.Locale = CultureInfo.InvariantCulture; 2234_ds.SetLocaleValue(CultureInfo.CurrentCulture, false);
System.Data.DataSetExtensions (2)
System\Data\DataSetUtil.cs (1)
78return ArgumentOutOfRange(Strings.DataSetLinq_InvalidEnumerationValue(type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name);
System\Data\DataTableExtensions.cs (1)
158table.Locale = CultureInfo.CurrentCulture;
System.Data.Entity (232)
System\Data\Common\CommandTrees\AbstractExpressions.cs (1)
340Debug.Assert(type != null, string.Format(CultureInfo.InvariantCulture, "{0}.Type is null in DbExpression constructor", this.GetType().Name));
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
112return DbExpressionBuilder.GroupBindAs(input, alias, string.Format(CultureInfo.InvariantCulture, "Group{0}", alias));
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (4)
1748throw EntityUtil.ArgumentNull(string.Format(CultureInfo.InvariantCulture, "{0}.Key", argumentName)); 1757throw EntityUtil.ArgumentNull(string.Format(CultureInfo.InvariantCulture, "{0}.Value", argumentName)); 2058Convert.ToInt64(((DbConstantExpression)expression).Value, CultureInfo.InvariantCulture) < 0); 2112Convert.ChangeType(Enum.Parse(clrEnumType, edmEnumTypeMember.Name), clrEnumType.GetEnumUnderlyingType(), CultureInfo.InvariantCulture)))
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (3)
237_key.AppendFormat(CultureInfo.InvariantCulture, "{0}", e.Value); 241_key.Append(((DateTime)e.Value).ToString("o", CultureInfo.InvariantCulture)); 245_key.Append(((DateTimeOffset)e.Value).ToString("o", CultureInfo.InvariantCulture));
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
420retInfo.Text.AppendFormat(CultureInfo.InvariantCulture, "Input : '{0}', '{1}'", groupBinding.VariableName, groupBinding.GroupVariableName);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
837value = Convert.ChangeType(value, primitiveType.ClrEquivalentType, CultureInfo.InvariantCulture);
System\Data\Common\CommandTrees\OperatorExpressions.cs (1)
374Debug.Assert(DbExpressionKind.IsOf == this.ExpressionKind || DbExpressionKind.IsOfOnly == this.ExpressionKind, string.Format(CultureInfo.InvariantCulture, "Invalid DbExpressionKind used in DbIsOfExpression: {0}", Enum.GetName(typeof(DbExpressionKind), this.ExpressionKind)));
System\Data\Common\EntitySql\AST\Literal.cs (18)
267if (!UInt32.TryParse(numberPart, NumberStyles.Integer, CultureInfo.InvariantCulture, out value)) 278if (!Int64.TryParse(numberPart, NumberStyles.Integer, CultureInfo.InvariantCulture, out value)) 290if (!UInt64.TryParse(numberPart, NumberStyles.Integer, CultureInfo.InvariantCulture, out value)) 301if (!Single.TryParse(numberPart, NumberStyles.Float, CultureInfo.InvariantCulture, out value)) 312if (!Decimal.TryParse(numberPart, NumberStyles.AllowLeadingSign | NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out value)) 323if (!Double.TryParse(numberPart, NumberStyles.Float, CultureInfo.InvariantCulture, out value)) 349if (!Double.TryParse(numericString, NumberStyles.Float, CultureInfo.InvariantCulture, out value)) 359if (Int32.TryParse(numericString, NumberStyles.Integer, CultureInfo.InvariantCulture, out int32Value)) 365if (!Int64.TryParse(numericString, NumberStyles.Integer, CultureInfo.InvariantCulture, out int64Value)) 552int offsetHours = Int32.Parse(datetimeParts[datetimeParts.Length - 2], NumberStyles.Integer, CultureInfo.InvariantCulture); 553int offsetMinutes = Int32.Parse(datetimeParts[datetimeParts.Length - 1], NumberStyles.Integer, CultureInfo.InvariantCulture); 600hour = Int32.Parse(datetimeParts[timePartStartIndex], NumberStyles.Integer, CultureInfo.InvariantCulture); 605minute = Int32.Parse(datetimeParts[++timePartStartIndex], NumberStyles.Integer, CultureInfo.InvariantCulture); 615second = Int32.Parse(datetimeParts[timePartStartIndex], NumberStyles.Integer, CultureInfo.InvariantCulture); 625ticks = Int32.Parse(ticksString, NumberStyles.Integer, CultureInfo.InvariantCulture); 633year = Int32.Parse(datetimeParts[0], NumberStyles.Integer, CultureInfo.InvariantCulture); 638month = Int32.Parse(datetimeParts[1], NumberStyles.Integer, CultureInfo.InvariantCulture); 643day = Int32.Parse(datetimeParts[2], NumberStyles.Integer, CultureInfo.InvariantCulture);
System\Data\Common\EntitySql\CqlErrorHelper.cs (1)
67throw EntityUtil.EntitySqlError(errCtx, String.Format(CultureInfo.InvariantCulture, "{0} {1}", System.Data.Entity.Strings.AliasNameAlreadyUsed(aliasName), contextMessage));
System\Data\Common\EntitySql\CqlParserHelpers.cs (1)
173syntaxContextInfo = String.Format(CultureInfo.CurrentCulture, "{0} '{1}'", syntaxContextInfo, term);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
2995if (constExpr != null && System.Convert.ToInt64(constExpr.Value, CultureInfo.InvariantCulture) < 0)
System\Data\Common\EntitySql\SemanticResolver.cs (1)
779return "_##" + hint + unchecked(_namegenCounter++).ToString(CultureInfo.InvariantCulture);
System\Data\Common\EntityUtil.cs (20)
438return IndexOutOfRange(System.Data.Entity.Strings.ADP_InvalidBufferSizeOrIndex(numBytes.ToString(CultureInfo.InvariantCulture), bufferIndex.ToString(CultureInfo.InvariantCulture))); 441return IndexOutOfRange(System.Data.Entity.Strings.ADP_InvalidDataLength(length.ToString(CultureInfo.InvariantCulture))); 444return ArgumentOutOfRange(System.Data.Entity.Strings.ADP_InvalidDestinationBufferIndex(maxLen.ToString(CultureInfo.InvariantCulture), dstOffset.ToString(CultureInfo.InvariantCulture)), parameterName); 447return ArgumentOutOfRange(System.Data.Entity.Strings.ADP_InvalidSourceBufferIndex(maxLen.ToString(CultureInfo.InvariantCulture), srcOffset.ToString(CultureInfo.InvariantCulture)), parameterName); 456return InvalidOperation(System.Data.Entity.Strings.ADP_NonSequentialChunkAccess(badIndex.ToString(CultureInfo.InvariantCulture), currIndex.ToString(CultureInfo.InvariantCulture), method)); 459return InvalidOperation(System.Data.Entity.Strings.ADP_NonSequentialColumnAccess(badCol.ToString(CultureInfo.InvariantCulture), currCol.ToString(CultureInfo.InvariantCulture))); 532return Metadata(String.Format(CultureInfo.CurrentCulture, EntityRes.GetString(EntityRes.InvalidSchemaEncountered), errors)); 601return Argument(System.Data.Entity.Strings.InvalidEDMVersion(edmVersion.ToString(CultureInfo.CurrentCulture))); 1408return Argument(System.Data.Entity.Strings.ADP_InvalidSizeValue(value.ToString(CultureInfo.InvariantCulture))); 1578return Argument(System.Data.Entity.Strings.ADP_UnknownDataTypeCode(((int) typeCode).ToString(CultureInfo.InvariantCulture), dataType.FullName)); 1679result = cardinality.Value.ToString(CultureInfo.CurrentCulture); 1709return new IndexOutOfRangeException(System.Data.Entity.Strings.EntityParameterCollectionInvalidIndex(index.ToString(CultureInfo.InvariantCulture), count.ToString(CultureInfo.InvariantCulture))); 1827return EntityUtil.ArgumentOutOfRange(System.Data.Entity.Strings.ADP_InvalidEnumerationValue(type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name); 2037return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, EntityUtil.StringCompareOptions);
System\Data\Common\FieldNameLookup.cs (1)
98compareInfo = CultureInfo.InvariantCulture.CompareInfo;
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (3)
195Append(prefix, String.Format(CultureInfo.InvariantCulture, "{0}", value)); 258String description = String.Format(CultureInfo.InvariantCulture, 280Append(String.Format(CultureInfo.InvariantCulture, "MD-{0}", Guid.NewGuid()));
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\Common\Utils\AliasGenerator.cs (3)
106name = String.Concat(_prefix, index.ToString(CultureInfo.InvariantCulture)); 112name = index.ToString(CultureInfo.InvariantCulture); 116_counterNames[index] = name = index.ToString(CultureInfo.InvariantCulture);
System\Data\Common\Utils\Boolean\BoolExpr.cs (1)
475return String.Format(CultureInfo.InvariantCulture, "!{0}", Child);
System\Data\Common\Utils\Boolean\Vertex.cs (1)
137return String.Format(CultureInfo.InvariantCulture, "<{0}, {1}>", Variable, StringUtil.ToCommaSeparatedString(Children));
System\Data\Common\Utils\Helpers.cs (1)
26Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, format, args));
System\Data\Common\Utils\StringUtil.cs (3)
207return String.Format(CultureInfo.InvariantCulture, format, args); 214builder.AppendFormat(CultureInfo.InvariantCulture, format, args); 236return String.Format(CultureInfo.InvariantCulture, "{0}", value);
System\Data\EntityClient\DbParameterCollectionHelper.cs (1)
272name = EntityUtil.Parameter + index.ToString(CultureInfo.CurrentCulture);
System\Data\EntityClient\EntityConnection.cs (1)
159return string.Format(Globalization.CultureInfo.InvariantCulture,
System\Data\EntityKey.cs (1)
1389return String.Format(System.Globalization.CultureInfo.CurrentCulture, "[{0}, {1}]", _keyName, _keyValue);
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (1)
516string tableKey = String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}.{1}", schema, table);
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSet.cs (1)
122string.Format(CultureInfo.InvariantCulture, "The relationship referenced by the Association attribute of {0} is not an Association relationship.", FQName));
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\ScalarType.cs (11)
131if (!Byte.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out temp)) 143if (!SByte.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out temp)) 155if (!Int16.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out temp)) 167if (!Int32.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out temp)) 179if (!Int64.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out temp)) 191if (!Double.TryParse(text, System.Globalization.NumberStyles.Float, System.Globalization.CultureInfo.InvariantCulture, out temp)) 203if (!Decimal.TryParse(text, System.Globalization.NumberStyles.Float, System.Globalization.CultureInfo.InvariantCulture, out temp)) 215if (!DateTime.TryParseExact(text, DateTimeFormat, CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal | DateTimeStyles.AdjustToUniversal, out temp)) 235if (!DateTime.TryParseExact(text, TimeFormat, CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal | DateTimeStyles.AdjustToUniversal | DateTimeStyles.NoCurrentDateDefault, out temp)) 307bytes[iByte] = byte.Parse(text.Substring(index, inc), System.Globalization.NumberStyles.HexNumber, System.Globalization.CultureInfo.InvariantCulture); 315if (!Single.TryParse(text, System.Globalization.NumberStyles.Float, System.Globalization.CultureInfo.InvariantCulture, out temp))
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\SchemaEnumMember.cs (1)
84if (long.TryParse(reader.Value, NumberStyles.AllowLeadingSign, CultureInfo.InvariantCulture, out tmpValue))
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 (3)
197string.Format(CultureInfo.CurrentCulture, "{1} ({0}) is not valid. {1} cannot be qualified.", name, reader.Name)); 273if ( int.TryParse(text,NumberStyles.Integer,System.Globalization.CultureInfo.InvariantCulture,out value) ) 296if (byte.TryParse(text, NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out value))
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\BaseMetadataMappingVisitor.cs (5)
53Debug.Fail(string.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", entitySetBase.BuiltInTypeKind)); 206Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", relationshipType.BuiltInTypeKind)); 247Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", edmType.BuiltInTypeKind)); 326Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", entityTypeBase.BuiltInTypeKind)); 385Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", storagePropertyMapping.GetType()));
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (2)
713edmEnumType.Members.OrderBy(m => Convert.ToInt64(m.Value, CultureInfo.InvariantCulture)).ThenBy(m => m.Name).GetEnumerator(); 715objectEnumType.Members.OrderBy(m => Convert.ToInt64(m.Value, CultureInfo.InvariantCulture)).ThenBy(m => m.Name).GetEnumerator();
System\Data\Mapping\FunctionImportMapping.cs (1)
554return String.Format(CultureInfo.InvariantCulture, "Values={0}, Types={1}",
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
797this.m_hashSourceBuilder.AppendLine(formatContent.ToString(null, CultureInfo.InvariantCulture));
System\Data\Mapping\MetadataMappingHasherVisitor.HashSourceBuilder.cs (2)
67base.AppendLine(objectIndex.ToString(CultureInfo.InvariantCulture)); 201stringData.Append(hash[i].ToString("x2", CultureInfo.InvariantCulture));
System\Data\Mapping\StorageMappingItemCollection.cs (1)
238String.Format(System.Globalization.CultureInfo.CurrentCulture,
System\Data\Mapping\StorageMappingItemLoader.cs (3)
2339bool isNullValue = Convert.ToBoolean(isNull, CultureInfo.InvariantCulture); 3014isPartial = Convert.ToBoolean(partialAttribute, System.Globalization.CultureInfo.InvariantCulture); 3310isNullValue = Convert.ToBoolean(isNullAttribute, System.Globalization.CultureInfo.InvariantCulture);
System\Data\Mapping\StorageModificationFunctionMapping.cs (6)
55return String.Format(CultureInfo.InvariantCulture, 110return String.Format(CultureInfo.InvariantCulture, 184return String.Format(CultureInfo.InvariantCulture, 252return String.Format(CultureInfo.InvariantCulture, 287return String.Format(CultureInfo.InvariantCulture, 324return String.Format(CultureInfo.InvariantCulture, "{0}{1}",
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (1)
303rowsAffected = Convert.ToInt64(m_rowsAffectedParameter.Value, CultureInfo.InvariantCulture);
System\Data\Mapping\Update\Internal\Graph.cs (2)
221sb.AppendFormat(CultureInfo.InvariantCulture, "[{0}] --> ", outgoingEdge.Key); 227sb.AppendFormat(CultureInfo.InvariantCulture, "[{0}]", vertex);
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
538IFormatProvider formatProvider = CultureInfo.InvariantCulture;
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (1)
482return String.Format(CultureInfo.InvariantCulture, "{0}.{1}-->{2}: {3}",
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (2)
471principalValue = Convert.ChangeType(principalValue, principalType.GetEnumUnderlyingType(), CultureInfo.InvariantCulture); 478principalValue = Convert.ChangeType(principalValue, columnClrEquivalentType, CultureInfo.InvariantCulture);
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
561value = Convert.ChangeType(value, clrType, CultureInfo.InvariantCulture);
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlIdentifiers.cs (3)
63m_identifiers.Add(identifier.ToLower(CultureInfo.InvariantCulture)); 73if (m_identifiers.Contains(result.ToLower(CultureInfo.InvariantCulture)) == false) 89if (m_identifiers.Contains(result.ToLower(CultureInfo.InvariantCulture)) == false)
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (2)
108return String.Format(CultureInfo.InvariantCulture, "{0}: [{1} where {2}]", Description, b, this.Condition); 112return String.Format(CultureInfo.InvariantCulture, "[{0} where {1}]", b, this.Condition);
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
150FragmentQuery derivedView = new FragmentQuery(String.Format(CultureInfo.InvariantCulture, "project({0})", view.Description), view.FromVariable,
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (2)
220Debug.Fail(String.Format(CultureInfo.InvariantCulture, "No cached rewriting for {0}={1}", column, domainValue)); 572return String.Format(CultureInfo.InvariantCulture, "{0}={1}", Member, Value);
System\Data\Mapping\ViewGeneration\QueryRewriting\Tile.cs (3)
153return String.Format(CultureInfo.InvariantCulture, "{0}: [{1}]", this.Description, this.Query); 157return String.Format(CultureInfo.InvariantCulture, "[{0}]", this.Query); 239return String.Format(CultureInfo.InvariantCulture, descriptionFormat, this.Arg1.Description, this.Arg2.Description);
System\Data\Mapping\ViewGeneration\Structures\ErrorLog.cs (1)
186lineBuilder.AppendFormat(CultureInfo.InvariantCulture, "{0}", cell.CellLabel.StartLineNumber);
System\Data\Metadata\Converter.cs (2)
893string modifier = i == 0 ? string.Empty : i.ToString(System.Globalization.CultureInfo.InvariantCulture); 1063var enumMember = new EnumMember(somEnumMember.Name, Convert.ChangeType(somEnumMember.Value, clrEnumUnderlyingType, CultureInfo.InvariantCulture));
System\Data\Metadata\Edm\EntityType.cs (1)
314builder.Append(bite.ToString("X2", CultureInfo.InvariantCulture));
System\Data\Metadata\Edm\EnumType.cs (2)
105Convert.ChangeType(Enum.Parse(clrType, name), clrType.GetEnumUnderlyingType(), CultureInfo.InvariantCulture))); 168Debug.Assert(Helper.IsEnumMemberValueInRange(UnderlyingType.PrimitiveTypeKind, Convert.ToInt64(enumMember.Value, CultureInfo.InvariantCulture)));
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\Edm\MetadataItem.cs (1)
261Debug.Assert(System.Convert.ToInt32(flag & ~MetadataFlags.Readonly,CultureInfo.InvariantCulture) == 0,
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\Metadata\MetadataArtifactLoaderCompositeResource.cs (1)
253string resourceUri = string.Format(CultureInfo.InvariantCulture,
System\Data\Metadata\MetadataWorkspace.cs (1)
215.Select(e => e.ToString(CultureInfo.InvariantCulture)))));
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
304Enum.Parse(enumType, ospaceSortedEnumMemberNamesEnumerator.Current), enumUnderlyingType, CultureInfo.InvariantCulture)))
System\Data\Metadata\TypeHelpers.cs (3)
54throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture, "PrimitiveType must be CSpace '{0}'", typeUsage.ToString())); 685return string.Format(CultureInfo.InvariantCulture, "{0}", name); 689return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", qualifier, name);
System\Data\Objects\DataClasses\RelationshipNavigation.cs (1)
186return String.Format(CultureInfo.InvariantCulture,
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
808binding = input.GroupBindAs(alias, string.Format(CultureInfo.InvariantCulture, "Group{0}", alias));
System\Data\Objects\ELinq\Funcletizer.cs (1)
312return String.Format(CultureInfo.InvariantCulture, "{0}{1}",
System\Data\Objects\ELinq\InitializerFacet.cs (1)
42Identity = s_identifierPrefix + Interlocked.Increment(ref s_identifier).ToString(CultureInfo.InvariantCulture);
System\Data\Objects\ELinq\ReflectionUtil.cs (1)
472description.Append("T").Append(ordinal.ToString(CultureInfo.InvariantCulture));
System\Data\Objects\ELinq\Translator.cs (1)
146value = System.Convert.ChangeType(linq.Value, nonNullableLinqType.GetEnumUnderlyingType(), CultureInfo.InvariantCulture);
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 (4)
69AssemblyName assemblyName = new AssemblyName(String.Format(CultureInfo.InvariantCulture, "EntityFrameworkDynamicProxies-{0}", assembly.FullName)); 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)); 715string proxyTypeName = String.Format(CultureInfo.InvariantCulture, ProxyTypeNameFormat, baseName, _ospaceEntityType.HashedDescription);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (2)
152info.ColumnNames = new AliasGenerator(string.Format(CultureInfo.InvariantCulture, "Span{0}_Column", _spanCount)); 298string.Format(CultureInfo.InvariantCulture, "Span{0}_SpanRoot", thisSpan),
System\Data\Objects\ObjectContext.cs (4)
2521string parameterName = string.Format(CultureInfo.InvariantCulture, "p{0}", i.ToString(CultureInfo.InvariantCulture)); 3230parameterNames[i] = string.Format(CultureInfo.InvariantCulture, "p{0}", i); 3245command.CommandText = string.Format(CultureInfo.InvariantCulture, command.CommandText, parameterSql);
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (1)
198CultureInfo.InvariantCulture,
System\Data\Objects\ObjectSet.cs (1)
182return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", _entitySet.EntityContainer.Name, _entitySet.Name);
System\Data\Objects\ObjectStateManager.cs (1)
502string.Format(CultureInfo.InvariantCulture, "The entry references {0} equal. dFkEntry={1}, entry={2}", dFkEntry == entry ? "are" : "are not", dFkEntry.EntityKey.ConcatKeyValue(), entry.EntityKey.ConcatKeyValue()));
System\Data\Objects\ObjectViewFactory.cs (1)
275Debug.Assert(typeUsage.EdmType.DataSpace == DataSpace.CSpace, String.Format(System.Globalization.CultureInfo.InvariantCulture, "Expected EdmType.DataSpace to be C-Space, but instead it is {0}.", typeUsage.EdmType.DataSpace.ToString()));
System\Data\Query\InternalTrees\ColumnMap.cs (16)
227return String.Format(CultureInfo.InvariantCulture, "S({0},{1})", this.CommandId, this.ColumnPos); 274sb.AppendFormat(CultureInfo.InvariantCulture, "{0}{1}", separator, c); 425sb.AppendFormat(CultureInfo.InvariantCulture, "P{{TypeId={0}, ", this.TypeDiscriminator); 428sb.AppendFormat(CultureInfo.InvariantCulture, "{0}({1},{2})", separator, kv.Key, kv.Value); 512sb.AppendFormat(CultureInfo.InvariantCulture, "P{{TypeId=<{0}>, ", StringUtil.ToCommaSeparatedString(this.TypeDiscriminators)); 515sb.AppendFormat(CultureInfo.InvariantCulture, "{0}(<{1}>,{2})", separator, kv.Key, kv.Value); 578string str = String.Format(CultureInfo.InvariantCulture, "C{0}", base.ToString()); 641string str = String.Format(CultureInfo.InvariantCulture, "E{0}", base.ToString()); 877string str = String.Format(CultureInfo.InvariantCulture, "M{{{0}}}", this.Element.ToString()); 948sb.AppendFormat(CultureInfo.InvariantCulture, "[(ES={0}) (Keys={", this.EntitySet.Name); 951sb.AppendFormat(CultureInfo.InvariantCulture, "{0}{1}", separator, c); 954sb.AppendFormat(CultureInfo.InvariantCulture, "})]"); 1012sb.AppendFormat(CultureInfo.InvariantCulture, "[(Keys={"); 1015sb.AppendFormat(CultureInfo.InvariantCulture, "{0}{1}", separator, c); 1018sb.AppendFormat(CultureInfo.InvariantCulture, "})]"); 1091return this.IsNamed ? this.Name : String.Format(CultureInfo.InvariantCulture, "{0}", m_var.Id);
System\Data\Query\InternalTrees\Dump.cs (2)
226WriteString(String.Format(CultureInfo.InvariantCulture,"{0}",op.Value)); 545WriteString(op.Var.Id.ToString(CultureInfo.InvariantCulture));
System\Data\Query\InternalTrees\Metadata.cs (1)
268return String.Format(CultureInfo.InvariantCulture, "{0}::{1}", m_tableMetadata.ToString(), this.TableId); ;
System\Data\Query\InternalTrees\Vars.cs (4)
99return String.Format(CultureInfo.InvariantCulture, "{0}", this.Id); ; 527sb.AppendFormat(CultureInfo.InvariantCulture, "{0}{1}", separator, v.Id); 587sb.AppendFormat(CultureInfo.InvariantCulture, "{0}{1}", separator, v.Id); 629sb.AppendFormat(CultureInfo.InvariantCulture, "{0}({1},{2})", separator, v.Id, this[v].Id);
System\Data\Query\PlanCompiler\CTreeGenerator.cs (6)
490string groupVarName = string.Format(CultureInfo.InvariantCulture, "{0}Group", varName); 634PlanCompiler.Assert(retExpr != null, string.Format(CultureInfo.InvariantCulture, "Unresolvable Var used in Command: VarType={0}, Id={1}", Enum.GetName(typeof(VarType), referencedVar.VarType), referencedVar.Id)); 647PlanCompiler.Assert(2 == n.Children.Count, string.Format(CultureInfo.InvariantCulture, "Non-Binary {0} encountered", n.Op.GetType().Name)); 789PlanCompiler.Assert(resultExpr != null, string.Format(CultureInfo.InvariantCulture, "ArithmeticOp OpType not recognized: {0}", Enum.GetName(typeof(OpType), op.OpType))); 897PlanCompiler.Assert(compExpr != null, string.Format(CultureInfo.InvariantCulture, "ComparisonOp OpType not recognized: {0}", Enum.GetName(typeof(OpType), op.OpType))); 956PlanCompiler.Assert(condExpr != null, string.Format(CultureInfo.InvariantCulture, "ConditionalOp OpType not recognized: {0}", Enum.GetName(typeof(OpType), op.OpType)));
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (1)
1886Convert.ChangeType(op.Value, op.Value.GetType().GetEnumUnderlyingType(), CultureInfo.InvariantCulture) :
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (4)
588AssignRootTypeId(kv.Value, String.Format(CultureInfo.InvariantCulture, "{0}X", typeNum)); 631typeInfo.TypeId = String.Format(CultureInfo.InvariantCulture, "{0}{1}X", typeInfo.SuperType.TypeId, subtypeNum); 978fieldName = "F" + nextFieldId.ToString(CultureInfo.InvariantCulture); 985fieldName = "F" + nextFieldId.ToString(CultureInfo.InvariantCulture);
System\Data\Spatial\DbGeography.cs (1)
655return string.Format(CultureInfo.InvariantCulture, "SRID={1};{0}", this.WellKnownValue.WellKnownText ?? base.ToString(), this.CoordinateSystemId);
System\Data\Spatial\DbGeometry.cs (1)
796return string.Format(CultureInfo.InvariantCulture, "SRID={1};{0}", this.WellKnownValue.WellKnownText ?? base.ToString(), this.CoordinateSystemId);
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (1)
441false, out scaleFacet) && Convert.ToInt32(scaleFacet.Value, CultureInfo.InvariantCulture) == 0);
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (1)
440newName = name + i.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (8)
941result.Append(EscapeSingleQuote(((System.DateTime)e.Value).ToString(this.IsPreKatmai ? "yyyy-MM-dd HH:mm:ss.fff" : "yyyy-MM-dd HH:mm:ss.fffffff", CultureInfo.InvariantCulture), false /* IsUnicode */)); 959result.Append(EscapeSingleQuote(((System.DateTimeOffset)e.Value).ToString("yyyy-MM-dd HH:mm:ss.fffffff zzz", CultureInfo.InvariantCulture), false /* IsUnicode */)); 964string strDecimal = ((Decimal)e.Value).ToString(CultureInfo.InvariantCulture); 973string decimalType = "decimal(" + precision.ToString(CultureInfo.InvariantCulture) + ")"; 982WrapWithCastIfNeeded(true, doubleValue.ToString("R", CultureInfo.InvariantCulture), "float(53)", result); 1010WrapWithCastIfNeeded(true, singleValue.ToString("R", CultureInfo.InvariantCulture), "real", result); 3841typeName = typeName + "(" + maxLength.ToString(CultureInfo.InvariantCulture) + ")"; 3850typeName = typeName + "(" + maxLength.ToString(CultureInfo.InvariantCulture) + ")";
System\Data\SqlClient\SqlGen\SqlSelectStatement.cs (1)
233newName = fromAlias.Name + i.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\SqlClient\SqlGen\SqlWriter.cs (1)
45: base(b, System.Globalization.CultureInfo.InvariantCulture)
System\Data\SqlClient\SqlGen\Symbol.cs (1)
154newNameCandidate = this.NewName + i.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\SqlClient\SqlGen\TopClause.cs (1)
67sqlBuilder.Append(topCount.ToString(CultureInfo.InvariantCulture));
System\Data\SqlClient\SqlProviderServices.cs (3)
838string toUpperFileName = mdfFileName.ToUpper(CultureInfo.InvariantCulture); 852string databaseName = databaseName = String.Format(CultureInfo.InvariantCulture, "{0}_{1}", strippedFileName, Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture));
System\Data\SqlClient\SqlProviderUtilities.cs (1)
445unencodedStringBuilder.AppendFormat(CultureInfo.InvariantCulture, format, args);
System\Data\SqlClient\SqlVersion.cs (1)
54int majorVersion = Int32.Parse(connection.ServerVersion.Substring(0, 2), CultureInfo.InvariantCulture);
System.Data.Entity.Design (22)
System\Data\Entity\Design\AspNet\EntityModelBuildProvider.cs (1)
73using (StringWriter output = new StringWriter(CultureInfo.InvariantCulture))
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (3)
82StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture); 590return o.ToString().ToLower(CultureInfo.InvariantCulture); 811qualifiedTypeName = string.Format(CultureInfo.InvariantCulture, modifierFormat, qualifiedTypeName);
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
200return String.Format(CultureInfo.InvariantCulture, format, args);
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (1)
75adjustedIdentifier = _transform(identifier) + numberOfConflicts.ToString(CultureInfo.InvariantCulture);
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
461message = String.Format(CultureInfo.InvariantCulture, "{0}({1})", error.ErrorText, error.ErrorNumber);
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
540viewMethod.Name = "GetView" + index.ToString(CultureInfo.InvariantCulture);
System\Data\Entity\Design\MetadataExtensionMethods.cs (1)
47return itemCollection.GetPrimitiveTypes(double.Parse(versionString, CultureInfo.InvariantCulture));
System\Data\Entity\Design\PluralizationService\PluralizationService.cs (3)
22public CultureInfo Culture { get; protected set; } 36public static PluralizationService CreateService(CultureInfo culture) 38EDesignUtil.CheckArgumentNull<CultureInfo>(culture, "culture");
System\Data\Entity\Design\PluralizationService\PluralizationServiceUtil.cs (2)
19internal static bool DoesWordContainSuffix(string word, IEnumerable<string> suffixes, CultureInfo culture) 24internal static bool TryInflectOnSuffixInWord(string word, IEnumerable<string> suffixes, Func<string, string> operationOnWord, CultureInfo culture, out string newWord)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (1)
317string parameterName = "p" + command.Parameters.Count.ToString(CultureInfo.InvariantCulture);
System\Data\EntityModel\Emitters\CommentEmitter.cs (3)
152string paramComment = string.Format(System.Globalization.CultureInfo.CurrentCulture, 328commentCollection.Add(new CodeCommentStatement(string.Format(CultureInfo.InvariantCulture, "<{0}>", tag), true)); 330commentCollection.Add(new CodeCommentStatement(string.Format(CultureInfo.InvariantCulture, "</{0}>", tag), true));
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
72DateTime.Now.ToString( System.Globalization.CultureInfo.CurrentCulture ));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
763new CodePrimitiveExpression(guid.ToString("D", CultureInfo.InvariantCulture)));
System\Data\EntityModel\Emitters\Utils.cs (2)
205return text[0].ToString(System.Globalization.CultureInfo.InvariantCulture).ToLowerInvariant(); 207return text[0].ToString(System.Globalization.CultureInfo.InvariantCulture).ToLowerInvariant()+text.Substring(1);
System.Data.Linq (43)
DataContext.cs (1)
1674Globalization.CultureInfo.InvariantCulture,
DbConvert.cs (11)
98return Enum.ToObject(toType, Convert.ChangeType(value, Enum.GetUnderlyingType(toType), Globalization.CultureInfo.InvariantCulture)); 108Globalization.CultureInfo.InvariantCulture), 110Globalization.CultureInfo.InvariantCulture); 115return TimeSpan.Parse(value.ToString(), Globalization.CultureInfo.InvariantCulture); 118return DateTime.Parse(value.ToString(), Globalization.CultureInfo.InvariantCulture).TimeOfDay; 121return DateTimeOffset.Parse(value.ToString(), Globalization.CultureInfo.InvariantCulture).TimeOfDay; 124return new TimeSpan((long)Convert.ChangeType(value, typeof(long), Globalization.CultureInfo.InvariantCulture)); 129return ((TimeSpan)value).ToString("", Globalization.CultureInfo.InvariantCulture); 140return Convert.ChangeType(((TimeSpan)value).Ticks, toType, Globalization.CultureInfo.InvariantCulture); 177return Convert.ChangeType(value, toType, Globalization.CultureInfo.InvariantCulture); 187return Convert.ChangeType(value, toType, Globalization.CultureInfo.InvariantCulture);
Mapping\MappedMetaModel.cs (1)
1526return string.Format(Globalization.CultureInfo.InvariantCulture, "{0} ->{1} {2}", ThisMember.DeclaringType.Name, IsMany ? "*" : "", OtherType.Name);
Mapping\MappingSource.cs (15)
283throw Error.UnrecognizedElement(String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 289throw Error.UnexpectedElement(XmlMappingConstant.Database, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 316throw Error.UnrecognizedAttribute(String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : ":", reader.LocalName)); 327throw Error.UnexpectedElement(XmlMappingConstant.Function, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 361throw Error.UnrecognizedElement(String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 378throw Error.UnexpectedElement(XmlMappingConstant.Return, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 396throw Error.UnexpectedElement(XmlMappingConstant.Parameter, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 420throw Error.UnexpectedElement(XmlMappingConstant.Table, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 449throw Error.UnrecognizedElement(String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 455throw Error.UnexpectedElement(XmlMappingConstant.Table, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 471throw Error.UnexpectedElement(XmlMappingConstant.Type, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 480throw Error.UnexpectedElement(XmlMappingConstant.Type, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 519throw Error.UnrecognizedElement(String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 535throw Error.UnexpectedElement(XmlMappingConstant.Association, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName)); 569throw Error.UnexpectedElement(XmlMappingConstant.Column, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}", reader.Prefix, String.IsNullOrEmpty(reader.Prefix) ? "" : "/", reader.LocalName));
SqlClient\Query\MethodCallConverter.cs (3)
151int iValue = System.Convert.ToInt32(this.Eval(bo.Right), Globalization.CultureInfo.InvariantCulture); 155int iValue = System.Convert.ToInt32(this.Eval(bo.Right), Globalization.CultureInfo.InvariantCulture); 161int iValue = System.Convert.ToInt32(this.Eval(bo.Right), Globalization.CultureInfo.InvariantCulture);
SqlClient\Query\SqlFormatter.cs (1)
542sb.Append(string.Format(CultureInfo.InvariantCulture, suq.QueryText, args));
SqlClient\SqlBuilder.cs (3)
67string name = String.Format(Globalization.CultureInfo.InvariantCulture, "PK_{0}", table.TableName); 109sb.Append(string.Format(Globalization.CultureInfo.InvariantCulture, " {0} ", SqlIdentifier.QuoteCompoundIdentifier(mm.MappedName))); 166name = String.Format(Globalization.CultureInfo.InvariantCulture, "FK_{0}_{1}", tableName, mm.Name);
SqlClient\SqlProvider.cs (4)
547engineType.InvokeMember("CreateDatabase", BindingFlags.Instance | BindingFlags.Public | BindingFlags.InvokeMethod, null, engine, new object[] { }, CultureInfo.InvariantCulture); 1160prec = (int)Convert.ChangeType(piPrecision.GetValue(p, null), typeof(int), CultureInfo.InvariantCulture); 1164scale = (int)Convert.ChangeType(piScale.GetValue(p, null), typeof(int), CultureInfo.InvariantCulture); 1171p.Size.ToString(System.Globalization.CultureInfo.CurrentCulture),
SqlClient\SqlTypeSystemProvider.cs (4)
890p1 = Int32.Parse(param1, Globalization.CultureInfo.InvariantCulture); 901p2 = Int32.Parse(param2, Globalization.CultureInfo.InvariantCulture); 992piPrecision.SetValue(parameter, Convert.ChangeType(sqlType.Precision, piPrecision.PropertyType, CultureInfo.InvariantCulture), null); 996piScale.SetValue(parameter, Convert.ChangeType(sqlType.Scale, piScale.PropertyType, CultureInfo.InvariantCulture), null);
System.Data.Services (45)
parent\Client\System\Data\Services\Client\BatchStream.cs (1)
634length = Int32.Parse(text, CultureInfo.InvariantCulture);
parent\Client\System\Data\Services\Client\XmlUtil.cs (1)
36uri = new Uri(CommonUtil.UriToString(uri).ToUpper(CultureInfo.InvariantCulture), UriKind.RelativeOrAbsolute);
System\Data\Services\DataService.cs (1)
1844System.Globalization.CultureInfo.InvariantCulture,
System\Data\Services\DataServiceException.cs (1)
167this.messageLanguage = messageXmlLang ?? CultureInfo.CurrentCulture.Name;
System\Data\Services\Epm\EpmAttributeNameBuilder.cs (1)
89this.postFix = "_" + this.index.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\Services\Epm\EpmHelper.cs (6)
86if (!Boolean.TryParse(Convert.ToString(epmKeepInContentProperty.Value, CultureInfo.InvariantCulture), out epmKeepInContent)) 112epmSourcePath = Convert.ToString(epmSourcePathProperty.Value, CultureInfo.InvariantCulture); 115String epmTargetPath = Convert.ToString(epmTargetPathProperty.Value, CultureInfo.InvariantCulture); 157String epmNsPrefix = epmNsPrefixProperty != null ? Convert.ToString(epmNsPrefixProperty.Value, CultureInfo.InvariantCulture) : null; 158String epmNsUri = epmNsUriProperty != null ? Convert.ToString(epmNsUriProperty.Value, CultureInfo.InvariantCulture) : null; 177Convert.ToString(epmContentKindProperty.Value, CultureInfo.InvariantCulture),
System\Data\Services\Epm\EpmSyndicationContentSerializer.cs (1)
196date = new DateTimeOffset(Convert.ToDateTime(propertyValue, CultureInfo.InvariantCulture));
System\Data\Services\ErrorHandler.cs (2)
280messageLang = dataException.MessageLanguage ?? CultureInfo.CurrentCulture.Name; 287messageLang = CultureInfo.CurrentCulture.Name;
System\Data\Services\Parsing\Token.cs (1)
90return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0} @ {1}: [{2}]", this.Id, this.Position, this.Text);
System\Data\Services\Providers\BaseServiceProvider.cs (2)
357Globalization.CultureInfo.InvariantCulture); 817string parameterName = parameterInfo.Name ?? "p" + i.ToString(CultureInfo.InvariantCulture);
System\Data\Services\Providers\BasicExpandProvider.cs (4)
1496"ProjectedProperty" + i.ToString(System.Globalization.CultureInfo.InvariantCulture), 1512skipTokenDescription.Append(XmlConstants.SkipTokenPropertyPrefix + i.ToString(System.Globalization.CultureInfo.InvariantCulture)).Append(","); 1516MemberInfo member = projectedSkipTokenType.GetProperty("ProjectedProperty" + i.ToString(System.Globalization.CultureInfo.InvariantCulture)); 1528bindings[this.children.Count + 2] = BindByName(this.elementType, "ProjectedProperty" + this.children.Count.ToString(System.Globalization.CultureInfo.InvariantCulture), skipTokenBody);
System\Data\Services\RequestQueryProcessor.cs (3)
1222skipTokenDescription.Append(separator).Append(XmlConstants.SkipTokenPropertyPrefix + i.ToString(System.Globalization.CultureInfo.InvariantCulture)); 1248MemberInfo member = skipTokenWrapperType.GetProperty("ProjectedProperty" + i.ToString(System.Globalization.CultureInfo.InvariantCulture)); 1367if (!Int32.TryParse(itemText, NumberStyles.Integer, CultureInfo.InvariantCulture, out count))
System\Data\Services\Serializers\BatchWriter.cs (1)
111string text = Convert.ToString(headerValue, System.Globalization.CultureInfo.InvariantCulture);
System\Data\Services\Serializers\IndentedTextWriter.cs (1)
43public IndentedTextWriter(TextWriter writer) : base(CultureInfo.InvariantCulture)
System\Data\Services\Serializers\JsonDeserializer.cs (1)
108return Convert.ChangeType(value, propertyType, CultureInfo.InvariantCulture);
System\Data\Services\Serializers\JsonReader.cs (1)
457ch = (char)Int32.Parse(unicodeSequence, NumberStyles.HexNumber, CultureInfo.InvariantCulture);
System\Data\Services\Serializers\JsonWriter.cs (10)
174this.WriteCore(value.ToString(CultureInfo.InvariantCulture), /* quotes */ false); 185this.WriteCore(value.ToString(null, CultureInfo.InvariantCulture), true /*quotes*/); 202this.WriteCore(value.ToString(CultureInfo.InvariantCulture), /* quotes */ false); 212this.WriteCore(value.ToString(CultureInfo.InvariantCulture), /* quotes */ true); 223this.WriteCore(value.ToString(null, CultureInfo.InvariantCulture), true /*quotes*/); 251this.WriteCore(value.ToString(CultureInfo.InvariantCulture), /* quotes */ true); 281CultureInfo.InvariantCulture, 293this.WriteCore(value.ToString(CultureInfo.InvariantCulture), /* quotes */ false); 302this.WriteCore(value.ToString(CultureInfo.InvariantCulture), /* quotes */ false); 394b.AppendFormat(CultureInfo.InvariantCulture, "\\u{0:x4}", (int)c);
System\Data\Services\Serializers\MetadataSerializer.cs (1)
179returnTypeString = String.Format(CultureInfo.InvariantCulture, XmlConstants.EdmCollectionTypeFormat, returnTypeString);
System\Data\Services\Serializers\Serializer.cs (2)
1103return Int32.Parse(topQueryItem, System.Globalization.CultureInfo.InvariantCulture); 1192String keyName = XmlConstants.SkipTokenPropertyPrefix + i.ToString(System.Globalization.CultureInfo.InvariantCulture);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
1051linkType = String.Format(CultureInfo.InvariantCulture, "{0};{1}={2}", XmlConstants.MimeApplicationAtom, XmlConstants.AtomTypeAttributeName, linkType);
System\Data\Services\WebUtil.cs (3)
460Strings.BadRequest_InvalidContentTypeForRequestUri(contentType, String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}', '{2}'", XmlConstants.MimeApplicationJson, XmlConstants.MimeApplicationXml, XmlConstants.MimeTextXml))); 472Strings.BadRequest_InvalidContentTypeForRequestUri(contentType, String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}', '{2}'", XmlConstants.MimeApplicationJson, XmlConstants.MimeApplicationAtom, XmlConstants.MimeAny))); 481Strings.BadRequest_InvalidContentTypeForRequestUri(contentType, String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}', '{2}'", XmlConstants.MimeApplicationJson, XmlConstants.MimeApplicationXml, XmlConstants.MimeTextXml)));
System.Data.Services.Client (11)
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (1)
124return (TElement)Convert.ChangeType(((DataServiceQuery<TElement>)query).GetQuerySetCount(this.Context), typeof(TElement), System.Globalization.CultureInfo.InvariantCulture.NumberFormat);
System\Data\Services\Client\ALinq\ReflectionUtil.cs (1)
484description.Append("T").Append(ordinal.ToString(CultureInfo.InvariantCulture));
System\Data\Services\Client\AtomParser.cs (1)
994if (!long.TryParse(MaterializeAtom.ReadElementString(this.reader, true), System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out countValue))
System\Data\Services\Client\BatchStream.cs (2)
365return (HttpStatusCode)(null != this.statusCode ? Int32.Parse(this.statusCode, CultureInfo.InvariantCulture) : 500); 634length = Int32.Parse(text, CultureInfo.InvariantCulture);
System\Data\Services\Client\ClientConvert.cs (1)
230byte[] bytes = (byte[])binaryValue.GetType().InvokeMember("ToArray", Flags, null, binaryValue, null, System.Globalization.CultureInfo.InvariantCulture);
System\Data\Services\Client\DataServiceContext.cs (2)
2745requestString = "$" + sourceResource.ChangeOrder.ToString(CultureInfo.InvariantCulture) + "/" + CommonUtil.UriToString(relative); 2790id = "$" + targetResource.ChangeOrder.ToString(CultureInfo.InvariantCulture);
System\Data\Services\Client\EntityDescriptor.cs (1)
386Util.CreateUri(baseUriWithSlash, new Uri("$" + this.parentDescriptor.ChangeOrder.ToString(CultureInfo.InvariantCulture), UriKind.Relative)),
System\Data\Services\Client\MaterializeFromAtom.cs (1)
518if (!long.TryParse(countNode.Value, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out this.countValue))
System\Data\Services\Client\QueryResponse.cs (1)
144System.Globalization.CultureInfo.InvariantCulture);
System.Data.Services.Design (22)
parent\Server\System\Data\Services\Epm\EpmAttributeNameBuilder.cs (1)
89this.postFix = "_" + this.index.ToString(System.Globalization.CultureInfo.InvariantCulture);
parent\Server\System\Data\Services\Epm\EpmHelper.cs (6)
86if (!Boolean.TryParse(Convert.ToString(epmKeepInContentProperty.Value, CultureInfo.InvariantCulture), out epmKeepInContent)) 112epmSourcePath = Convert.ToString(epmSourcePathProperty.Value, CultureInfo.InvariantCulture); 115String epmTargetPath = Convert.ToString(epmTargetPathProperty.Value, CultureInfo.InvariantCulture); 157String epmNsPrefix = epmNsPrefixProperty != null ? Convert.ToString(epmNsPrefixProperty.Value, CultureInfo.InvariantCulture) : null; 158String epmNsUri = epmNsUriProperty != null ? Convert.ToString(epmNsUriProperty.Value, CultureInfo.InvariantCulture) : null; 177Convert.ToString(epmContentKindProperty.Value, CultureInfo.InvariantCulture),
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (1)
52adjustedIdentifier = identifier + numberOfConflicts.ToString(CultureInfo.InvariantCulture);
System\Data\EntityModel\DataServiceBuildProvider.cs (3)
120errorMessage = String.Format(CultureInfo.CurrentCulture, "{0}: {1}", IO.Path.GetFileName(mapFilePath), errorMessage); 490String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}'", VersionParameterName, UseCollectionParameterName))); 552String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}'", Version1Dot0, Version2Dot0)));
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
204if (!Boolean.TryParse(Convert.ToString(isOpenTypeProperty.Value, CultureInfo.InvariantCulture), out isOpenType)) 540if (!String.Equals(Convert.ToString(hasStreamMetadataProperty.Value, CultureInfo.InvariantCulture),
System\Data\EntityModel\Emitters\CommentEmitter.cs (3)
147string paramComment = string.Format(System.Globalization.CultureInfo.CurrentCulture, 327commentCollection.Add(new CodeCommentStatement(string.Format(CultureInfo.InvariantCulture, "<{0}>", tag), true)); 329commentCollection.Add(new CodeCommentStatement(string.Format(CultureInfo.InvariantCulture, "</{0}>", tag), true));
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
138DateTime.Now.ToString(System.Globalization.CultureInfo.CurrentCulture));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
694new CodePrimitiveExpression(guid.ToString("D", CultureInfo.InvariantCulture)));
System\Data\EntityModel\Emitters\Utils.cs (4)
191return text[0].ToString(System.Globalization.CultureInfo.InvariantCulture).ToLowerInvariant(); 193return text[0].ToString(System.Globalization.CultureInfo.InvariantCulture).ToLowerInvariant() + text.Substring(1); 207return text[0].ToString(System.Globalization.CultureInfo.InvariantCulture).ToUpperInvariant(); 209return text[0].ToString(System.Globalization.CultureInfo.InvariantCulture).ToUpperInvariant() + text.Substring(1);
System.Data.SqlXml (52)
System\Xml\Xsl\QIL\QilXmlReader.cs (8)
118nd = f.LiteralInt32(Int32.Parse(ReadText(), CultureInfo.InvariantCulture)); 122nd = f.LiteralInt64(Int64.Parse(ReadText(), CultureInfo.InvariantCulture)); 126nd = f.LiteralDouble(Double.Parse(ReadText(), CultureInfo.InvariantCulture)); 130nd = f.LiteralDecimal(Decimal.Parse(ReadText(), CultureInfo.InvariantCulture)); 410Int32.Parse(m.Groups[1].Value, CultureInfo.InvariantCulture), 411Int32.Parse(m.Groups[2].Value, CultureInfo.InvariantCulture), 412Int32.Parse(m.Groups[3].Value, CultureInfo.InvariantCulture), 413Int32.Parse(m.Groups[4].Value, CultureInfo.InvariantCulture)
System\Xml\Xsl\QIL\QilXmlWriter.cs (2)
120this.writer.WriteAttributeString("lineInfo", string.Format(CultureInfo.InvariantCulture, "[{0},{1} -- {2},{3}]", 144this.writer.WriteValue(Convert.ToString(((QilLiteral) node).Value, CultureInfo.InvariantCulture));
System\Xml\Xsl\Runtime\XmlCollation.cs (8)
37private CultureInfo cultInfo; 113private XmlCollation(CultureInfo cultureInfo, Options options) { 127private static XmlCollation cp = new XmlCollation(CultureInfo.InvariantCulture, new Options((int)CompareOptions.Ordinal)); 148CultureInfo cultInfo = null; 198string optionName = pair[0].ToUpper(CultureInfo.InvariantCulture); 199string optionValue = pair[1].ToUpper(CultureInfo.InvariantCulture); 355internal CultureInfo Culture { 359return CultureInfo.CurrentCulture;
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (3)
179throw new XslTransformException(/*[XT_037]*/Res.XmlIl_AmbiguousExtensionMethod, this.namespaceUri, this.name, this.numArgs.ToString(CultureInfo.InvariantCulture)); 191throw new XslTransformException(/*[XT_039]*/Res.XmlIl_NoExtensionMethod, this.namespaceUri, this.name, this.numArgs.ToString(CultureInfo.InvariantCulture)); 256return this.meth.Invoke(extObj, this.flags, null, args, CultureInfo.InvariantCulture);
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (1)
1295genPrefix = "xp_" + (this.prefixIndex++).ToString(CultureInfo.InvariantCulture);
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
479value = Convert.ChangeType(value, destinationType, CultureInfo.InvariantCulture); 824return string.Concat("ID", this.docOrderCmp.GetDocumentIndex(navigator).ToString(CultureInfo.InvariantCulture), navigator.UniqueId);
System\Xml\Xsl\Runtime\XsltFunctions.cs (4)
28private static readonly CompareInfo compareInfo = CultureInfo.InvariantCulture.CompareInfo; 382CultureInfo cultinfo = GetCultureInfo(lang); 501private static CultureInfo GetCultureInfo(string lang) { 504return CultureInfo.CurrentCulture;
System\Xml\Xsl\XPath\XPathBuilder.cs (3)
890throw new XPathCompileException(resId, name, minArgs.ToString(CultureInfo.InvariantCulture), maxArgs.ToString(CultureInfo.InvariantCulture)); 905throw new XPathCompileException(Res.XPath_NodeSetArgumentExpected, name, (i + 1).ToString(CultureInfo.InvariantCulture));
System\Xml\Xsl\XslException.cs (2)
172string lineInfoMessage = CreateMessage(Res.Xml_ErrorFilePosition, fileName, lineInfo.Start.Line.ToString(CultureInfo.InvariantCulture), lineInfo.Start.Pos.ToString(CultureInfo.InvariantCulture));
System\Xml\Xsl\Xslt\Scripts.cs (1)
344return "script" + (++assemblyCounter).ToString(CultureInfo.InvariantCulture);
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (1)
293string prompt = string.Format(CultureInfo.InvariantCulture, "Internal Error: {0} is not allowed in XSLT pattern outside of predicate.", tokenName);
System\Xml\Xsl\Xslt\XslAst.cs (1)
235dbgName.Append(Priority.ToString(CultureInfo.InvariantCulture));
System\Xml\Xsl\XsltOld\Compiler.cs (2)
161return this.rtfCount.ToString(CultureInfo.InvariantCulture); 812StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture);
System\Xml\Xsl\XsltOld\MessageAction.cs (1)
46TextOnlyOutput output = new TextOnlyOutput(processor, new StringWriter(CultureInfo.InvariantCulture));
System\Xml\Xsl\XsltOld\NumberAction.cs (2)
120str = Convert.ToString(val, CultureInfo.InvariantCulture); 435numberingFormat.setGroupingSize(Convert.ToInt32(groupingSize, CultureInfo.InvariantCulture));
System\Xml\Xsl\XsltOld\OutputScopeManager.cs (1)
159prefix = String.Format(CultureInfo.InvariantCulture, format, this.prefixIndex ++);
System\Xml\Xsl\XsltOld\Processor.cs (2)
613return nav != null ? Convert.ToBoolean(nav.Value, CultureInfo.InvariantCulture) : Convert.ToBoolean(objValue, CultureInfo.InvariantCulture);
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
592encoder = new XmlTextEncoder(new StringWriter(buffer, CultureInfo.InvariantCulture));
System\Xml\Xsl\XsltOld\SequentialOutput.cs (1)
546Write(((uint)this.byteBuffer[j]).ToString("X2", CultureInfo.InvariantCulture));
System\Xml\Xsl\XsltOld\SortAction.cs (1)
39&& (value.Length == 0 || CultureInfo.GetCultureInfo(value) == null)
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (5)
203throw XsltException.Create(Res.Xslt_WrongNumberArgs, name, argTypes.Length.ToString(CultureInfo.InvariantCulture)); 570return Convert.ToBoolean(IteratorToString(it), CultureInfo.InvariantCulture); 574return Convert.ToBoolean(nav.ToString(), CultureInfo.InvariantCulture); 576return Convert.ToBoolean(argument, CultureInfo.InvariantCulture); 592return Convert.ChangeType(ToNumber(argument), typeCode, CultureInfo.InvariantCulture);
System.Drawing (94)
commonui\System\Drawing\Advanced\ColorTranslator.cs (1)
267object o = htmlSysColorTable[htmlColor.ToLower(CultureInfo.InvariantCulture)];
commonui\System\Drawing\Advanced\Font.cs (3)
112else if (String.Compare(sie.Name, "Style", true, CultureInfo.InvariantCulture) == 0) 114else if (String.Compare(sie.Name, "Unit", true, CultureInfo.InvariantCulture) == 0) 783return string.Format( CultureInfo.CurrentCulture, "[{0}: Name={1}, Size={2}, Units={3}, GdiCharSet={4}, GdiVerticalFont={5}]",
commonui\System\Drawing\Advanced\FontFamily.cs (2)
245return string.Format(CultureInfo.CurrentCulture, "[{0}: Name={1}]", GetType().Name, this.Name); 258return System.Globalization.CultureInfo.CurrentUICulture.LCID;
commonui\System\Drawing\Advanced\ImageFormatConverter.cs (2)
64public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 93public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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\SafeCustomLineCapHandle.cs (1)
47Debug.Assert(status == SafeNativeMethods.Gdip.Ok, "GDI+ returned an error status: " + status.ToString(CultureInfo.InvariantCulture));
commonui\System\Drawing\Advanced\SizeF.cs (2)
260return "{Width=" + width.ToString(CultureInfo.CurrentCulture) + ", Height=" + height.ToString(CultureInfo.CurrentCulture) + "}";
commonui\System\Drawing\Advanced\SizeFConverter.cs (4)
60public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 76culture = CultureInfo.CurrentCulture; 109public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 118culture = CultureInfo.CurrentCulture;
commonui\System\Drawing\Color.cs (1)
1466return string.Format(CultureInfo.CurrentCulture,
commonui\System\Drawing\ColorConverter.cs (5)
128public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 144culture = CultureInfo.CurrentCulture; 238public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 262culture = CultureInfo.CurrentCulture; 416return string.Compare(cLeft.Name, cRight.Name, false, CultureInfo.InvariantCulture);
commonui\System\Drawing\FontConverter.cs (9)
80public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 95culture = CultureInfo.CurrentCulture; 203public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 219culture = CultureInfo.CurrentCulture; 409string fonstStringFormat = string.Format(CultureInfo.CurrentCulture, "name{0} size[units[{0} style=style1[{0} style2{0} ...]]]", separator); 573public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 602hash[name.ToLower(CultureInfo.InvariantCulture)] = name; 643name = name.ToLower(CultureInfo.InvariantCulture); 646string fontName = e.Current.ToString().ToLower(CultureInfo.InvariantCulture);
commonui\System\Drawing\IconConverter.cs (2)
73public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 94public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
commonui\System\Drawing\ImageConverter.cs (2)
75public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 117public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
commonui\System\Drawing\Point.cs (2)
285return "{X=" + X.ToString(CultureInfo.CurrentCulture) + ",Y=" + Y.ToString(CultureInfo.CurrentCulture) + "}";
commonui\System\Drawing\PointConverter.cs (4)
60public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 76culture = CultureInfo.CurrentCulture; 109public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 119culture = CultureInfo.CurrentCulture;
commonui\System\Drawing\Printing\Margins.cs (4)
310+ " Left=" + Left.ToString(CultureInfo.InvariantCulture) 311+ " Right=" + Right.ToString(CultureInfo.InvariantCulture) 312+ " Top=" + Top.ToString(CultureInfo.InvariantCulture) 313+ " Bottom=" + Bottom.ToString(CultureInfo.InvariantCulture)
commonui\System\Drawing\Printing\MarginsConverter.cs (4)
59public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 75culture = CultureInfo.CurrentCulture; 107public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 117culture = CultureInfo.CurrentCulture;
commonui\System\Drawing\Printing\PaperSize.cs (2)
309+ " Height=" + Height.ToString(CultureInfo.InvariantCulture) 310+ " Width=" + Width.ToString(CultureInfo.InvariantCulture)
commonui\System\Drawing\Printing\PrinterResolution.cs (2)
115+ " X=" + X.ToString(CultureInfo.InvariantCulture) 116+ " Y=" + Y.ToString(CultureInfo.InvariantCulture)
commonui\System\Drawing\Printing\PrinterSettings.cs (17)
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))); 1385+ " Copies=" + Copies.ToString(CultureInfo.InvariantCulture) 1386+ " Collate=" + Collate.ToString(CultureInfo.InvariantCulture) 1390+ " FromPage=" + FromPage.ToString(CultureInfo.InvariantCulture) 1391+ " LandscapeAngle=" + LandscapeAngle.ToString(CultureInfo.InvariantCulture) 1392+ " MaximumCopies=" + MaximumCopies.ToString(CultureInfo.InvariantCulture) 1393+ " OutputPort=" + OutputPort.ToString(CultureInfo.InvariantCulture) 1394+ " ToPage=" + ToPage.ToString(CultureInfo.InvariantCulture)
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 (4)
60public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 76culture = CultureInfo.CurrentCulture; 110public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 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 (4)
60public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 76culture = CultureInfo.CurrentCulture; 109public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 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));
misc\InvariantComparer.cs (1)
12m_compareInfo = CultureInfo.InvariantCulture.CompareInfo;
System.IdentityModel (80)
System\IdentityModel\Claims\Claim.cs (1)
218return string.Format(CultureInfo.CurrentCulture, "{0}: {1}", this.right, this.claimType);
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
448new FormatException(string.Format(CultureInfo.InvariantCulture,
System\IdentityModel\Configuration\Properties.cs (6)
193properties.Add(new ConfigurationProperty("maximumClockSkew", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.IdentityModel.Configuration.TimeSpanOrInfiniteConverter(), new System.IdentityModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 245properties.Add(new ConfigurationProperty("expirationPeriod", typeof(System.TimeSpan), System.TimeSpan.Parse("10675199.02:48:05.4775807", CultureInfo.InvariantCulture), new System.IdentityModel.Configuration.TimeSpanOrInfiniteConverter(), new System.IdentityModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("10675199.02:48:05.4775807", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
System\IdentityModel\Configuration\TimeSpanOrInfiniteConverter.cs (2)
15public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cultureInfo, object value, Type type) 37public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo cultureInfo, object data)
System\IdentityModel\Diagnostics\DeflateCookieTraceRecord.cs (2)
43writer.WriteElementString( DiagnosticStrings.DeflateCookieOriginalSizeTag, _originalSize.ToString( CultureInfo.InvariantCulture ) ); 44writer.WriteElementString( DiagnosticStrings.DeflateCookieAfterDeflatingTag, _deflatedSize.ToString( CultureInfo.InvariantCulture ) );
System\IdentityModel\Diagnostics\DigestTraceRecordHelper.cs (6)
69writer.WriteElementString(CanonicalElementStringLength, contentAsString.Length.ToString(CultureInfo.InvariantCulture)); 75writer.WriteElementString(CanonicalOctetsLength, contentBuffer.Length.ToString(CultureInfo.InvariantCulture)); 81writer.WriteElementString(CanonicalOctetsHashLength, _hash.Hash.Length.ToString(CultureInfo.InvariantCulture)); 94writer.WriteElementString(Length, key.Length.ToString(CultureInfo.InvariantCulture)); // key length 95writer.WriteElementString(FirstByte, key[0].ToString(CultureInfo.InvariantCulture)); // first byte of the key 96writer.WriteElementString(LastByte, key[key.Length - 1].ToString(CultureInfo.InvariantCulture)); // last byte of the key
System\IdentityModel\Diagnostics\TraceUtility.cs (3)
51string.Format( CultureInfo.InvariantCulture, "Unsupported trace code: Please add trace code 0x{0} to the dictionary TraceUtility.traceCodes in {1}", 52traceCode.ToString( "X", CultureInfo.InvariantCulture ), typeof( TraceUtility ) ) ); 64TraceEvent( eventType, TraceCode.IdentityModel, String.Format( CultureInfo.InvariantCulture, formatString, args ) );
System\IdentityModel\Metadata\LocalizedEntry.cs (6)
13CultureInfo language; 24/// Constructor that uses a <see cref="CultureInfo"/>. 26/// <param name="language">The <see cref="CultureInfo"/> for this instance.</param> 27protected LocalizedEntry(CultureInfo language) 33/// Gets or sets the <see cref="CultureInfo"/>. 36public CultureInfo Language
System\IdentityModel\Metadata\LocalizedEntryCollection.cs (3)
13public class LocalizedEntryCollection<T> : KeyedCollection<CultureInfo, T> where T : LocalizedEntry 19/// <returns>A <see cref="CultureInfo"/> object representing the key for the <paramref name="item"/>.</returns> 20protected override CultureInfo GetKeyForItem(T item)
System\IdentityModel\Metadata\LocalizedName.cs (2)
28/// <param name="language">The <see cref="CultureInfo"/> defining the language for this instance.</param> 29public LocalizedName(string name, CultureInfo language)
System\IdentityModel\Metadata\LocalizedUri.cs (2)
28/// <param name="language">The <see cref="CultureInfo"/> defining the language for this instance.</param> 29public LocalizedUri(Uri uri, CultureInfo language)
System\IdentityModel\Metadata\MetadataSerializer.cs (4)
1066resultName.Language = CultureInfo.GetCultureInfo(lang); 1125resultUri.Language = CultureInfo.GetCultureInfo(lang); 2433writer.WriteAttributeString(Saml2MetadataConstants.Attributes.EndpointIndex, null, indexedEP.Index.ToString(CultureInfo.InvariantCulture)); 2767writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ValidUntil, null, roleDescriptor.ValidUntil.ToString("s", CultureInfo.InvariantCulture));
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (8)
347rst.KeySizeInBits = int.Parse(reader.ReadElementContentAsString(), CultureInfo.InvariantCulture); 1015writer.WriteElementString(trustConstants.Prefix, trustConstants.Elements.KeySize, trustConstants.NamespaceURI, Convert.ToString(((int)elementValue), CultureInfo.InvariantCulture)); 1451rstr.KeySizeInBits = Convert.ToInt32(reader.ReadElementContentAsString(), CultureInfo.InvariantCulture); 1883writer.WriteElementString(trustConstants.Prefix, trustConstants.Elements.KeySize, trustConstants.NamespaceURI, Convert.ToString((int)elementValue, CultureInfo.InvariantCulture)); 2249throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3215, encodingType, reader.LocalName, reader.NamespaceURI, string.Format(CultureInfo.InvariantCulture, "({0}, {1})", WSSecurity10Constants.EncodingTypes.Base64, WSSecurity10Constants.EncodingTypes.HexBinary)))); 2294string.Format(CultureInfo.InvariantCulture, "({0}, {1})", WSSecurity10Constants.EncodingTypes.Base64, WSSecurity10Constants.EncodingTypes.HexBinary)))); 2581writer.WriteElementString(WSUtilityConstants.Prefix, WSUtilityConstants.ElementNames.Created, WSUtilityConstants.NamespaceURI, lifetime.Created.Value.ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture)); 2586writer.WriteElementString(WSUtilityConstants.Prefix, WSUtilityConstants.ElementNames.Expires, WSUtilityConstants.NamespaceURI, lifetime.Expires.Value.ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture));
System\IdentityModel\SecurityUniqueId.cs (1)
41this.val = this.prefix + this.id.ToString(CultureInfo.InvariantCulture);
System\IdentityModel\SecurityUtils.cs (1)
282return Convert.ToInt64(regValue, CultureInfo.InvariantCulture);
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (4)
87String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", customConfigElement.LocalName, childElement.LocalName), 88String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0} and {1}", ConfigurationStrings.Thumbprint, ConfigurationStrings.Name))); 104String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", customConfigElement.LocalName, childElement.LocalName), 214return obj.ToUpper(CultureInfo.InvariantCulture).GetHashCode();
System\IdentityModel\Tokens\EncryptedKeyIdentifierClause.cs (1)
82return string.Format(CultureInfo.InvariantCulture, "EncryptedKeyIdentifierClause(EncryptedKey = {0}, Method '{1}')",
System\IdentityModel\Tokens\GenericXmlSecurityToken.cs (1)
110StringWriter writer = new StringWriter(CultureInfo.InvariantCulture);
System\IdentityModel\Tokens\KerberosTicketHashIdentifierClause.cs (1)
33return string.Format(CultureInfo.InvariantCulture, "KerberosTicketHashKeyIdentifierClause(Hash = {0})", ToBase64String());
System\IdentityModel\Tokens\LocalIdKeyIdentifierClause.cs (1)
87return string.Format(CultureInfo.InvariantCulture, "LocalIdKeyIdentifierClause(LocalId = '{0}', Owner = '{1}')", this.LocalId, this.OwnerType);
System\IdentityModel\Tokens\RsaKeyIdentifierClause.cs (1)
78return string.Format(CultureInfo.InvariantCulture, "RsaKeyIdentifierClause(Modulus = {0}, Exponent = {1})",
System\IdentityModel\Tokens\SamlAssertion.cs (3)
503int majorVersion = Int32.Parse(attributeValue, CultureInfo.InvariantCulture); 509int minorVersion = Int32.Parse(attributeValue, CultureInfo.InvariantCulture); 645writer.WriteString(this.issueInstant.ToString(SamlConstants.GeneratedDateTimeFormat, CultureInfo.InvariantCulture));
System\IdentityModel\Tokens\SamlAssertionKeyIdentifierClause.cs (1)
89return string.Format(CultureInfo.InvariantCulture, "SamlAssertionKeyIdentifierClause(AssertionId = '{0}')", this.AssertionId);
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (1)
257writer.WriteString(this.authenticationInstant.ToString(SamlConstants.GeneratedDateTimeFormat, CultureInfo.InvariantCulture));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (3)
1879writer.WriteAttributeString(SamlConstants.AttributeNames.MajorVersion, null, Convert.ToString(SamlConstants.MajorVersionValue, CultureInfo.InvariantCulture)); 1880writer.WriteAttributeString(SamlConstants.AttributeNames.MinorVersion, null, Convert.ToString(SamlConstants.MinorVersionValue, CultureInfo.InvariantCulture)); 1883writer.WriteAttributeString(SamlConstants.AttributeNames.IssueInstant, null, assertion.IssueInstant.ToUniversalTime().ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture));
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (2)
179throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7001, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", element.LocalName, childElement.LocalName), ConfigurationStrings.Value)); 187throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7001, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", element.LocalName, childElement.LocalName), ConfigurationStrings.Value));
System\IdentityModel\Tokens\SecurityKeyIdentifier.cs (1)
113using (StringWriter writer = new StringWriter(CultureInfo.InvariantCulture))
System\IdentityModel\Tokens\WSSecurityJan2004.cs (1)
240length = Convert.ToInt32(lengthString, CultureInfo.InvariantCulture);
System\IdentityModel\Tokens\X509IssuerSerialKeyIdentifierClause.cs (1)
108return string.Format(CultureInfo.InvariantCulture, "X509IssuerSerialKeyIdentifierClause(Issuer = '{0}', Serial = '{1}')",
System\IdentityModel\Tokens\X509RawDataKeyIdentifierClause.cs (1)
72return string.Format(CultureInfo.InvariantCulture, "X509RawDataKeyIdentifierClause(RawData = {0})", ToBase64String());
System\IdentityModel\Tokens\X509SubjectKeyIdentifierClause.cs (1)
75return string.Format(CultureInfo.InvariantCulture, "X509SubjectKeyIdentifierClause(SKI = 0x{0})", ToHexString());
System\IdentityModel\Tokens\X509ThumbprintKeyIdentifierClause.cs (1)
50return string.Format(CultureInfo.InvariantCulture, "X509ThumbprintKeyIdentifierClause(Hash = 0x{0})", ToHexString());
System\IdentityModel\UniqueId.cs (1)
135return Guid.NewGuid().ToString("D", CultureInfo.InvariantCulture);
System\IdentityModel\XmlUtil.cs (1)
202using (StringWriter stringWriter = new StringWriter(sb, CultureInfo.InvariantCulture))
System\ServiceModel\Security\EncryptedKeyHashIdentifierClause.cs (1)
35return string.Format(CultureInfo.InvariantCulture, "EncryptedKeyHashIdentifierClause(Hash = {0})", Convert.ToBase64String(GetRawBuffer()));
System\ServiceModel\Security\KeyNameIdentifierClause.cs (1)
47return string.Format(CultureInfo.InvariantCulture, "KeyNameIdentifierClause(KeyName = '{0}')", this.KeyName);
System\ServiceModel\Security\SecurityContextKeyIdentifierClause.cs (1)
65return string.Format(CultureInfo.InvariantCulture, "SecurityContextKeyIdentifierClause(ContextId = '{0}', Generation = '{1}')",
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.IdentityModel.Selectors (5)
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (5)
229message = String.Format(CultureInfo.InvariantCulture, format, parameters); 615errString += String.Format(System.Globalization.CultureInfo.CurrentUICulture, 620errString += String.Format(System.Globalization.CultureInfo.CurrentUICulture, 629errString += String.Format(System.Globalization.CultureInfo.CurrentUICulture, 711System.Globalization.CultureInfo.CurrentUICulture,
System.Management (53)
Instrumentation\AssemblyNameUtility.cs (1)
49return UniqueToAssemblyVersion(assembly) + "_Mvid_"+MetaDataInfo.GetMvid(assembly).ToString().ToLower(CultureInfo.InvariantCulture);
Instrumentation\CodeSpit.cs (1)
23StringWriter writer = new StringWriter(CultureInfo.InvariantCulture);
Instrumentation\EventSource.cs (3)
531Match match = Regex.Match(strObjectPath.ToLower(CultureInfo.InvariantCulture), "(.*?)\\.instanceid=\"(.*?)\",processid=\"(.*?)\""); 551int id = ((IConvertible)instanceId).ToInt32((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 557theObject = InstrumentedAssembly.mapIDToPublishedObject[id.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)))];
Instrumentation\Instrumentation.cs (3)
52processIdentity = Guid.NewGuid().ToString().ToLower(CultureInfo.InvariantCulture); 392mapIDToPublishedObject.Add(upcountId.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))), o); 413mapIDToPublishedObject.Remove(id.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))));
Instrumentation\WMICapabilities.cs (2)
97wmiCIMOMKey.SetValue(AutoRecoverMofsTimestampVal, DateTime.Now.ToFileTime().ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64)))); 115wmiCIMOMKey.SetValue(AutoRecoverMofsTimestampVal, DateTime.Now.ToFileTime().ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64))));
ManagementDatetime.cs (9)
140 IFormatProvider frmInt32 = (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)); 179 ticks = (System.Int64.Parse(tempString,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64)))) * (System.TimeSpan.TicksPerMillisecond/1000); 263 IFormatProvider frmInt32 = (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)); 298 String strMicrosec = microsec.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64))); 338 IFormatProvider frmInt32 = (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)); 378 ticks = (System.Int64.Parse(tempString,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64)))) * (System.TimeSpan.TicksPerMillisecond/1000); 431 string dmtftimespan = timespan.Days.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))).PadLeft(8,'0'); 432 IFormatProvider frmInt32 = (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)); 453 String strMicrosec = microsec.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int64)));
managementpath.cs (1)
1095public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
managementquery.cs (4)
2971 s = s + " within " + withinInterval.TotalSeconds.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Double))); 2980 s = s + " group within " + groupWithinInterval.TotalSeconds.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Double))); 3055 if ((q.Length >= keyword.Length) && ((i = q.ToLower(CultureInfo.InvariantCulture).IndexOf(keyword, StringComparison.Ordinal)) != -1)) //found 3211 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
managementscope.cs (1)
1685public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
MgmtResManager.cs (1)
19return resMgr.GetString(strToGet,CultureInfo.CurrentCulture);
property.cs (8)
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))); 390 CultureInfo culInfo = CultureInfo.InvariantCulture; 622 CultureInfo culInfo = CultureInfo.InvariantCulture;
qualifier.cs (3)
122 ((Int32[])(wmiValue))[i] = Convert.ToInt32(valArray.GetValue(i),(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 128 ((Double[])(wmiValue))[i] = Convert.ToDouble(valArray.GetValue(i),(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Double))); 140 ((Boolean[])(wmiValue))[i] = Convert.ToBoolean(valArray.GetValue(i),(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Boolean)));
WmiGenerator.cs (16)
828strTemp = strTemp + strToAdd +k.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 857strTemp = inString + strToAdd +k.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 862string strFirstChar = strTemp.Substring(0,1).ToUpper(CultureInfo.InvariantCulture); 884strNs = strNs.ToUpper(CultureInfo.InvariantCulture); 1184cmp.Name = (new string(strPropName)).ToUpper(CultureInfo.InvariantCulture); //ConvertToTitleCase(new string(strPropName)); 1889Int64 test = System.Convert.ToInt64(ValueMap[i],(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.UInt64))); 1896(IFormatProvider)CultureInfo.InvariantCulture.GetFormat( 1993Int64 test = System.Convert.ToInt64(BitMap[i],(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.UInt64))); 2009if( (System.Convert.ToInt64(BitMap[i],(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.UInt64))) == 0) ) // Bug No: 121987 4889IFormatProvider formatProv = (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)); 5121if (bitMap.StartsWith(strTemp, StringComparison.Ordinal) || bitMap.StartsWith(strTemp.ToUpper(CultureInfo.InvariantCulture), StringComparison.Ordinal)) 5130ret = System.Convert.ToInt32(strTemp,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 5134ret = System.Convert.ToInt32(bitMap,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 5279ret = System.Convert.ToBoolean(classobj.Qualifiers["dynamic"].Value,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Boolean))); 5305arrayToAdd.Add(System.Convert.ToInt32(numericValue,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)))); 5311arrayToAdd.Add(System.Convert.ToInt32(numericValue,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))));
System.Messaging (48)
parent\parent\inc\InvariantComparer.cs (1)
12m_compareInfo = CultureInfo.InvariantCulture.CompareInfo;
System\Messaging\Design\MessageFormatterConverter.cs (2)
51public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 68public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Messaging\Design\MessageQueueConverter.cs (2)
50public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 82public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Messaging\Design\QueuePathDialog.cs (3)
171if (this.queuePath != null && String.Compare(this.queuePath, tempPath, true, CultureInfo.InvariantCulture) != 0) 441if (String.Compare(machineName, machine.Text, true, CultureInfo.InvariantCulture) == 0) 450if (queueNode.Text != null && String.Compare(queueName, queueNode.Text, true, CultureInfo.InvariantCulture) == 0)
System\Messaging\Design\SizeConverter.cs (3)
40public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 48if (text.Length == 0 || string.Compare(text, Res.GetString(Res.InfiniteValue), true, CultureInfo.CurrentCulture) == 0) 69public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Messaging\Design\TimeoutConverter.cs (3)
45public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 51if (text.Length == 0 || (string.Compare(text, Res.GetString(Res.InfiniteValue), true, CultureInfo.CurrentCulture) == 0)) 74public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Messaging\Interop\Columns.cs (1)
35throw new InvalidOperationException(Res.GetString(Res.TooManyColumns, this.maxCount.ToString(CultureInfo.CurrentCulture)));
System\Messaging\Message.cs (1)
2380integerId = Convert.ToInt32(pieces[1], CultureInfo.InvariantCulture);
System\Messaging\MessageQueue.cs (21)
623string pathUpper = this.path.ToUpper(CultureInfo.InvariantCulture); 1172string pathUpper = this.path.ToUpper(CultureInfo.InvariantCulture); 1746formatNameCache.Remove(path.ToUpper(CultureInfo.InvariantCulture)); 1821string pathUpper = path.ToUpper(CultureInfo.InvariantCulture); 2031if (machineName == "." || (String.Compare(machineName, MessageQueue.ComputerName, true, CultureInfo.InvariantCulture) == 0)) 2136DirectorySearcher localComputerSearcher = new DirectorySearcher(String.Format(CultureInfo.InvariantCulture, "(&(CN={0})(objectCategory=Computer))", ComputerName)); 2146if (machineName != "." && String.Compare(machineName, ComputerName, true, CultureInfo.InvariantCulture) != 0) 2148DirectorySearcher remoteComputerSearcher = new DirectorySearcher(String.Format(CultureInfo.InvariantCulture, "(&(CN={0})(objectCategory=Computer))", machineName)); 2170queues[index] = new MessageQueue(String.Format(CultureInfo.InvariantCulture, "{0}\\{1}", machineName, queueName)); 2198string upperPath = path.ToUpper(CultureInfo.InvariantCulture); 2636if ((compareId && String.Compare(message.Id, id, true, CultureInfo.InvariantCulture) == 0) || 2637(!compareId && String.Compare(message.CorrelationId, id, true, CultureInfo.InvariantCulture) == 0)) 3318if (String.Compare(name, SUFIX_DEADLETTER, true, CultureInfo.InvariantCulture) == 0 || 3319String.Compare(name, SUFIX_DEADXACT, true, CultureInfo.InvariantCulture) == 0 || 3320String.Compare(name, SUFIX_JOURNAL, true, CultureInfo.InvariantCulture) == 0) 3336if (String.Compare(name, SUFIX_DEADXACT, true, CultureInfo.InvariantCulture) == 0) 3338else if (String.Compare(name, SUFIX_DEADLETTER, true, CultureInfo.InvariantCulture) == 0) 3349if (queuePath.ToUpper(CultureInfo.InvariantCulture).EndsWith(SUFIX_JOURNAL)) 3534formatNameCache.Remove(path.ToUpper(CultureInfo.InvariantCulture)); 3551String upperPath = path.ToUpper(CultureInfo.InvariantCulture); 4561this.formatName = formatName.ToUpper(CultureInfo.InvariantCulture);
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\Messaging\MessageQueueEnumerator.cs (1)
214String.Compare(machineName, 0, currentItem, 0, machineName.Length, true, CultureInfo.InvariantCulture) != 0));
System\Messaging\MessageQueueException.cs (1)
71return Res.GetString(Convert.ToString(nativeErrorCode, 16).ToUpper(CultureInfo.InvariantCulture));
System\Messaging\MessageQueuePermission.cs (1)
156if (unrestrictedValue != null && (string.Compare(unrestrictedValue, "true", true, CultureInfo.InvariantCulture) == 0))
System.Net (4)
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) ? '-' : ' '));
net\PeerToPeer\PeerName.cs (2)
504authority = tempAuthority.ToLower(CultureInfo.InvariantCulture); //Safe for Hex digits 547authority = authority.ToLower(CultureInfo.InvariantCulture); //safe for hex strings
System.Numerics (22)
System\Numerics\BigNumber.cs (4)
484fmt = String.Format(CultureInfo.InvariantCulture, "{0}1", format); 490fmt = String.Format(CultureInfo.InvariantCulture, "{0}2", format); 530format = String.Format(CultureInfo.InvariantCulture, "D{0}", digits.ToString(CultureInfo.InvariantCulture));
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 (2)
791CultureInfo ci = CultureInfo.CurrentCulture;
System\Numerics\Matrix4x4.cs (2)
2191CultureInfo ci = CultureInfo.CurrentCulture;
System\Numerics\Plane.cs (2)
352CultureInfo ci = CultureInfo.CurrentCulture;
System\Numerics\Quaternion.cs (2)
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 (13)
Resources\R.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
Resources\RH.cs (1)
9return String.Format(CultureInfo.CurrentCulture, resource, args);
System\Caching\Configuration\ConfigUtil.cs (1)
40maxValueAllowed.ToString(CultureInfo.InvariantCulture)), "config");
System\Caching\HostFileChangeMonitor.cs (4)
37uniqueId = path + lastWrite.UtcDateTime.Ticks.ToString("X", CultureInfo.InvariantCulture) + fileSize.ToString("X", CultureInfo.InvariantCulture); 58sb.Append(lastWrite.UtcDateTime.Ticks.ToString("X", CultureInfo.InvariantCulture)); 59sb.Append(fileSize.ToString("X", CultureInfo.InvariantCulture));
System\Caching\MemoryCacheEntryChangeMonitor.cs (2)
36uniqueId = k + utcCreated.Ticks.ToString("X", CultureInfo.InvariantCulture); 50sb.Append(utcCreated.Ticks.ToString("X", CultureInfo.InvariantCulture));
System\Caching\SqlChangeMonitor.cs (1)
24_uniqueId = Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture);
System\Caching\SRef.cs (2)
34CultureInfo.InvariantCulture); 49CultureInfo.InvariantCulture);
System.Runtime.Remoting (145)
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\combinedhttpchannel.cs (2)
68case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break; 69case "secure": _secure = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture);
channels\http\httpclientchannel.cs (15)
94case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 98case "timeout": _timeout = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 102_clientConnectionLimit = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); 108_bUseDefaultCredentials = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); 114_bAuthenticatedConnectionSharing = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); 277switch (keyStr.ToLower(CultureInfo.InvariantCulture)) 292switch (keyStr.ToLower(CultureInfo.InvariantCulture)) 295case ProxyPortKey: _proxyPort = Convert.ToInt32(value, CultureInfo.InvariantCulture); UpdateProxy(); break; 796switch (keyStr.ToLower(CultureInfo.InvariantCulture)) 821switch (keyStr.ToLower(CultureInfo.InvariantCulture)) 826case PreAuthenticateKey: _bSecurityPreAuthenticate = Convert.ToBoolean(value, CultureInfo.InvariantCulture); break; 832case ProxyPortKey: _proxyPort = Convert.ToInt32(value, CultureInfo.InvariantCulture); UpdateProxy(); break; 839_timeout = Convert.ToInt32(value, CultureInfo.InvariantCulture); 843case AllowAutoRedirectKey: _bAllowAutoRedirect = Convert.ToBoolean(value, CultureInfo.InvariantCulture); break; 844case UnsafeAuthenticatedConnectionSharingKey: _bUnsafeAuthenticatedConnectionSharing = Convert.ToBoolean(value, CultureInfo.InvariantCulture); break;
channels\http\httpremotinghandler.cs (2)
466throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_AssemblyLoadFailed"), "System.Web.Services")); 634statusCode = Convert.ToInt32(userStatusCode, CultureInfo.InvariantCulture);
channels\http\httpserverchannel.cs (8)
113case "listen": _wantsToListen = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 115case "port": _port = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 116case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 117case "suppressChannelData": _bSuppressChannelData = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 118case "useIpAddress": _bUseIpAddress = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 119case "exclusiveAddressUse": _bExclusiveAddressUse = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 458CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Socket_Accept"), 459Marshal.GetLastWin32Error().ToString(CultureInfo.InvariantCulture)));
channels\http\httpsocketmanager.cs (1)
91contentLength = Int32.Parse(headerValue, CultureInfo.InvariantCulture);
channels\http\httpstreams.cs (2)
693contentLength = Convert.ToInt32(contentLengthEntry, CultureInfo.InvariantCulture); 780headers["Content-Length"] = httpContentStream.Length.ToString(CultureInfo.InvariantCulture);
channels\ipc\ipcchannel.cs (1)
71case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break;
channels\ipc\ipcclientchannel.cs (5)
70case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 71case "secure": _secure = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 392switch (keyStr.ToLower(CultureInfo.InvariantCulture)) 409switch (keyStr.ToLower(CultureInfo.InvariantCulture)) 416case ConnectionTimeoutKey: _timeout = Convert.ToInt32(value, CultureInfo.InvariantCulture);
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 (10)
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\ipc\ipcserverchannel.cs (5)
103case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 104case "secure": _secure = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 105case "impersonate": _impersonate = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); authSet = true; break; 106case "suppressChannelData": _bSuppressChannelData = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 108case "exclusiveAddressUse": _bExclusiveAddressUse = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break;
channels\sinks\binaryformattersinks.cs (4)
61case "includeVersions": _includeVersioning = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 62case "strictBinding": _strictBinding = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 333case "includeVersions": _includeVersioning = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 334case "strictBinding": _strictBinding = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break;
channels\sinks\soapformattersinks.cs (6)
62case "includeVersions": _includeVersioning = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 63case "strictBinding": _strictBinding = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 385case "includeVersions": _includeVersioning = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 386case "strictBinding": _strictBinding = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 671CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Soap_InvalidSoapAction"), 860CultureInfo.CurrentCulture, CoreChannel.GetResourceString(
channels\tcp\combinedtcpchannel.cs (1)
64case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break;
channels\tcp\tcpclientchannel.cs (9)
74case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 75case "secure": _secure = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 293String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_AuthenticationFailed")), e); 366CultureInfo.CurrentCulture, CoreChannel.GetResourceString( 561switch (keyStr.ToLower(CultureInfo.InvariantCulture)) 592switch (keyStr.ToLower(CultureInfo.InvariantCulture)) 598int timeout = Convert.ToInt32(value, CultureInfo.InvariantCulture); 607_receiveTimeout = Convert.ToInt32(value, CultureInfo.InvariantCulture); 615case RetryCountKey: _retryCount = Convert.ToInt32(value, CultureInfo.InvariantCulture); break;
channels\tcp\tcpclientsocketmanager.cs (2)
91CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Tcp_ExpectingReplyOp"), 92operation.ToString(CultureInfo.CurrentCulture)));
channels\tcp\tcpserverchannel.cs (10)
105case "port": _port = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 106case "priority": _channelPriority = Convert.ToInt32(entry.Value, CultureInfo.InvariantCulture); break; 108case "impersonate": _impersonate = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); authSet = true; break; 119bool bReject = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); 134case "suppressChannelData": _bSuppressChannelData = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 135case "useIpAddress": _bUseIpAddress = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 136case "exclusiveAddressUse": _bExclusiveAddressUse = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 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 (5)
50case "remoteApplicationMetadataEnabled": _bRemoteApplicationMetadataEnabled = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 51case "metadataEnabled": _bMetadataEnabled = Convert.ToBoolean(entry.Value, CultureInfo.InvariantCulture); break; 198String queryString = requestURI.Substring(index).ToLower(CultureInfo.InvariantCulture); 312CultureInfo.CurrentCulture, "Object with uri '{0}' does not exist at server.", 386sb.Append(port.ToString(CultureInfo.InvariantCulture));
metadata\sudscommon.cs (1)
272String lxsdType = xsdType.ToLower(CultureInfo.InvariantCulture);
metadata\wsdlparser.cs (31)
731throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_Import"), reader.Location)); 744String protocol = location.Substring(0, index).ToLower(CultureInfo.InvariantCulture); 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"), 6556countStr = (parser.ProxyNamespaceCount).ToString(CultureInfo.InvariantCulture);
metadata\wsdlwriter.cs (2)
2258rankStr = rank.ToString(CultureInfo.InvariantCulture); 2259String csname =elementTypeName+wireName.Substring(0,1).ToUpper(CultureInfo.InvariantCulture)+wireName.Substring(1)+rankStr;
System.Runtime.Serialization (65)
System\Runtime\Serialization\CodeGenerator.cs (2)
1070Ldc(((IConvertible)o).ToInt32(CultureInfo.InvariantCulture)); 1748ilGen.Emit(OpCodes.Ldstr, string.Format(CultureInfo.InvariantCulture, "{0:00000}: {1}", lineNo - 1, line));
System\Runtime\Serialization\DataContract.cs (4)
1733nestedParamCounts.Add(Int32.Parse(typeName.Substring(endIndex + 1), CultureInfo.InvariantCulture)); 1737nestedParamCounts.Add(Int32.Parse(typeName.Substring(endIndex + 1, startIndex - endIndex - 1), CultureInfo.InvariantCulture)); 1789return !type.IsGenericTypeDefinition && type.ContainsGenericParameters ? String.Format(CultureInfo.InvariantCulture, "{0}.{1}", type.Namespace, type.Name) : type.FullName; 1822return String.Format(CultureInfo.InvariantCulture, "{0}{1}{2}",
System\Runtime\Serialization\DateTimeOffsetAdapter.cs (1)
61throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.ToString(CultureInfo.InvariantCulture), "DateTimeOffset", exception));
System\Runtime\Serialization\Diagnostics\TraceUtility.cs (2)
51string.Format(CultureInfo.InvariantCulture, "Unsupported trace code: Please add trace code 0x{0} to the dictionary TraceUtility.traceCodes in {1}", 52traceCode.ToString("X", CultureInfo.InvariantCulture), typeof(TraceUtility)));
System\Runtime\Serialization\ExtensionDataObject.cs (1)
201element.AddAttribute(elementPrefix, elementNs, elementName, String.Format(CultureInfo.InvariantCulture, "{0}:{1}", prefix, valueName));
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (1)
214millisecondsSinceUnixEpoch = Int64.Parse(ticksvalue, CultureInfo.InvariantCulture);
System\Runtime\Serialization\Json\JsonWriterDelegator.cs (2)
247writer.WriteString((hours < 10) ? "0" + hours : hours.ToString(CultureInfo.InvariantCulture)); 249writer.WriteString((minutes < 10) ? "0" + minutes : minutes.ToString(CultureInfo.InvariantCulture));
System\Runtime\Serialization\Json\XmlJsonWriter.cs (2)
1523nodeWriter.WriteText(string.Format(CultureInfo.InvariantCulture, "{0:x4}", (int)ch)); 1545nodeWriter.WriteText(string.Format(CultureInfo.InvariantCulture, "{0:x4}", (int)ch));
System\Runtime\Serialization\SchemaExporter.cs (3)
323nestedLevelAttribute.Value = nestedLevel.ToString(CultureInfo.InvariantCulture); 333typeNestedLevelsAttribute.Value = genericArgumentCounts.Count.ToString(CultureInfo.InvariantCulture); 346StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture);
System\Runtime\Serialization\SchemaImporter.cs (2)
990memberTypeContract = ImportAnonymousElement(element, new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace)); 1097XmlQualifiedName fullName = new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace);
System\Runtime\Serialization\XmlObjectSerializer.cs (1)
396return String.Format(CultureInfo.InvariantCulture, "{0} {1}", SR.GetString(SR.ErrorInLine, reader.LineNumber, reader.LinePosition), errorMessage);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
240DictionaryGlobals.SerializationNamespace, string.Format(CultureInfo.InvariantCulture, "{0}{1}", "i", objectId)); 245xmlWriter.WriteAttributeString(Globals.SerPrefix, DictionaryGlobals.RefLocalName, DictionaryGlobals.SerializationNamespace, string.Format(CultureInfo.InvariantCulture, "{0}{1}", "i", objectId));
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
96prefix = String.Format(CultureInfo.InvariantCulture, "d{0}p{1}", depth, prefixes);
System\Text\SurrogateChar.cs (3)
25throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.XmlInvalidSurrogate, ch.ToString("X", CultureInfo.InvariantCulture)), "ch")); 36throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.XmlInvalidLowSurrogate, ((int)lowChar).ToString("X", CultureInfo.InvariantCulture)), "lowChar")); 39throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.XmlInvalidHighSurrogate, ((int)highChar).ToString("X", CultureInfo.InvariantCulture)), "highChar"));
System\Xml\EncodingStreamWrapper.cs (1)
447if (key[i] != Char.ToLower((char)buffer[offset + i], System.Globalization.CultureInfo.InvariantCulture))
System\Xml\XmlBaseReader.cs (4)
1160throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 1175throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 1202throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 1217throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i));
System\Xml\XmlBaseWriter.cs (3)
501throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.XmlInvalidDepth, "WriteEndElement", depth.ToString(CultureInfo.InvariantCulture)))); 1785prefix = string.Concat("d", depth.ToString(CultureInfo.InvariantCulture), "p", prefixId.ToString(CultureInfo.InvariantCulture));
System\Xml\XmlBufferReader.cs (6)
495throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception)); 499throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception)); 503throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception)); 517throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception)); 521throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception)); 525throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception));
System\Xml\XmlDictionaryReader.cs (4)
327throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 353throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 650throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "strings[{0}]", i)); 670throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "strings[{0}]", i));
System\Xml\XmlExceptionHelper.cs (1)
178ThrowXmlException(reader, SR.XmlInvalidXmlByte, b.ToString("X2", CultureInfo.InvariantCulture));
System\Xml\XmlMtomReader.cs (7)
61throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(String.Format(CultureInfo.InvariantCulture, "encodings[{0}]", i)); 275return String.Format(CultureInfo.InvariantCulture, "<{0}>", startUri); 360contentID = String.Format(CultureInfo.InvariantCulture, "<{0}>", Uri.UnescapeDataString(uri.Substring(MimeGlobals.ContentIDScheme.Length))); 2678throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.MimeHeaderInvalidCharacter, (char)(*ptr), ((int)(*ptr)).ToString("X", CultureInfo.InvariantCulture)))); 3055throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.MimeHeaderInvalidCharacter, data[offset], ((int)data[offset]).ToString("X", CultureInfo.InvariantCulture)))); 3089throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.MimeHeaderInvalidCharacter, data[offset], ((int)data[offset]).ToString("X", CultureInfo.InvariantCulture)))); 3121throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.MimeHeaderInvalidCharacter, data[offset], ((int)data[offset]).ToString("X", CultureInfo.InvariantCulture))));
System\Xml\XmlMtomWriter.cs (10)
153String.Format(CultureInfo.InvariantCulture, "{0}/{1};{2}=\"{3}\";{4}=\"{5}\"", 159contentTypeBuilder.AppendFormat(CultureInfo.InvariantCulture, ";{0}=\"<{1}>\"", MtomGlobals.StartParam, startUri); 162contentTypeBuilder.AppendFormat(CultureInfo.InvariantCulture, ";{0}=\"{1}\"", MtomGlobals.StartInfoParam, startInfo); 169string contentType = String.Format(CultureInfo.InvariantCulture, "{0};{1}={2}", MtomGlobals.XopType, MtomGlobals.CharsetParam, CharSet(encoding)); 172contentType = String.Format(CultureInfo.InvariantCulture, "{0};{1}=\"{2}\"", contentType, MtomGlobals.TypeParam, startInfo); 354Writer.WriteValue(String.Format(CultureInfo.InvariantCulture, "{0}{1}", MimeGlobals.ContentIDScheme, contentID)); 366return String.Format(CultureInfo.InvariantCulture, "http://tempuri.org/{0}/{1}", index, DateTime.Now.Ticks); 425mimeWriter.WriteHeader(MimeGlobals.ContentIDHeader, String.Format(CultureInfo.InvariantCulture, "<{0}>", contentID)); 884return String.Format(CultureInfo.InvariantCulture, "{0}{1}", prefix, nextId); 1221throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.MimeHeaderInvalidCharacter, c, ((int)c).ToString("X", CultureInfo.InvariantCulture))));
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.Security (58)
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\pkcsmisc.cs (2)
134throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type"), certId.dwIdChoice.ToString(CultureInfo.InvariantCulture)); 241throw new CryptographicException(SecurityResources.GetResourceString("Cryptography_Cms_Invalid_Subject_Identifier_Type"), certId.dwIdChoice.ToString(CultureInfo.InvariantCulture));
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\cryptography\xml\SignedXmlDebugLog.cs (42)
200builder.Append(b.ToString("x2", CultureInfo.InvariantCulture)); 227keyName = String.Format(CultureInfo.InvariantCulture, 232keyName = String.Format(CultureInfo.InvariantCulture, 237keyName = String.Format(CultureInfo.InvariantCulture, 242keyName = key.GetHashCode().ToString("x8", CultureInfo.InvariantCulture); 245return String.Format(CultureInfo.InvariantCulture, "{0}#{1}", key.GetType().Name, keyName); 254return String.Format(CultureInfo.InvariantCulture, 256o.GetHashCode().ToString("x8", CultureInfo.InvariantCulture)); 282string logMessage = String.Format(CultureInfo.InvariantCulture, 293string canonicalizationSettings = String.Format(CultureInfo.InvariantCulture, 316string logMessage = String.Format(CultureInfo.InvariantCulture, 335string logMessage = String.Format(CultureInfo.InvariantCulture, 358string contextData = String.Format(CultureInfo.InvariantCulture, 385string contextData = String.Format(CultureInfo.InvariantCulture, 407string logMessage = String.Format(CultureInfo.InvariantCulture, 453string logMessage = String.Format(CultureInfo.InvariantCulture, 498string logMessage = String.Format(CultureInfo.InvariantCulture, 518string propagationMessage = String.Format(CultureInfo.InvariantCulture, 564string logMessage = String.Format(CultureInfo.InvariantCulture, 600string logMessage = String.Format(CultureInfo.InvariantCulture, 626string logMessage = String.Format(CultureInfo.InvariantCulture, 649string logMessage = String.Format(CultureInfo.InvariantCulture, 672string logMessage = String.Format(CultureInfo.InvariantCulture, 696string logMessage = String.Format(CultureInfo.InvariantCulture, 718string logMessage = String.Format(CultureInfo.InvariantCulture, 741string logMessage = String.Format(CultureInfo.InvariantCulture, 774string logMessage = String.Format(CultureInfo.InvariantCulture, 813string logMessage = String.Format(CultureInfo.InvariantCulture, 826string hashLog = String.Format(CultureInfo.InvariantCulture, 831string signatureLog = String.Format(CultureInfo.InvariantCulture, 854string logMessage = String.Format(CultureInfo.InvariantCulture, 864string hashLog = String.Format(CultureInfo.InvariantCulture, 869string signatureLog = String.Format(CultureInfo.InvariantCulture, 888string buildMessage = String.Format(CultureInfo.InvariantCulture, 899string revocationMode = String.Format(CultureInfo.InvariantCulture, 904string revocationFlag = String.Format(CultureInfo.InvariantCulture, 909string verificationFlags = String.Format(CultureInfo.InvariantCulture, 914string verificationTime = String.Format(CultureInfo.InvariantCulture, 919string urlTimeout = String.Format(CultureInfo.InvariantCulture, 929string logMessage = String.Format(CultureInfo.InvariantCulture, 948chainElements.AppendFormat(CultureInfo.InvariantCulture, " {0}", GetKeyName(element.Certificate)); 972string logMessage = String.Format(CultureInfo.InvariantCulture,
system\security\cryptography\xml\utils.cs (1)
492return Convert.ToInt64(regValue, CultureInfo.InvariantCulture);
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 (580)
System\ServiceModel\Activation\Configuration\ConfigurationStrings.cs (1)
17return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName);
System\ServiceModel\Activation\Configuration\SecurityIdentifierConverter.cs (2)
35public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 46public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\ServiceModel\Activation\Utility.cs (2)
29builder.Path = string.Format(CultureInfo.InvariantCulture, "/{0}/", listenerEndPoint); 299string accountName = string.Format(CultureInfo.InvariantCulture, WindowsServiceAccountFormat, name);
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (3)
45return String.Format(CultureInfo.InvariantCulture, AdministrationStrings.AppDomainInfo + 90string initializeData = (string)type.InvokeMember(AdministrationStrings.InitializeData, BindingFlags.GetField | BindingFlags.NonPublic | BindingFlags.Instance, null, traceListener, null, CultureInfo.InvariantCulture); 91string[] supportedAttributes = (string[])type.InvokeMember(AdministrationStrings.GetSupportedAttributes, BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Instance, null, traceListener, null, CultureInfo.InvariantCulture);
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
22return String.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Administration\EndpointInstanceProvider.cs (5)
30string endpointReference = String.Format(CultureInfo.InvariantCulture, 56string machineAddress = String.Format(CultureInfo.InvariantCulture, 465string result = String.Format(CultureInfo.InvariantCulture, 472string result = String.Format(CultureInfo.InvariantCulture, 489string result = String.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Administration\ServiceInfo.cs (1)
124using (StringWriter sw = new StringWriter(CultureInfo.InvariantCulture))
System\ServiceModel\Administration\ServiceInstanceProvider.cs (13)
60return String.Format(CultureInfo.InvariantCulture, AdministrationStrings.Service + 167result += String.Format(CultureInfo.InvariantCulture, "Certificate: {0}\n", specificBehavior.ClientCertificate.Certificate); 173result += String.Format(CultureInfo.InvariantCulture, "AllowUntrustedRsaIssuers: {0}\n", specificBehavior.IssuedTokenAuthentication.AllowUntrustedRsaIssuers); 174result += String.Format(CultureInfo.InvariantCulture, "CertificateValidationMode: {0}\n", specificBehavior.IssuedTokenAuthentication.CertificateValidationMode); 175result += String.Format(CultureInfo.InvariantCulture, "RevocationMode: {0}\n", specificBehavior.IssuedTokenAuthentication.RevocationMode); 176result += String.Format(CultureInfo.InvariantCulture, "TrustedStoreLocation: {0}\n", specificBehavior.IssuedTokenAuthentication.TrustedStoreLocation); 181result += String.Format(CultureInfo.InvariantCulture, "Known certificate: {0}\n", certificate.FriendlyName); 184result += String.Format(CultureInfo.InvariantCulture, "AudienceUriMode: {0}\n", specificBehavior.IssuedTokenAuthentication.AudienceUriMode); 191result += String.Format(CultureInfo.InvariantCulture, "Allowed Uri: {0}\n", str); 201result += String.Format(CultureInfo.InvariantCulture, "Certificate: {0}\n", specificBehavior.Peer.Certificate.ToString(true)); 211result += String.Format(CultureInfo.InvariantCulture, "ClaimType: {0}\n", claimType); 222instance.SetProperty(AdministrationStrings.UserNameAuthentication, String.Format(CultureInfo.InvariantCulture, "{0}: {1}", AdministrationStrings.ValidationMode, specificBehavior.UserNameAuthentication.UserNamePasswordValidationMode.ToString())); 226instance.SetProperty(AdministrationStrings.WindowsAuthentication, String.Format(CultureInfo.InvariantCulture, "{0}: {1}", AdministrationStrings.AllowAnonymous, specificBehavior.WindowsAuthentication.AllowAnonymousLogons.ToString()));
System\ServiceModel\Administration\WbemProvider.cs (6)
65hr.ToString("x", CultureInfo.InvariantCulture)); 82hr.ToString("x", CultureInfo.InvariantCulture)); 803this.keys.Add(match.Groups["key"].Value, Int32.Parse(match.Groups["ival"].Value, CultureInfo.CurrentCulture)); 935val = ((DateTime)val).ToString("yyyyMMddhhmmss.ffffff", CultureInfo.InvariantCulture) + "+000"; 941val = string.Format(CultureInfo.InvariantCulture, "{0:00000000}{1:00}{2:00}{3:00}.{4:000}{5:000}:000", 964val = ((Int64)val).ToString(CultureInfo.InvariantCulture);
System\ServiceModel\BasicHttpsSecurityMode.cs (1)
39Fx.Assert(mode == BasicHttpSecurityMode.Transport || mode == BasicHttpSecurityMode.TransportWithMessageCredential, string.Format(CultureInfo.InvariantCulture, "Invalid BasicHttpSecurityMode value: {0}.", mode.ToString()));
System\ServiceModel\CallbackBehaviorAttribute.cs (1)
105TimeSpan timeout = TimeSpan.Parse(value, CultureInfo.InvariantCulture);
System\ServiceModel\Channels\ApplicationContainerSettings.cs (1)
74suffix = string.Format(CultureInfo.InvariantCulture, GroupNameSuffixFormat, this.SessionId, this.PackageFullName);
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (2)
448sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageProtectionOrder: {0}", this.messageProtectionOrder.ToString())); 449sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireSignatureConfirmation: {0}", this.requireSignatureConfirmation.ToString()));
System\ServiceModel\Channels\BaseUriWithWildcard.cs (1)
332return string.Format(CultureInfo.InvariantCulture, "{0}:{1}", this.HostNameComparisonMode, this.BaseAddress);
System\ServiceModel\Channels\BindingContext.cs (1)
166builder.Append(CultureInfo.CurrentCulture.TextInfo.ListSeparator);
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (3)
804Fx.Assert(this.position + count <= this.bytes.Length, string.Format(CultureInfo.InvariantCulture, "Chunk is too big to fit in this buffer. Chunk size={0}, free space={1}", count, this.bytes.Length - this.position)); 805Fx.Assert(!this.writePending, string.Format(CultureInfo.InvariantCulture, "The buffer is in use, position={0}", this.position)); 814Fx.Assert(!this.writePending, string.Format(CultureInfo.InvariantCulture, "The buffer is in use, position={0}", this.position));
System\ServiceModel\Channels\ChannelRequirements.cs (2)
275contractChannelTypes.Append(CultureInfo.CurrentCulture.TextInfo.ListSeparator); 319bindingChannelTypes.Append(CultureInfo.CurrentCulture.TextInfo.ListSeparator);
System\ServiceModel\Channels\ConnectionAcceptor.cs (1)
184new StringTraceRecord("MaxPendingConnections", maxPendingConnections.ToString(System.Globalization.CultureInfo.InvariantCulture)),
System\ServiceModel\Channels\ConnectionDemuxer.cs (1)
161new StringTraceRecord("MaxOutboundConnectionsPerEndpoint", maxPooledConnections.ToString(CultureInfo.InvariantCulture)),
System\ServiceModel\Channels\ContextProtocol.cs (1)
88CultureInfo.InvariantCulture,
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\FramingDecoders.cs (1)
357return "unknown" + ((int)type).ToString(CultureInfo.InvariantCulture);
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
781connectionGroupName = string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}[{1}]", connectionGroupName, remoteCertificateIdentity.Certificates[0].Thumbprint);
System\ServiceModel\Channels\HttpChannelHelpers.cs (4)
409string statusDescription = string.Format(CultureInfo.InvariantCulture, HttpChannelUtilities.StatusDescriptionStrings.HttpContentTypeMismatch, ContentType, messageEncoder.ContentType); 2523action = string.Format(CultureInfo.InvariantCulture, "\"{0}\"", UrlUtility.UrlPathEncode(action)); 2667string value = string.Format(CultureInfo.InvariantCulture, "\"{0}\"", parsedContentType.Parameters["action"]); 2686httpWebRequest.ContentType = string.Format(CultureInfo.InvariantCulture, "{0}; action={1}", httpWebRequest.ContentType, action);
System\ServiceModel\Channels\HttpChannelListener.cs (13)
758AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, hostName)); 759AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, hostName)); 766AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, dnsSafeHostName)); 767AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, dnsSafeHostName)); 773AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, dnsSafeHostName)); 774AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, dnsSafeHostName)); 775AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, hostName)); 776AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, hostName)); 783AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, hostName)); 784AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, hostName)); 791AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, localhost)); 792AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, localhost)); 934new StringTraceRecord(WebSocketHelper.MaxPendingConnectionsString, this.WebSocketSettings.MaxPendingConnections.ToString(System.Globalization.CultureInfo.InvariantCulture)),
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (4)
65string.Format(CultureInfo.InvariantCulture, "handlers[<<{0}>>]", cnt), 72string.Format(CultureInfo.InvariantCulture, "handlers[<<{0}>>]", cnt), 80string.Format(CultureInfo.InvariantCulture, "handlers[<<{0}>>]", cnt), 302return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", t.FullName, m.Name);
System\ServiceModel\Channels\HttpsChannelListener.cs (1)
376SR.GetString(SR.TraceCodeHttpsClientCertificateInvalid1, "0x" + (request.ClientCertificateError & 65535).ToString("X", CultureInfo.InvariantCulture)),
System\ServiceModel\Channels\Message.cs (3)
505StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture); 780throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this); 787throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this);
System\ServiceModel\Channels\MessageFault.cs (1)
118defaultMessageFault = MessageFault.CreateFault(new FaultCode("Default"), new FaultReason("", CultureInfo.CurrentCulture));
System\ServiceModel\Channels\MessageHeader.cs (1)
53StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture);
System\ServiceModel\Channels\MessageVersion.cs (1)
198throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "MessageVersion.Addressing cannot be null")));
System\ServiceModel\Channels\MsmqDiagnostics.cs (8)
37dictionary["PublicQueues"] = Convert.ToString(publicQueues, CultureInfo.InvariantCulture); 145dictionary["Private"] = Convert.ToString(isPrivate, CultureInfo.InvariantCulture); 179dictionary["Private"] = Convert.ToString(isPrivate, CultureInfo.InvariantCulture); 288new StringTraceRecord("MSMQMessageLookupId", Convert.ToString(lookupId, CultureInfo.InvariantCulture)), 302new StringTraceRecord("MSMQMessageLookupId", Convert.ToString(lookupId, CultureInfo.InvariantCulture)), 439dictionary["NumberOfMessages"] = Convert.ToString(numberOfMessages, CultureInfo.InvariantCulture); 457dictionary["NumberOfMessages"] = Convert.ToString(numberOfMessages, CultureInfo.InvariantCulture); 474dictionary["Acknowledgment"] = Convert.ToString(acknowledgment, CultureInfo.InvariantCulture);
System\ServiceModel\Channels\MsmqSubqueueLockingQueue.cs (2)
212throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MsmqException(SR.GetString(SR.MsmqReceiveContextMessageNotReceived, lookupId.ToString(CultureInfo.InvariantCulture)))); 238throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MsmqException(SR.GetString(SR.MsmqReceiveContextMessageNotMoved, lookupId.ToString(CultureInfo.InvariantCulture))));
System\ServiceModel\Channels\MsmqUri.cs (1)
281builder.Append(uri.Port.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Channels\MtomMessageEncoder.cs (2)
134throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid MessageVersion"))); 300return String.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Channels\NativeMsmqMessage.cs (1)
543integerId = Convert.ToInt32(pieces[1], CultureInfo.InvariantCulture);
System\ServiceModel\Channels\OneWayChannelListener.cs (1)
846new StringTraceRecord("MaxAcceptedChannels", maxAcceptedChannels.ToString(System.Globalization.CultureInfo.InvariantCulture)),
System\ServiceModel\Channels\PeerConnector.cs (2)
270throw Fx.AssertAndThrow(string.Format(CultureInfo.InvariantCulture, "Neighbor state expected to be Authenticated or Closed, actual state: {0}", neighbor.State)); 279throw Fx.AssertAndThrow(string.Format(CultureInfo.InvariantCulture, "Neighbor state expected to be Faulted or Closed, actual state: {0}", neighbor.State));
System\ServiceModel\Channels\PeerHelpers.cs (1)
957return new PeerDictionaryHeader(XD.PeerWireStringsDictionary.HopCount, XD.PeerWireStringsDictionary.HopCountNamespace, hopcount.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Channels\PeerNodeImplementation.cs (1)
1650return string.Format(System.Globalization.CultureInfo.InvariantCulture,
System\ServiceModel\Channels\PipeConnection.cs (5)
2684CultureInfo.InvariantCulture, 2789CultureInfo.InvariantCulture, 2890IntPtr.Zero, error, CultureInfo.CurrentCulture.LCID, stringBuilder, stringBuilder.Capacity, IntPtr.Zero) != 0) 2897error.ToString(CultureInfo.InvariantCulture), 2904error.ToString(CultureInfo.InvariantCulture),
System\ServiceModel\Channels\PnrpPeerResolver.cs (5)
345string peerName = string.Format(CultureInfo.InvariantCulture, "0.{0}", meshId); 399pathBuilder.Append(PathSeparator + String.Format(CultureInfo.InvariantCulture, "{0}", guid.ToString())); 402uriBuilder.Path = String.Format(CultureInfo.InvariantCulture, "{0}", pathBuilder.ToString()); 445string peerName = string.Format(CultureInfo.InvariantCulture, "0.{0}", meshName); 647string peerName = string.Format(CultureInfo.InvariantCulture, "0.{0}", meshId);
System\ServiceModel\Channels\RedirectionUtility.cs (1)
50string hashString = value + value.GetHashCode().ToString(Globalization.CultureInfo.InvariantCulture);
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\SecurityBindingElement.cs (11)
1833sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 1834sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "DefaultAlgorithmSuite: {0}", this.defaultAlgorithmSuite.ToString())); 1835sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IncludeTimestamp: {0}", this.includeTimestamp.ToString())); 1836sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyEntropyMode: {0}", this.keyEntropyMode.ToString())); 1837sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageSecurityVersion: {0}", this.MessageSecurityVersion.ToString())); 1838sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SecurityHeaderLayout: {0}", this.securityHeaderLayout.ToString())); 1839sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ProtectTokens: {0}", this.protectTokens.ToString())); 1846sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OperationSupportingTokenParameters: none")); 1852sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OperationSupportingTokenParameters[\"{0}\"]:", requestAction)); 1858sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OptionalOperationSupportingTokenParameters: none")); 1864sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OptionalOperationSupportingTokenParameters[\"{0}\"]:", requestAction));
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
781FaultReason faultReason = new FaultReason(SR.GetString(SR.SecureConversationCancelNotAllowedFaultReason), System.Globalization.CultureInfo.InvariantCulture);
System\ServiceModel\Channels\SequenceRange.cs (1)
92return string.Format(CultureInfo.InvariantCulture, "{0}-{1}", this.lower, this.upper);
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\ServiceChannelProxy.cs (1)
193throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid proxy method type")));
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (2)
406sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageProtectionOrder: {0}", this.messageProtectionOrder.ToString())); 407sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireSignatureConfirmation: {0}", this.requireSignatureConfirmation.ToString()));
System\ServiceModel\Channels\TcpConnectionPool.cs (1)
44return string.Format(CultureInfo.InvariantCulture, @"[{0}, {1}]", normalizedHost, port);
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
92return String.Format(CultureInfo.InvariantCulture, "{0}; charset={1}", mediaType, TextEncoderDefaults.EncodingToCharSet(encoding));
System\ServiceModel\Channels\TransactionChannelFaultConverter.cs (1)
25exception = new ProtocolException(fault.Reason.GetMatchingTranslation(CultureInfo.CurrentCulture).Text);
System\ServiceModel\Channels\UriGenerator.cs (1)
39return prefix + nextId.ToString(CultureInfo.InvariantCulture);
System\ServiceModel\Channels\UriPrefixTable.cs (1)
339this.SetSegment(port.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Channels\WebSocketHelper.cs (1)
177invalidChar = string.Format(CultureInfo.InvariantCulture, "[{0}]", (int)ch);
System\ServiceModel\Channels\WsrmFault.cs (1)
35this.reason = new FaultReason(faultReason, CultureInfo.CurrentCulture);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (4)
532this.instanceID.ToString(CultureInfo.CurrentCulture), 533this.managedThreadID.ToString(CultureInfo.CurrentCulture), 534this.unmanagedThreadID.ToString(CultureInfo.CurrentCulture), 822StringWriter textWriter = new StringWriter(CultureInfo.InvariantCulture);
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (6)
179instanceID.ToString(CultureInfo.InvariantCulture), 180System.Threading.Thread.CurrentThread.ManagedThreadId.ToString(CultureInfo.InvariantCulture), 181SafeNativeMethods.GetCurrentThreadId().ToString(CultureInfo.InvariantCulture), 239instanceID.ToString(CultureInfo.InvariantCulture), 240System.Threading.Thread.CurrentThread.ManagedThreadId.ToString(CultureInfo.InvariantCulture), 241SafeNativeMethods.GetCurrentThreadId().ToString(CultureInfo.InvariantCulture),
System\ServiceModel\ComIntegration\Error.cs (1)
129FaultReason reasonObj = new FaultReason(reason, CultureInfo.CurrentCulture);
System\ServiceModel\ComIntegration\MonikerUtility.cs (1)
26suspectedKeyword = suspectedKeyword.ToLower(System.Globalization.CultureInfo.InvariantCulture);
System\ServiceModel\Configuration\ChannelEndpointElementCollection.cs (1)
27return string.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Configuration\EncodingConverter.cs (2)
34public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 59public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\ServiceModel\Configuration\ExtensionsSection.cs (6)
184Fx.Assert(String.Format(CultureInfo.InvariantCulture, "{0} is not a type supported by the ServiceModelExtensionsSection collections.", extensionType.AssemblyQualifiedName)); 185DiagnosticUtility.FailFast(String.Format(CultureInfo.InvariantCulture, "{0} is not a type supported by the ServiceModelExtensionsSection collections.", extensionType.AssemblyQualifiedName)); 234Fx.Assert(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName)); 235DiagnosticUtility.FailFast(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName)); 288Fx.Assert(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName)); 289DiagnosticUtility.FailFast(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName));
System\ServiceModel\Configuration\MessageSecurityVersionConverter.cs (2)
34public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 72public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\ServiceModel\Configuration\MessageVersionConverter.cs (2)
34public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 75public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\ServiceModel\Configuration\PeerTransportListenAddressConverter.cs (2)
35public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 44public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\ServiceModel\Configuration\PolicyVersionConverter.cs (2)
34public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 60public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\ServiceModel\Configuration\Properties.cs (144)
65properties.Add(new ConfigurationProperty("receiveTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:30", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 93properties.Add(new ConfigurationProperty("receiveTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:30", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 680properties.Add(new ConfigurationProperty("idleTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:02:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 681properties.Add(new ConfigurationProperty("leaseTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:10:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 804properties.Add(new ConfigurationProperty("transactionTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 911properties.Add(new ConfigurationProperty("channelInitializationTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:30", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00.0000001", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 914properties.Add(new ConfigurationProperty("maxOutputDelay", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00.2", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 940properties.Add(new ConfigurationProperty("closeTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 941properties.Add(new ConfigurationProperty("openTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 942properties.Add(new ConfigurationProperty("receiveTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:10:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 943properties.Add(new ConfigurationProperty("sendTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1227properties.Add(new ConfigurationProperty("closeTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:10", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1228properties.Add(new ConfigurationProperty("openTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1360properties.Add(new ConfigurationProperty("requestInitializationTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1460properties.Add(new ConfigurationProperty("maxIssuedTokenCachingTime", typeof(System.TimeSpan), System.TimeSpan.Parse("10675199.02:48:05.4775807", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1603properties.Add(new ConfigurationProperty("maxClockSkew", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1604properties.Add(new ConfigurationProperty("maxCookieCachingTime", typeof(System.TimeSpan), System.TimeSpan.Parse("10675199.02:48:05.4775807", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1605properties.Add(new ConfigurationProperty("replayWindow", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1606properties.Add(new ConfigurationProperty("sessionKeyRenewalInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("10:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1607properties.Add(new ConfigurationProperty("sessionKeyRolloverInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1609properties.Add(new ConfigurationProperty("timestampValidityDuration", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1635properties.Add(new ConfigurationProperty("issuedCookieLifetime", typeof(System.TimeSpan), System.TimeSpan.Parse("10:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1638properties.Add(new ConfigurationProperty("maxClockSkew", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1639properties.Add(new ConfigurationProperty("negotiationTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1640properties.Add(new ConfigurationProperty("replayWindow", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1641properties.Add(new ConfigurationProperty("inactivityTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:02:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1642properties.Add(new ConfigurationProperty("sessionKeyRenewalInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("15:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1643properties.Add(new ConfigurationProperty("sessionKeyRolloverInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1647properties.Add(new ConfigurationProperty("timestampValidityDuration", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1812properties.Add(new ConfigurationProperty("retryCycleDelay", typeof(System.TimeSpan), System.TimeSpan.Parse("00:30:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1813properties.Add(new ConfigurationProperty("timeToLive", typeof(System.TimeSpan), System.TimeSpan.Parse("1.00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1816properties.Add(new ConfigurationProperty("validityDuration", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1922properties.Add(new ConfigurationProperty("retryCycleDelay", typeof(System.TimeSpan), System.TimeSpan.Parse("00:30:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1924properties.Add(new ConfigurationProperty("timeToLive", typeof(System.TimeSpan), System.TimeSpan.Parse("1.00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 1927properties.Add(new ConfigurationProperty("validityDuration", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 2034properties.Add(new ConfigurationProperty("idleTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:02:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 2239properties.Add(new ConfigurationProperty("keepAliveInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("-00:00:00.0010000", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 2702properties.Add(new ConfigurationProperty("closeTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 2703properties.Add(new ConfigurationProperty("openTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 2704properties.Add(new ConfigurationProperty("receiveTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:10:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 2705properties.Add(new ConfigurationProperty("sendTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 2887properties.Add(new ConfigurationProperty("inactivityTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:10:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00.0000001", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 2935properties.Add(new ConfigurationProperty("acknowledgementInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00.2", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00.0000001", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 2937properties.Add(new ConfigurationProperty("inactivityTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:10:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00.0000001", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 3661properties.Add(new ConfigurationProperty("cachedLogonTokenLifetime", typeof(System.TimeSpan), System.TimeSpan.Parse("00:15:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00.0000001", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 4568properties.Add(new ConfigurationProperty("transactionTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 4593properties.Add(new ConfigurationProperty("leaseTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 4594properties.Add(new ConfigurationProperty("idleTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:02:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\ReliableMessagingVersionConverter.cs (2)
32public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 53public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\ServiceModel\Configuration\SecurityAlgorithmSuiteConverter.cs (2)
33public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 101public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\ServiceModel\Configuration\ServiceEndpointElementCollection.cs (1)
38return string.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (1)
114string.Format(System.Globalization.CultureInfo.InvariantCulture,
System\ServiceModel\Configuration\SessionIdTypeConverter.cs (2)
15public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cultureInfo, object value, Type type) 41public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo cultureInfo, object data)
System\ServiceModel\Configuration\TimeSpanOrInfiniteConverter.cs (2)
15public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cultureInfo, object value, Type type) 37public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo cultureInfo, object data)
System\ServiceModel\Configuration\TransactionProtocolConverter.cs (2)
32public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 53public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\ServiceModel\Configuration\UnrecognizedPolicyAssertionElement.cs (2)
66WriteComment(String.Format(CultureInfo.InvariantCulture, "<wsdl:binding name='{0}'>", this.wsdlBinding.Name), indent, writer, settings); 77WriteComment(String.Format(CultureInfo.InvariantCulture, "<wsdl:operation name='{0}'>", operation.Name), indent, writer, settings);
System\ServiceModel\Configuration\XPathMessageFilterElement.cs (1)
92filter.NodeQuota = int.Parse(nodeQuotaStringValue, CultureInfo.CurrentCulture);
System\ServiceModel\Description\ClientClassGenerator.cs (11)
177throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid client generation constructor table initialization"))); 185throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid client generation constructor table initialization"))); 946return string.Format(CultureInfo.InvariantCulture, "{0}Async", syncMethodName); 951return string.Format(CultureInfo.InvariantCulture, "onBegin{0}Delegate", syncMethodName); 956return string.Format(CultureInfo.InvariantCulture, "OnBegin{0}", syncMethodName); 961return string.Format(CultureInfo.InvariantCulture, "onEnd{0}Delegate", syncMethodName); 966return string.Format(CultureInfo.InvariantCulture, "OnEnd{0}", syncMethodName); 971return string.Format(CultureInfo.InvariantCulture, "on{0}CompletedDelegate", syncMethodName); 976return string.Format(CultureInfo.InvariantCulture, "On{0}Completed", syncMethodName); 981return string.Format(CultureInfo.InvariantCulture, "{0}Completed", syncMethodName); 986return string.Format(CultureInfo.InvariantCulture, "{0}CompletedEventArgs", syncMethodName);
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
199Fx.Assert(String.Format(CultureInfo.InvariantCulture, "Cannot find DataContract attribute for {0}", messageName)); 201throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(String.Format(CultureInfo.InvariantCulture, "Cannot find DataContract attribute for {0}", messageName)));
System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
267throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Each set must have at least one item in it")));
System\ServiceModel\Description\MessageContractExporter.cs (6)
292partName = partName + i.ToString(CultureInfo.InvariantCulture); 516messageNameBase = string.Format(System.Globalization.CultureInfo.InvariantCulture, 519messageNameBase = string.Format(System.Globalization.CultureInfo.InvariantCulture, 531string messageNameBase = string.Format(System.Globalization.CultureInfo.InvariantCulture, 543string faultNameBase = String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}_{1}_{2}_FaultMessage", portTypeName, operationName, faultName); 1219throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Header cannot be Document Wrapped")));
System\ServiceModel\Description\MetadataExchangeClient.cs (1)
1088StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture);
System\ServiceModel\Description\OperationGenerator.cs (3)
423Fx.Assert(System.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(name), String.Format(System.Globalization.CultureInfo.InvariantCulture, "Type name '{0}' is not ValidLanguageIndependentIdentifier!", name)); 590Fx.Assert(String.IsNullOrEmpty(typeName) || System.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(typeName), String.Format(System.Globalization.CultureInfo.InvariantCulture, "Type name '{0}' is not ValidLanguageIndependentIdentifier!", typeName)); 1037Fx.Assert(String.Format(System.Globalization.CultureInfo.InvariantCulture, "Attribute generation is not supported for argument type {0}", type));
System\ServiceModel\Description\PolicyReader.cs (1)
233return string.Format(CultureInfo.InvariantCulture, "#{0}", id);
System\ServiceModel\Description\ServiceDescription.cs (1)
166TypeLoader.DefaultBindingFlags, null, null, System.Globalization.CultureInfo.InvariantCulture);
System\ServiceModel\Description\ServiceEndpoint.cs (1)
109return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new XmlName(Binding.Name).EncodedName, Contract.Name);
System\ServiceModel\Description\ServiceMetadataExtension.cs (8)
892throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Bad object in HttpGetImpl docFromQuery table"))); 898throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Bad object in HttpGetImpl docFromQuery table"))); 1115query += "=wsdl" + (i++).ToString(System.Globalization.CultureInfo.InvariantCulture); 1127string query = XsdQueryString + "=xsd" + (i++).ToString(System.Globalization.CultureInfo.InvariantCulture); 1412CultureInfo ci = CultureInfo.CurrentCulture; 1630writer.WriteRaw(String.Format(CultureInfo.InvariantCulture, 1635writer.WriteRaw(String.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Description\ServiceReflector.cs (1)
140throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Cannot generate unique name for name {0}", baseName)));
System\ServiceModel\Description\TypeLoader.cs (1)
625String.Format(CultureInfo.InvariantCulture, "Bad contract inheritence. Contract {0} does not implement {1}", declaringContract.ContractType.Name, contractDescription.ContractType.Name)
System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (1)
46uniqueIdentifier = validIdentifier + (i++).ToString(CultureInfo.InvariantCulture);
System\ServiceModel\Description\WsdlExporter.cs (11)
840return string.Format(CultureInfo.InvariantCulture, "#{0}", key); 874return string.Format(CultureInfo.InvariantCulture, "{0}_policy", wsdlBinding.Name); 879return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_policy", 890return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Input_policy", wsdlBinding.Name, wsdlOperationBinding.Name); 892return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_output_policy", wsdlBinding.Name, wsdlOperationBinding.Name); 901return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Fault", wsdlBinding.Name, wsdlOperationBinding.Name); 905return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_{2}_Fault", wsdlBinding.Name, wsdlOperationBinding.Name, wsdlFaultBinding.Name); 975throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "You must pass at least one namespaceScope"))); 992prefix = prefixBase + i.ToString(CultureInfo.InvariantCulture); 996prefix = prefixBase + (++i).ToString(CultureInfo.InvariantCulture); 1216endpointIdentifier = String.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Description\WsdlHelper.cs (4)
162string policyIdStringWithOldBindingName = string.Format(CultureInfo.InvariantCulture, policyIdStringPrefixFormat, oldBindingName); 163string policyIdStringWithNewBindingName = string.Format(CultureInfo.InvariantCulture, policyIdStringPrefixFormat, newBindingName); 200string policyReferenceValueWithOldBindingName = string.Format(CultureInfo.InvariantCulture, policyReferencePrefixFormat, oldBindingName); 201string policyReferenceValueWithNewBindingName = string.Format(CultureInfo.InvariantCulture, policyReferencePrefixFormat, newBindingName);
System\ServiceModel\Description\WsdlImporter.cs (17)
1072string actionUri = string.Format(CultureInfo.InvariantCulture, "{0}{1}{2}{3}", baseActionUri, portTypeName, delimiter, operationMessageName.EncodedName); 1193XmlName xmlName = new XmlName(string.Format(CultureInfo.InvariantCulture, "{0}_{1}", wsdlPort.Service.Name, wsdlPort.Name), true /*isEncoded*/); 1354string id = string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}_{1}_BindingAdHocPolicy", wsdlBinding.Name, name); 1355string newPolicyUris = string.Format(System.Globalization.CultureInfo.InvariantCulture, "#{0} {1}", id, policyUris).Trim(); 1781string documentPath = string.Format(CultureInfo.InvariantCulture, xPathDocumentFormatString, wsdlNs); 1785itemPath = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, localName, nameValue); 1829rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "port", item.Name); 1837rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.Name); 1845rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.Name); 1865rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", wsdlOperationBinding.Name); 1867rest += string.Format(CultureInfo.InvariantCulture, xPathItemSubFormatString, messageTag); 1869rest += string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, messageTag, messageName); 2437string policyUri = string.Format(CultureInfo.InvariantCulture, "{0}{1}", identifier, policyId); 2446static readonly string wspPolicy = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.WSPolicy.Prefix, MetadataStrings.WSPolicy.Elements.Policy); 2447static readonly string xmlId = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.Xml.Prefix, MetadataStrings.Xml.Attributes.Id); 2448static readonly string wsuId = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.Wsu.Prefix, MetadataStrings.Wsu.Attributes.Id); 2483return string.Format(CultureInfo.InvariantCulture, "{0}/{1}/[@{2}='{3}']", xPath, wspPolicy, idAttrib, key);
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (1)
136writer.WriteAttributeString(MessageLogTraceRecord.TraceTimeAttributeName, this.timestamp.ToString("o", CultureInfo.InvariantCulture));
System\ServiceModel\Diagnostics\PeerNodeTraceRecord.cs (3)
52writer.WriteElementString("NodeId", this.id.ToString(CultureInfo.InvariantCulture)); 112writer.WriteElementString("RemoteNodeId", this.remoteNodeId.ToString(CultureInfo.InvariantCulture)); 113writer.WriteElementString("LocalNodeId", this.localNodeId.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Diagnostics\PerformanceCountersBase.cs (2)
38return String.Format("{0}{1}", instanceName, StringUtil.GetNonRandomizedHashCode(fullInstanceName).ToString("X", CultureInfo.InvariantCulture)); 96string hash = ((uint)StringUtil.GetNonRandomizedHashCode(str) % 99).ToString("00", CultureInfo.InvariantCulture);
System\ServiceModel\Diagnostics\ServiceConfigurationTraceRecord.cs (2)
25xml.WriteElementString("FoundServiceElement", ((bool)(this.serviceElement != null)).ToString(CultureInfo.InvariantCulture)); 31xml.WriteElementString("ConfigurationFileLineNumber", this.serviceElement.ElementInformation.LineNumber.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Diagnostics\TraceUtility.cs (4)
811string.Format(CultureInfo.InvariantCulture, "Unsupported trace code: Please add trace code 0x{0} to the SortedList TraceUtility.traceCodes in {1}", 812traceCode.ToString("X", CultureInfo.InvariantCulture), typeof(TraceUtility))); 861return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture); 961return string.Format(CultureInfo.InvariantCulture, "{0}:{1}", endpoint.Address, endpoint.Port);
System\ServiceModel\Diagnostics\WsrmTraceRecord.cs (5)
66writer.WriteString(this.sequenceNumber.ToString(CultureInfo.InvariantCulture)); 69writer.WriteString(this.isLast.ToString(CultureInfo.InvariantCulture)); 111writer.WriteAttributeString("Lower", this.ranges[i].Lower.ToString(CultureInfo.InvariantCulture)); 112writer.WriteAttributeString("Upper", this.ranges[i].Upper.ToString(CultureInfo.InvariantCulture)); 119writer.WriteString(bufferRemaining.ToString(CultureInfo.InvariantCulture));
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\ChannelHandler.cs (1)
428throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "No DispatchOperationRuntime found to process message.")));
System\ServiceModel\Dispatcher\CodeGenerator.cs (2)
450Ldc(((IConvertible)o).ToInt32(CultureInfo.InvariantCulture)); 1089ilGen.Emit(OpCodes.Ldstr, string.Format(CultureInfo.InvariantCulture, "{0:00000}: {1}", lineNo - 1, line));
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
386DiagnosticUtility.FailFast(string.Format(CultureInfo.InvariantCulture, "ICallContextInitializer.BeforeInvoke threw an exception of type {0}: {1}", e.GetType(), e.Message));
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (4)
92val = local + "^" + local.Length.ToString(CultureInfo.InvariantCulture) + ":" + ns + "^" + ns.Length.ToString(CultureInfo.InvariantCulture); 163builder.Append(s.Length.ToString(CultureInfo.InvariantCulture)); 173builder.Append(len.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Dispatcher\InvokerUtil.cs (1)
260parameterLocals[i] = ilg.DeclareLocal(TypeLoader.GetParameterType(parameters[i]), "param" + i.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Dispatcher\QueryModel.cs (1)
611return val.ToString(CultureInfo.InvariantCulture);
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\Dispatcher\XPathMessageContext.cs (2)
1280string e = string.Format(CultureInfo.InvariantCulture, "/s11:Envelope/s11:Header/*[@s11:actor='{0}'] | /s12:Envelope/s12:Header/*[@s12:role='{1}']", actor, actor); 1701return TimeSpan.Parse(spanStr, CultureInfo.InvariantCulture).TotalDays;
System\ServiceModel\ExceptionDetail.cs (1)
76return string.Format(CultureInfo.InvariantCulture, "{0}\n{1}", SR.GetString(SR.SFxExceptionDetailFormat), this.ToStringHelper(false));
System\ServiceModel\FaultException.cs (1)
255return reason.GetMatchingTranslation(System.Globalization.CultureInfo.CurrentCulture).Text;
System\ServiceModel\FaultReason.cs (3)
33internal FaultReason(string text, CultureInfo cultureInfo) 72return GetMatchingTranslation(CultureInfo.CurrentCulture); 76public FaultReasonText GetMatchingTranslation(CultureInfo cultureInfo)
System\ServiceModel\FaultReasonText.cs (3)
19this.xmlLang = CultureInfo.CurrentCulture.Name; 32public FaultReasonText(string text, CultureInfo cultureInfo) 42public bool Matches(CultureInfo cultureInfo)
System\ServiceModel\MsmqException.cs (4)
175CultureInfo.CurrentCulture.LCID, 190CultureInfo.CurrentCulture.LCID, 203error.ToString(CultureInfo.InvariantCulture), 210error.ToString(CultureInfo.InvariantCulture),
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\EncryptedHeader.cs (1)
89throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.MessageHeaderVersionNotSupported, String.Format(CultureInfo.InvariantCulture, "{0}:{1}", this.Namespace, this.Name), version.ToString()), "version"));
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (2)
597return String.Format( CultureInfo.InvariantCulture, "{0}://NormalizedHostName{1}", listenUri.Scheme, listenUri.AbsolutePath ); 601return String.Format( CultureInfo.InvariantCulture, "{0}://NormalizedHostName:{1}{2}", listenUri.Scheme, listenUri.Port, listenUri.AbsolutePath );
System\ServiceModel\Security\IdentityVerifier.cs (1)
296expectedSpn = string.Format(CultureInfo.InvariantCulture, "host/{0}", (string)identity.IdentityClaim.Resource);
System\ServiceModel\Security\InMemoryNonceCache.cs (1)
41StringWriter writer = new StringWriter(CultureInfo.InvariantCulture);
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
102Fx.Assert(TimeSpan.Parse(defaultClientMaxTokenCachingTimeString, CultureInfo.InvariantCulture) == TimeSpan.MaxValue, "TimeSpan value not correct");
System\ServiceModel\Security\IssuedTokensHeader.cs (1)
56throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(String.Format(CultureInfo.InvariantCulture, "tokenIssuances[{0}]", index));
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (1)
224FaultReason reason = new FaultReason(SR.GetString(SR.InvalidOrUnrecognizedAction, action), System.Globalization.CultureInfo.CurrentCulture);
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (6)
28internal static readonly TimeSpan defaultServerMaxNegotiationLifetime = TimeSpan.Parse(defaultServerMaxNegotiationLifetimeString, CultureInfo.InvariantCulture); 29internal static readonly TimeSpan defaultServerIssuedTokenLifetime = TimeSpan.Parse(defaultServerIssuedTokenLifetimeString, CultureInfo.InvariantCulture); 30internal static readonly TimeSpan defaultServerIssuedTransitionTokenLifetime = TimeSpan.Parse(defaultServerIssuedTransitionTokenLifetimeString, CultureInfo.InvariantCulture); 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\RequestSecurityToken.cs (1)
274throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "value[{0}]", index)));
System\ServiceModel\Security\RequestSecurityTokenResponseCollection.cs (1)
34throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(String.Format(CultureInfo.InvariantCulture, "rstrCollection[{0}]", index));
System\ServiceModel\Security\SecurityHeader.cs (1)
161return string.Format(CultureInfo.InvariantCulture, "{0}(Actor = '{1}')", GetType().Name, this.Actor);
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (1)
249using (StringWriter writer = new StringWriter(CultureInfo.InvariantCulture))
System\ServiceModel\Security\SecurityProtocolFactory.cs (3)
71internal static readonly TimeSpan defaultMaxClockSkew = TimeSpan.Parse(defaultMaxClockSkewString, CultureInfo.InvariantCulture); 72internal static readonly TimeSpan defaultReplayWindow = TimeSpan.Parse(defaultReplayWindowString, CultureInfo.InvariantCulture); 75internal static readonly TimeSpan defaultTimestampValidityDuration = TimeSpan.Parse(defaultTimestampValidityDurationString, CultureInfo.InvariantCulture);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (2)
34internal static readonly TimeSpan defaultKeyRenewalInterval = TimeSpan.Parse(defaultKeyRenewalIntervalString, CultureInfo.InvariantCulture); 35internal static readonly TimeSpan defaultKeyRolloverInterval = TimeSpan.Parse(defaultKeyRolloverIntervalString, CultureInfo.InvariantCulture);
System\ServiceModel\Security\SecuritySessionFilter.cs (2)
20static readonly string SessionContextIdsProperty = String.Format(CultureInfo.InvariantCulture, "{0}/SecuritySessionContextIds", DotNetSecurityStrings.Namespace); 247Fx.Assert(String.Format(CultureInfo.InvariantCulture, "Unknown filter type {0}", filter.GetType()));
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\SecuritySessionServerSettings.cs (5)
35internal static readonly TimeSpan defaultKeyRenewalInterval = TimeSpan.Parse(defaultKeyRenewalIntervalString, CultureInfo.InvariantCulture); 36internal static readonly TimeSpan defaultKeyRolloverInterval = TimeSpan.Parse(defaultKeyRolloverIntervalString, CultureInfo.InvariantCulture); 39internal static readonly TimeSpan defaultInactivityTimeout = TimeSpan.Parse(defaultInactivityTimeoutString, CultureInfo.InvariantCulture); 1877renewFaultReason = new FaultReason(SR.GetString(SR.SecurityRenewFaultReason), System.Globalization.CultureInfo.InvariantCulture); 1879sessionAbortedFaultReason = new FaultReason(SR.GetString(SR.SecuritySessionAbortedFaultReason), System.Globalization.CultureInfo.InvariantCulture);
System\ServiceModel\Security\SecurityTimestamp.cs (9)
146CultureInfo.InvariantCulture, 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 (9)
445identity = EndpointIdentity.CreateSpnIdentity(String.Format(CultureInfo.InvariantCulture, "host/{0}", DnsCache.MachineName)); 745spn = String.Format(CultureInfo.InvariantCulture, "host/{0}", (string)identity.IdentityClaim.Resource); 763return string.Format(CultureInfo.InvariantCulture, "host/{0}", target.Uri.DnsSafeHost); 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); 2421this.val = this.prefix + this.id.ToString(CultureInfo.InvariantCulture);
System\ServiceModel\Security\SpnegoTokenProvider.cs (1)
73String.Format(CultureInfo.InvariantCulture, SR.GetString(SR.SpnegoImpersonationLevelCannotBeSetToNone))));
System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (1)
174StringWriter writer = new StringWriter(CultureInfo.InvariantCulture);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (16)
23static readonly string wsidPPIClaim = String.Format(CultureInfo.InvariantCulture, "{0}/claims/privatepersonalidentifier", wsidNamespace); 920sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "TokenType: {0}", this.tokenType == null ? "null" : this.tokenType)); 921sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyType: {0}", this.keyType.ToString())); 922sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeySize: {0}", this.keySize.ToString(CultureInfo.InvariantCulture))); 923sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerAddress: {0}", this.issuerAddress == null ? "null" : this.issuerAddress.ToString())); 924sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerMetadataAddress: {0}", this.issuerMetadataAddress == null ? "null" : this.issuerMetadataAddress.ToString())); 925sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "DefaultMessgeSecurityVersion: {0}", this.defaultMessageSecurityVersion == null ? "null" : this.defaultMessageSecurityVersion.ToString())); 926sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "UseStrTransform: {0}", this.useStrTransform.ToString())); 930sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerBinding: null")); 934sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerBinding:")); 938sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " BindingElement[{0}]:", i.ToString(CultureInfo.InvariantCulture))); 945sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ClaimTypeRequirements: none")); 949sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ClaimTypeRequirements:")); 952sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " {0}, optional={1}", this.claimTypeRequirements[i].ClaimType, this.claimTypeRequirements[i].IsOptional));
System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (3)
212sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.requireCancellation.ToString())); 215sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "BootstrapSecurityBindingElement: null")); 219sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "BootstrapSecurityBindingElement:"));
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
235return String.Format(CultureInfo.CurrentCulture, "SecurityContextSecurityToken(Identifier='{0}', KeyGeneration='{1}')", this.contextId, this.keyGeneration);
System\ServiceModel\Security\Tokens\SecurityTokenParameters.cs (4)
197sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 198sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "InclusionMode: {0}", this.inclusionMode.ToString())); 199sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ReferenceStyle: {0}", this.referenceStyle.ToString())); 200sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireDerivedKeys: {0}", this.requireDerivedKeys.ToString()));
System\ServiceModel\Security\Tokens\ServiceModelSecurityTokenRequirement.cs (4)
236sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 240sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "PropertyName: {0}", propertyName)); 241sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "PropertyValue: {0}", propertyValue)); 242sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "---"));
System\ServiceModel\Security\Tokens\SslSecurityTokenParameters.cs (2)
132sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.RequireCancellation.ToString())); 133sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireClientCertificate: {0}", this.RequireClientCertificate.ToString()));
System\ServiceModel\Security\Tokens\SspiSecurityTokenParameters.cs (1)
112sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.RequireCancellation.ToString()));
System\ServiceModel\Security\Tokens\SupportingTokenParameters.cs (8)
121sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "Endorsing[{0}]", k.ToString(CultureInfo.InvariantCulture))); 130sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "Signed[{0}]", k.ToString(CultureInfo.InvariantCulture))); 139sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SignedEncrypted[{0}]", k.ToString(CultureInfo.InvariantCulture))); 148sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SignedEndorsing[{0}]", k.ToString(CultureInfo.InvariantCulture)));
System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (1)
146sb.Append(String.Format(CultureInfo.InvariantCulture, "X509ReferenceStyle: {0}", this.x509ReferenceStyle.ToString()));
System\ServiceModel\Security\UserNamePasswordServiceCredential.cs (1)
21internal static readonly TimeSpan DefaultCachedLogonTokenLifetime = TimeSpan.Parse(DefaultCachedLogonTokenLifetimeString, CultureInfo.InvariantCulture);
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2975return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}{1}{2}",
System\ServiceModel\Security\WSTrust.cs (3)
1202writer.WriteString(effectiveTime.ToString("yyyy-MM-ddTHH:mm:ss.fffZ", CultureInfo.InvariantCulture.DateTimeFormat)); 1206writer.WriteString(expirationTime.ToString("yyyy-MM-ddTHH:mm:ss.fffZ", CultureInfo.InvariantCulture.DateTimeFormat)); 1298result.AppendChild(doc.CreateTextNode(keySize.ToString(System.Globalization.CultureInfo.InvariantCulture.NumberFormat)));
System\ServiceModel\ServiceBehaviorAttribute.cs (1)
247TimeSpan timeout = TimeSpan.Parse(value, CultureInfo.InvariantCulture);
System\ServiceModel\ServiceHost.cs (1)
650buffer.Append(CultureInfo.CurrentCulture.TextInfo.ListSeparator).Append(address.Scheme);
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (6)
501writer.WriteAttributeString(Atom10Constants.LengthTag, Convert.ToString(link.Length, CultureInfo.InvariantCulture)); 647return dateTime.ToUniversalTime().ToString(Rfc3339UTCDateTimeFormat, CultureInfo.InvariantCulture); 651return dateTime.ToString(Rfc3339LocalDateTimeFormat, CultureInfo.InvariantCulture); 676CultureInfo.InvariantCulture.DateTimeFormat, 683CultureInfo.InvariantCulture.DateTimeFormat, 1042length = Convert.ToInt64(lengthStr, CultureInfo.InvariantCulture.NumberFormat);
System\ServiceModel\Syndication\FeedUtils.cs (1)
20error = String.Format(CultureInfo.InvariantCulture, "{0} {1}", SR.GetString(SR.ErrorInLine, lineInfo.LineNumber, lineInfo.LinePosition), SR.GetString(error));
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (5)
320CultureInfo.InvariantCulture.DateTimeFormat, 467return dateTime.ToUniversalTime().ToString(Rfc822OutputUtcDateTimeFormat, CultureInfo.InvariantCulture); 471StringBuilder sb = new StringBuilder(dateTime.ToString(Rfc822OutputLocalDateTimeFormat, CultureInfo.InvariantCulture)); 791link.Length = !string.IsNullOrEmpty(val) ? Convert.ToInt64(val, CultureInfo.InvariantCulture.NumberFormat) : 0; 1448writer.WriteAttributeString(Rss20Constants.LengthTag, Rss20Constants.Rss20Namespace, Convert.ToString(link.Length, CultureInfo.InvariantCulture));
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\TimeSpanHelper.cs (4)
15Fx.Assert(value == TimeSpan.Parse(text, CultureInfo.InvariantCulture), ""); 21Fx.Assert(value == TimeSpan.Parse(text, CultureInfo.InvariantCulture), ""); 27Fx.Assert(value == TimeSpan.Parse(text, CultureInfo.InvariantCulture), ""); 33Fx.Assert(value == TimeSpan.Parse(text, CultureInfo.InvariantCulture), "");
System\ServiceModel\WSAddressing10ProblemHeaderQNameFault.cs (2)
43this.reason = new FaultReason(e.Message, CultureInfo.CurrentCulture); 53this.reason = new FaultReason(e.Message, CultureInfo.CurrentCulture);
System\ServiceModel\XamlIntegration\XPathMessageContextTypeConverter.cs (2)
34public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 44public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\UriTemplate.cs (2)
623string originalHostHeader = uri.Host + ((!uri.IsDefaultPort) ? ":" + uri.Port.ToString(CultureInfo.InvariantCulture) : string.Empty); 626Uri sourceUri = new Uri(String.Format(CultureInfo.InvariantCulture, "{0}://{1}", uri.Scheme, host));
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.ServiceModel.Activation (33)
System\ServiceModel\Activation\Diagnostics\TraceUtility.cs (3)
40string.Format(CultureInfo.InvariantCulture, "Unsupported trace code: Please add trace code 0x{0} to the dictionary TraceUtility.traceCodes in {1}", 41traceCode.ToString("X", CultureInfo.InvariantCulture), typeof(TraceUtility))); 48return source.GetType().ToString() + "/" + source.GetHashCode().ToString(CultureInfo.CurrentCulture);
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (3)
198return string.Format(CultureInfo.InvariantCulture, "{0}{1}|{2}", ServiceHostingEnvironment.SiteName, servicePath, serviceName); 203HostedAspNetEnvironment.cachedServiceReference = string.Format(CultureInfo.InvariantCulture, "{0}{1}", ServiceHostingEnvironment.SiteName, ServiceHostingEnvironment.ApplicationVirtualPath); 526completePath = string.Format(CultureInfo.InvariantCulture, "{0}/{1}", virtualPath, fileName);
System\ServiceModel\Activation\HostedHttpContext.cs (1)
536this.result.AppendHeader("content-length", contentLength.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (3)
646Fx.Assert(currentStreamedReadState == StreamedReadState.ReceiveStarted, string.Format(CultureInfo.InvariantCulture, "currentStramedReadState is not ReceivedStarted: {0}", currentStreamedReadState)); 652Fx.Assert(this.streamedReadState == StreamedReadState.ReceiveFinishedAfterAbortStarted, string.Format(CultureInfo.InvariantCulture, "currentStramedReadState is not ReceiveFinished: {0}", this.streamedReadState)); 681Fx.Assert(this.streamedReadState == StreamedReadState.Aborted, string.Format(CultureInfo.InvariantCulture, "currentStramedReadState is not Aborted: {0}", this.streamedReadState));
System\ServiceModel\Activation\HostedHttpTransportManager.cs (7)
86string localAddress = string.Format(CultureInfo.InvariantCulture, 88string remoteAddress = string.Format(CultureInfo.InvariantCulture, 158new StringTraceRecord("IsRecycling", ServiceHostingEnvironment.IsRecycling.ToString(CultureInfo.CurrentCulture)), 230CultureInfo cultureInfo; 231CultureInfo uiCultureInfo; 236this.cultureInfo = CultureInfo.CurrentCulture; 237this.uiCultureInfo = CultureInfo.CurrentUICulture;
System\ServiceModel\Activation\MetabaseSettings.cs (1)
167string binding = string.Format(CultureInfo.InvariantCulture, ":{0}:{1}", result.OriginalRequestUri.Port.ToString(NumberFormatInfo.InvariantInfo), MetabaseSettings.LocalMachine);
System\ServiceModel\Activation\ServiceParser.cs (1)
855ret = int.Parse(value, CultureInfo.InvariantCulture);
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\Activities\Activation\WorkflowServiceHostFactory.cs (5)
82string serviceNamespace = String.Format(CultureInfo.InvariantCulture, "/{0}{1}", ServiceHostingEnvironment.SiteName, VirtualPathUtility.GetDirectory(ServiceHostingEnvironment.FullVirtualPath)); 126String.Format(CultureInfo.InvariantCulture, "/{0}{1}", ServiceHostingEnvironment.SiteName, VirtualPathUtility.GetDirectory(ServiceHostingEnvironment.FullVirtualPath)))); 229string activityName = Path.GetFileNameWithoutExtension(filePath).ToUpper(CultureInfo.InvariantCulture); 248string virtualFileFolder = string.Format(CultureInfo.InvariantCulture, "~\\{0}", Path.Combine(SupportedVersionsFolder, xamlFileName)); 273string virtualFile = string.Format(CultureInfo.InvariantCulture, "~\\{0}", path);
System\ServiceModel\ServiceHostingEnvironment.cs (4)
327ServiceHostingEnvironment.serviceActivationElementPath = string.Format(CultureInfo.CurrentCulture, "{0}/{1}", 669string value = string.Format(CultureInfo.CurrentCulture, "{0}|{1}|{2}", normalizedRelativeAddress, element.Factory, element.Service); 939string hostReference = string.Format(CultureInfo.InvariantCulture, "{0}{1}|{2}", ServiceHostingEnvironment.SiteName, servicePath, host.Description.Name); 1230normalizedVirtualPath = String.Format(CultureInfo.CurrentCulture, "{0}{1}", pathSegment, fileName);
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.ServiceModel.Activities (36)
System\ServiceModel\Activities\BookmarkNameHelper.cs (1)
16return string.Format(CultureInfo.InvariantCulture, "{0}|{1}", operationName, serviceContractName);
System\ServiceModel\Activities\ChannelCacheDefaults.cs (4)
15internal static TimeSpan DefaultIdleTimeout = TimeSpan.Parse(DefaultIdleTimeoutString, CultureInfo.InvariantCulture); 18internal static int DefaultMaxItemsPerCache = Int32.Parse(DefaultMaxItemsPerCacheString, CultureInfo.CurrentCulture); 21internal static TimeSpan DefaultLeaseTimeout = TimeSpan.Parse(DefaultLeaseTimeoutString, CultureInfo.InvariantCulture); 27internal static TimeSpan DefaultChannelLeaseTimeout = TimeSpan.Parse(DefaultChannelLeaseTimeoutString, CultureInfo.InvariantCulture);
System\ServiceModel\Activities\Configuration\ChannelSettingsElement.cs (4)
56properties.Add(new ConfigurationProperty(ConfigurationStrings.IdleTimeout, typeof(System.TimeSpan), ChannelCacheDefaults.DefaultIdleTimeout, new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 57properties.Add(new ConfigurationProperty(ConfigurationStrings.LeaseTimeout, typeof(System.TimeSpan), ChannelCacheDefaults.DefaultFactoryLeaseTimeoutString, new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Activities\Configuration\ConfigurationStrings.cs (1)
12return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName);
System\ServiceModel\Activities\Configuration\FactorySettingsElement.cs (4)
56properties.Add(new ConfigurationProperty(ConfigurationStrings.IdleTimeout, typeof(System.TimeSpan), ChannelCacheDefaults.DefaultIdleTimeout, new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 57properties.Add(new ConfigurationProperty(ConfigurationStrings.LeaseTimeout, typeof(System.TimeSpan), ChannelCacheDefaults.DefaultChannelLeaseTimeoutString, new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Activities\Configuration\WorkflowIdleElement.cs (1)
62properties.Add(new ConfigurationProperty(TimeToUnloadString, typeof(TimeSpan), TimeSpan.Parse(WorkflowIdleBehavior.defaultTimeToUnloadString, CultureInfo.InvariantCulture), new TimeSpanOrInfiniteConverter(), new TimeSpanOrInfiniteValidator(TimeSpan.Zero, TimeSpan.MaxValue), ConfigurationPropertyOptions.None));
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (2)
23static string xPathForCookie = string.Format(CultureInfo.InvariantCulture, defaultQueryFormat, cookieCorrelationName); 316Expression = string.Format(CultureInfo.InvariantCulture, defaultQueryFormat, data.Name),
System\ServiceModel\Activities\Description\EtwTrackingBehavior.cs (1)
52hostReference = string.Format(CultureInfo.InvariantCulture, "{0}{1}|{2}", virtualPathExtension.SiteName, servicePath, name);
System\ServiceModel\Activities\Description\SqlWorkflowInstanceStoreBehavior.cs (2)
22static TimeSpan defaultHostRenewalPeriod = TimeSpan.Parse(defaultHostRenewalString, CultureInfo.InvariantCulture); 24static TimeSpan defaultRunnableInstancesDetectionPeriod = TimeSpan.Parse(defaultRunnableInstancesDetectionPeriodString, CultureInfo.InvariantCulture);
System\ServiceModel\Activities\Description\WorkflowIdleBehavior.cs (1)
19internal static TimeSpan defaultTimeToUnload = TimeSpan.Parse(defaultTimeToUnloadString, CultureInfo.InvariantCulture);
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\Tracking\Configuration\TrackingConfigurationElement.cs (1)
22return String.Format(CultureInfo.InvariantCulture, "{0}-{1}{2}",
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (2)
111defaultBaseUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/workflowControlServiceEndpoint/{0}/{1}", 117Uri tempUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/workflowControlServiceEndpoint/{0}",
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (1)
88new FaultReason(new FaultReasonText(SR.InternalServerError, CultureInfo.CurrentCulture)));
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
687string.Format(CultureInfo.InvariantCulture, "/{0}{1}", this.Description.Name, virtualDirectoryPath));
System\ServiceModel\CorrelationActionMessageFilter.cs (1)
83return string.Format(CultureInfo.InvariantCulture, "Action: {0}", this.Action);
System\ServiceModel\XamlIntegration\EndpointIdentityConverter.cs (1)
27public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\ServiceModel\XamlIntegration\ServiceXNameTypeConverter.cs (2)
19public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 38public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.ServiceModel.Channels (15)
System\ServiceModel\Channels\UdpChannelBase.cs (1)
282messageIdString = string.Format(CultureInfo.CurrentCulture, "'{0}' ", message.Headers.MessageId.ToString());
System\ServiceModel\Channels\UdpConstants.cs (3)
48public static readonly TimeSpan DelayLowerBoundTimeSpan = TimeSpan.Parse(DelayLowerBound, CultureInfo.InvariantCulture); 49public static readonly TimeSpan DelayUpperBoundTimeSpan = TimeSpan.Parse(DelayUpperBound, CultureInfo.InvariantCulture); 50public static readonly TimeSpan MaxDelayPerRetransmissionTimeSpan = TimeSpan.Parse(MaxDelayPerRetransmission, CultureInfo.InvariantCulture);
System\ServiceModel\Configuration\Properties.cs (9)
123properties.Add(new ConfigurationProperty("delayLowerBound", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00.050", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 124properties.Add(new ConfigurationProperty("delayUpperBound", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00.250", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None)); 125properties.Add(new ConfigurationProperty("maxDelayPerRetransmission", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00.500", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.ServiceModel.Discovery (16)
System\ServiceModel\Discovery\Configuration\AnnouncementChannelEndpointElementCollection.cs (1)
30return string.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Discovery\Configuration\DiscoveryVersionConverter.cs (2)
33public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 45public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
737CultureInfo.InvariantCulture,
System\ServiceModel\Discovery\DiscoveryDefaults.cs (2)
13public static readonly TimeSpan DiscoveryOperationDuration = TimeSpan.Parse(DiscoveryOperationDurationString, CultureInfo.InvariantCulture); 26public static readonly TimeSpan AppMaxDelay = TimeSpan.Parse(AppMaxDelayString, CultureInfo.InvariantCulture);
System\ServiceModel\Discovery\DiscoveryMessageSequence.cs (3)
113CultureInfo.InvariantCulture, "{0}:{1}:{2}", 186this.InstanceId.ToString(CultureInfo.InvariantCulture)); 197this.MessageNumber.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Discovery\DiscoveryService.cs (1)
264CultureInfo.InvariantCulture,
System\ServiceModel\Discovery\FindCriteria.cs (2)
379this.maxResults.ToString(CultureInfo.InvariantCulture)); 413return new Uri(string.Format(CultureInfo.InvariantCulture, "urn:{0}", contractTypeName.ToString()));
System\ServiceModel\Discovery\SerializationUtility.cs (2)
146listOfQNamesString.AppendFormat(CultureInfo.InvariantCulture, "{0}:{1}", prefix, encodedLocalName); 150listOfQNamesString.AppendFormat(CultureInfo.InvariantCulture, "{0}", encodedLocalName);
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.ServiceModel.Internals (20)
System\Runtime\Diagnostics\DiagnosticEventProvider.cs (1)
84throw new InvalidOperationException(InternalSR.EtwRegistrationFailed(etwRegistrationStatus.ToString("x", CultureInfo.CurrentCulture)));
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (2)
349return String.Format(CultureInfo.CurrentCulture, "{0}/{1}", source.GetType().ToString(), source.GetHashCode()); 361xml.WriteElementString(DiagnosticStrings.NativeErrorCodeTag, win32Exception.NativeErrorCode.ToString("X", CultureInfo.InvariantCulture));
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (9)
335using (StringWriter stringWriter = new StringWriter(sb, CultureInfo.CurrentCulture)) 410msdnTraceCode = eventDescriptor.EventId.ToString(CultureInfo.InvariantCulture); 419return string.Format(CultureInfo.InvariantCulture, 476using (StringWriter stringWriter = new StringWriter(sb, CultureInfo.CurrentCulture)) 620DiagnosticTraceBase.ProcessName, DiagnosticTraceBase.ProcessId.ToString(CultureInfo.CurrentCulture)); 725using (StringWriter stringWriter = new StringWriter(sb, CultureInfo.CurrentCulture)) 771win32Exception.NativeErrorCode.ToString("X", CultureInfo.InvariantCulture))); 817using (StringWriter stringWriter = new StringWriter(sb, CultureInfo.CurrentCulture)) 846using (StringWriter stringWriter = new StringWriter(sb, CultureInfo.CurrentCulture))
System\Runtime\Diagnostics\EventLogger.cs (4)
108string invariantProcessId = UnsafeGetProcessId().ToString(CultureInfo.InvariantCulture); 175eventValues["CategoryID.Value"] = eventLogCategory.ToString(CultureInfo.InvariantCulture); 177eventValues["InstanceID.Value"] = eventId.ToString(CultureInfo.InvariantCulture); 180eventValues.Add("Value" + i.ToString(CultureInfo.InvariantCulture), values[i] == null ? string.Empty : DiagnosticTraceBase.XmlEncode(values[i]));
System\Runtime\Interop\SafeEventLogWriteHandle.cs (1)
33error.ToString(CultureInfo.InvariantCulture));
System\Runtime\NameGenerator.cs (1)
26return nameGenerator.prefix + nextId.ToString(CultureInfo.InvariantCulture);
TraceCore.Designer.cs (2)
21static System.Globalization.CultureInfo resourceCulture; 49internal static System.Globalization.CultureInfo Culture
System.ServiceModel.Routing (3)
System\ServiceModel\Routing\MessageRpc.cs (1)
124this.uniqueID = this.GetHashCode().ToString(CultureInfo.InvariantCulture);
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.ServiceModel.Web (38)
SR.cs (4)
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 })); 89internal static string GetString(CultureInfo culture, string name, params object[] args)
System\ServiceModel\Channels\JavascriptXmlWriterWrapper.cs (2)
96byte[] buffer = this.encoding.GetBytes(String.Format(CultureInfo.InvariantCulture, ",{0}", (int)this.JavascriptResponseMessageProperty.StatusCode)); 155byte[] buffer = this.encoding.GetBytes(String.Format(CultureInfo.InvariantCulture, "{0}(", this.JavascriptResponseMessageProperty.CallbackFunctionName));
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (2)
329byte[] buffer = this.writeEncoding.GetBytes(String.Format(CultureInfo.InvariantCulture, "{0}(", javascriptResponseMessageProperty.CallbackFunctionName)); 342byte[] buffer = this.writeEncoding.GetBytes(String.Format(CultureInfo.InvariantCulture, ",{0}", (int)javascriptResponseMessageProperty.StatusCode));
System\ServiceModel\Channels\WebBodyFormatMessageProperty.cs (1)
72return String.Format(CultureInfo.InvariantCulture, SR2.GetString(SR2.WebBodyFormatPropertyToString, this.Format.ToString()));
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (1)
40return string.Format(CultureInfo.InvariantCulture, "{0}; charset={1}", mediaType, charset);
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\ServiceModel\Dispatcher\HelpExampleGenerator.cs (7)
248value = String.Format(CultureInfo.InvariantCulture, "{0}:{1}", prefix, contentElement.QualifiedName.Name); 357DateTime dateTime = DateTime.Parse("1999-05-31T11:20:00", CultureInfo.InvariantCulture); 358return dateTime.ToString("s", CultureInfo.InvariantCulture); 401context.writer.WriteString(String.Format(CultureInfo.InvariantCulture, "{0}:#{1}", derivedType.Name, derivedType.Namespace)); 507DateTime dateTime = DateTime.Parse("1999-05-31T11:20:00", CultureInfo.InvariantCulture); 525context.writer.WriteString((hours < 10) ? "0" + hours : hours.ToString(CultureInfo.InvariantCulture)); 527context.writer.WriteString((minutes < 10) ? "0" + minutes : minutes.ToString(CultureInfo.InvariantCulture));
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (1)
80new XAttribute(HtmlHrefAttributeName, String.Format(CultureInfo.InvariantCulture, HelpOperationPageUrl, operationHelpInfo.Name)), operationHelpInfo.Method)),
System\ServiceModel\Dispatcher\QueryStringConverter.cs (4)
111return parameter == null ? default(Boolean) : Convert.ToBoolean(parameter, CultureInfo.InvariantCulture); 115return parameter == null ? default(DateTime) : DateTime.Parse(parameter, CultureInfo.InvariantCulture, DateTimeStyles.RoundtripKind); 134return (parameter == null) ? default(DateTimeOffset) : DateTimeOffset.Parse(parameter, CultureInfo.InvariantCulture, DateTimeStyles.RoundtripKind | DateTimeStyles.AllowWhiteSpaces); 236return (parameter != null) ? Convert.ToString(parameter, CultureInfo.InvariantCulture) : null;
System\ServiceModel\Web\HttpDateParse.cs (1)
87return (Char.ToUpper(c, CultureInfo.InvariantCulture));
System\ServiceModel\Web\IncomingWebRequestContext.cs (2)
45get { return long.Parse(this.EnsureMessageProperty().Headers[HttpRequestHeader.ContentLength], CultureInfo.InvariantCulture); } 431if (decimal.TryParse(contentType.Parameters[key], numberStyles, CultureInfo.InvariantCulture, out result) &&
System\ServiceModel\Web\IncomingWebResponseContext.cs (1)
25{ get { return long.Parse(EnsureMessageProperty().Headers[HttpResponseHeader.ContentLength], CultureInfo.InvariantCulture); } }
System\ServiceModel\Web\OutgoingWebRequestContext.cs (2)
31get { return long.Parse(this.MessageProperty.Headers[HttpRequestHeader.ContentLength], CultureInfo.InvariantCulture); } 32set { this.MessageProperty.Headers[HttpRequestHeader.ContentLength] = value.ToString(CultureInfo.InvariantCulture); }
System\ServiceModel\Web\OutgoingWebResponseContext.cs (6)
34get { return long.Parse(this.MessageProperty.Headers[HttpResponseHeader.ContentLength], CultureInfo.InvariantCulture); } 35set { this.MessageProperty.Headers[HttpResponseHeader.ContentLength] = value.ToString(CultureInfo.InvariantCulture); } 63if (DateTime.TryParse(dateTime, CultureInfo.InvariantCulture, DateTimeStyles.None, out parsedDateTime)) 74value.ToString("R", CultureInfo.InvariantCulture) : 75value.ToUniversalTime().ToString("R", CultureInfo.InvariantCulture)); 316return string.Format(CultureInfo.InvariantCulture, "\"{0}\"", entityTag.ToString());
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.Transactions (42)
System\Transactions\Configuration\ConfigurationStrings.cs (1)
26return string.Format(CultureInfo.InvariantCulture, "{0}/{1}",
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\DistributedTransactionPermission.cs (1)
156this.unrestricted = Convert.ToBoolean(element, CultureInfo.InvariantCulture);
System\Transactions\Enlistment.cs (1)
296Convert.ToString(Interlocked.Increment(ref InternalTransaction.nextHash), CultureInfo.InvariantCulture),
System\Transactions\InternalTransaction.cs (2)
259InstanceIdentifier + Convert.ToString( this.transactionHash, CultureInfo.InvariantCulture ), 296throw new TransactionPromotionException(string.Format(CultureInfo.CurrentCulture,
System\Transactions\Oletx\DTCTransactionManager.cs (1)
167returnTimeout = ( Convert.ToUInt32( timeout.TotalMilliseconds, CultureInfo.CurrentCulture ) );
System\Transactions\Oletx\OletxResourceManager.cs (1)
499Convert.ToUInt32( oletxRecoveryInformation.proxyRecoveryInformation.Length, CultureInfo.InvariantCulture ),
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 (8)
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); 700xml.WriteElementString(DiagnosticStrings.NativeErrorCodeTag, win32Exception.NativeErrorCode.ToString("X", CultureInfo.InvariantCulture));
System\Transactions\Trace\TraceRecords.cs (3)
73writer.WriteElementString("CloneIdentifier", cloneId.ToString( CultureInfo.CurrentCulture )); 84writer.WriteElementString("EnlistmentIdentifier", enId.EnlistmentIdentifier.ToString( CultureInfo.CurrentCulture ) ); 1095sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "{0}: {1}", key, this.dictionary[key].ToString()));
System\Transactions\Trace\TraceXPathNavigator.cs (1)
464XmlTextWriter writer = new XmlTextWriter(new StringWriter(sb, CultureInfo.CurrentCulture));
System\Transactions\TransactionManager.cs (1)
552streamToWrite.Read( returnValue, 0, Convert.ToInt32( streamToWrite.Length, CultureInfo.InvariantCulture ) );
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 (999)
Abstractions\HttpContextBase.cs (2)
263public virtual object GetGlobalResourceObject(string classKey, string resourceKey, CultureInfo culture) { 271public virtual object GetLocalResourceObject(string virtualPath, string resourceKey, CultureInfo culture) {
Abstractions\HttpContextWrapper.cs (2)
272public override object GetGlobalResourceObject(string classKey, string resourceKey, CultureInfo culture) { 282public override object GetLocalResourceObject(string virtualPath, string resourceKey, CultureInfo culture) {
Administration\WebAdminConfigurationHelper.cs (1)
87returnObject = tempType.InvokeMember(propertyName, allBindingFlags, null, null, null, System.Globalization.CultureInfo.InvariantCulture);
Cache\CacheDependency.cs (3)
748sb.Append(fad.FileSize.ToString(CultureInfo.InvariantCulture)); 787sb.Append(oneEntry.GetHashCode().ToString(CultureInfo.InvariantCulture)); 798sb.Append(entry.GetHashCode().ToString(CultureInfo.InvariantCulture));
Cache\SqlCacheDependency.cs (4)
128_uniqueID = Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture); 137_uniqueID = _sql7DepInfo._database + ":" + _sql7DepInfo._table + ":" + _sql7ChangeId.ToString(CultureInfo.InvariantCulture); 1507sqlCmd.CommandText = String.Format(CultureInfo.InvariantCulture, 1520sqlCmd.CommandText = String.Format(CultureInfo.InvariantCulture,
Cache\SRef.cs (2)
27CultureInfo.InvariantCulture); 39CultureInfo.InvariantCulture);
CachedPathData.cs (2)
169Debug.Assert(configPath == configPath.ToLower(CultureInfo.InvariantCulture), "configPath == configPath.ToLower(CultureInfo.InvariantCulture)"); 495Debug.Assert(configPath == configPath.ToLower(CultureInfo.InvariantCulture), "configPath == configPath.ToLower(CultureInfo.InvariantCulture)");
Compilation\AssemblyBuilder.cs (6)
864if (CultureInfo.InvariantCulture.CompareInfo.IndexOf(compilParams.CompilerOptions, "/warnaserror", CompareOptions.IgnoreCase) >= 0) 996fileNames = String.Format(CultureInfo.InstalledUICulture, SR.Resources.GetString(SR.Etw_Batch_Compilation, CultureInfo.InstalledUICulture), new object[1] {_buildProviders.Count}); 1001status = SR.Resources.GetString(SR.Etw_Failure, CultureInfo.InstalledUICulture); 1003status = SR.Resources.GetString(SR.Etw_Success, CultureInfo.InstalledUICulture); 1136int classOffset = CultureInfo.InvariantCulture.CompareInfo.IndexOf(codeFileContent,
Compilation\BaseCodeDomTreeGenerator.cs (1)
791StringWriter w = new StringWriter(sb, CultureInfo.InvariantCulture);
Compilation\BaseResourcesBuildProvider.cs (1)
108resourceFileName = resourceFileName.ToLower(CultureInfo.InvariantCulture);
Compilation\BaseTemplateCodeDomTreeGenerator.cs (4)
629string localVariableRef = _localVariableRef + (localVarIndex++).ToString(CultureInfo.InvariantCulture); 677ctrlBuilder.ControlType.GetHashCode().ToString(CultureInfo.InvariantCulture))); 800localVariableRef = _localVariableRef + (localVarIndex++).ToString(CultureInfo.InvariantCulture); 1507TextWriter w = new StringWriter(CultureInfo.InvariantCulture);
Compilation\BuildManager.cs (3)
544t.InvokeMember("RestoreSnapshot", BindingFlags.Static | BindingFlags.Public | BindingFlags.InvokeMethod, null, t, args, CultureInfo.InvariantCulture); 1251string s = Convert.ToBase64String(data).ToLower(CultureInfo.InvariantCulture); 2272return name + "." + StringUtil.GetStringHashCode(dir).ToString("x", CultureInfo.InvariantCulture);
Compilation\BuildManagerHost.cs (1)
380StringWriter sw = new StringWriter(CultureInfo.InvariantCulture);
Compilation\BuildResult.cs (3)
269Flags = Int32.Parse(s, NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture); 279pfw.SetAttribute("flags", Flags.ToString("x", CultureInfo.InvariantCulture)); 1181masterPage.ContentPlaceHolders.Add(placeHolderID.ToLower(CultureInfo.InvariantCulture));
Compilation\BuildResultCache.cs (4)
727Int64.TryParse(hashTokens[0], NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture, out value1) && 728Int64.TryParse(hashTokens[1], NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture, out value2)) { 759writer.Write(hash.Item1.ToString("x", CultureInfo.InvariantCulture)); 761writer.Write(hash.Item2.ToString("x", CultureInfo.InvariantCulture));
Compilation\CodeDOMUtility.cs (3)
183if (valueType.GetMethod("Parse", new Type[] {typeof(string), typeof(CultureInfo)}) != null) { 198methCall.Parameters.Add(new CodePropertyReferenceExpression(BuildGlobalCodeTypeReferenceExpression(typeof(CultureInfo)), "InvariantCulture")); 309BuildGlobalCodeTypeReferenceExpression(typeof(CultureInfo)), "CurrentCulture"));
Compilation\CompilationLock.cs (2)
172int hashCode = StringUtil.GetNonRandomizedHashCode("CompilationLock" + HttpRuntime.AppDomainAppId.ToLower(CultureInfo.InvariantCulture)); 176"CL" + hashCode.ToString("x", CultureInfo.InvariantCulture),
Compilation\DelayLoadType.cs (1)
152public override object InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters) {
Compilation\IImplicitResourceProvider.cs (2)
29object GetObject(ImplicitResourceKey key, CultureInfo culture); 104public virtual object GetObject(ImplicitResourceKey entry, CultureInfo culture) {
Compilation\IResourceProvider.cs (4)
30object GetObject(string resourceKey, CultureInfo culture); 47public virtual object GetObject(string resourceKey, CultureInfo culture) { 57culture = CultureInfo.CurrentUICulture; 155resourceFileName = resourceFileName.ToLower(CultureInfo.InvariantCulture);
Compilation\MasterPageCodeDomTreeGenerator.cs (1)
35stmt.Expression = new CodeMethodInvokeExpression(propertyExpr, "Add", new CodePrimitiveExpression(placeHolderID.ToLower(CultureInfo.InvariantCulture)));
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (2)
46Util.MakeValidTypeNameFromString(outputAssemblyName).ToLower(CultureInfo.InvariantCulture); 201shortAssemblyName = shortAssemblyName.ToLower(CultureInfo.InvariantCulture);
Compilation\PreservationFileReader.cs (2)
80resultTypeCodeString, CultureInfo.InvariantCulture); 99savedHash = Int64.Parse(hashString, NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture);
Compilation\PreservationFileWriter.cs (2)
49SetAttribute("resultType", ((int)result.GetCode()).ToString(CultureInfo.InvariantCulture)); 62SetAttribute("hash", hash.ToString("x", CultureInfo.InvariantCulture));
Compilation\ResourceExpressionBuilder.cs (4)
69o = resourceProvider.GetObject(fields.ResourceKey, CultureInfo.InvariantCulture); 160string resourceKey, Type objType, string propName, CultureInfo culture) { 168string resourceKey, CultureInfo culture) { 174string resourceKey, CultureInfo culture, Type objType, string propName) {
Compilation\WebReferencesBuildProvider.cs (1)
98extension = extension.ToLower(CultureInfo.InvariantCulture);
Configuration\AuthorizationRule.cs (6)
121role = role.ToLower(CultureInfo.InvariantCulture); 129user = user.ToLower(CultureInfo.InvariantCulture); 225_ElementName = value.ToString().ToLower(CultureInfo.InvariantCulture); 356machineName = HttpServerUtility.GetMachineNameInternal().ToLower(CultureInfo.InvariantCulture); 384throw new ConfigurationErrorsException(SR.GetString(SR.Auth_rule_names_cant_contain_char, User[foundIndex].ToString(CultureInfo.InvariantCulture))); 404throw new ConfigurationErrorsException(SR.GetString(SR.Auth_rule_names_cant_contain_char, Role[foundIndex].ToString(CultureInfo.InvariantCulture)));
Configuration\AuthorizationRuleCollection.cs (2)
57switch (elementName.ToLower(CultureInfo.InvariantCulture)) { 90switch (elementname.ToLower(CultureInfo.InvariantCulture)) {
Configuration\BrowserDefinition.cs (2)
50s = s.ToLower(CultureInfo.InvariantCulture); 59sb.Append(s.Substring(0, 1).ToUpper(CultureInfo.InvariantCulture));
Configuration\BufferModeSettings.cs (4)
218elem.UrgentFlushThreshold.ToString(CultureInfo.InvariantCulture), 220elem.MaxBufferSize.ToString(CultureInfo.InvariantCulture), 228elem.MaxFlushSize.ToString(CultureInfo.InvariantCulture), 230elem.MaxBufferSize.ToString(CultureInfo.InvariantCulture),
Configuration\BuildProvider.cs (1)
73return HashCodeCombiner.CombineHashCodes(StringUtil.GetNonRandomizedHashCode(Extension.ToLower(CultureInfo.InvariantCulture)),
Configuration\CustomErrorCollection.cs (5)
45stringKeys[x] = ((Int32)objAllKeys[x]).ToString(CultureInfo.InvariantCulture); 53return (CustomError)BaseGet((object)Int32.Parse(statusCode, CultureInfo.InvariantCulture)); 104return (CustomError)BaseGet((object)Int32.Parse(statusCode, CultureInfo.InvariantCulture)); 109return key.ToString(CultureInfo.InvariantCulture); 113BaseRemove((object)Int32.Parse(statusCode, CultureInfo.InvariantCulture));
Configuration\CustomErrorsSection.cs (1)
151CustomError ce = Errors[(string)code.ToString(CultureInfo.InvariantCulture)];
Configuration\ExpressServerConfig.cs (1)
303siteID = id.ToString(CultureInfo.InvariantCulture);
Configuration\FolderLevelBuildProvider.cs (1)
64return HashCodeCombiner.CombineHashCodes(StringUtil.GetNonRandomizedHashCode(Name.ToLower(CultureInfo.InvariantCulture)),
Configuration\FormsAuthenticationUser.cs (1)
121Name = name.ToLower(CultureInfo.InvariantCulture);
Configuration\GlobalizationSection.cs (1)
251CultureInfo dummyCultureInfo = new CultureInfo(configCulture.Substring(5));
Configuration\HandlerBase.cs (1)
116val = int.Parse(a.Value, CultureInfo.InvariantCulture);
Configuration\HttpCapabilitiesBase.cs (42)
465_majorversion = int.Parse(this["majorversion"], CultureInfo.InvariantCulture); 837_gatewayMajorVersion = Convert.ToInt32(this["gatewayMajorVersion"], CultureInfo.InvariantCulture); 929screenPixelsWidthToUse = Convert.ToInt32(this["screenPixelsWidth"], CultureInfo.InvariantCulture); 930characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 933screenPixelsWidthToUse = Convert.ToInt32(this["screenPixelsWidth"], CultureInfo.InvariantCulture); 934characterWidthToUse = Convert.ToInt32(this["defaultCharacterWidth"], CultureInfo.InvariantCulture); 937screenPixelsWidthToUse = Convert.ToInt32(this["defaultScreenPixelsWidth"], CultureInfo.InvariantCulture); 938characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 941screenPixelsWidthToUse = Convert.ToInt32(this["defaultScreenCharactersWidth"], CultureInfo.InvariantCulture); 948_screenCharactersWidth = Convert.ToInt32(this["screenCharactersWidth"], CultureInfo.InvariantCulture); 967screenPixelHeightToUse = Convert.ToInt32(this["screenPixelsHeight"], CultureInfo.InvariantCulture); 968characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 971screenPixelHeightToUse = Convert.ToInt32(this["screenPixelsHeight"], CultureInfo.InvariantCulture); 972characterHeightToUse = Convert.ToInt32(this["defaultCharacterHeight"], CultureInfo.InvariantCulture); 975screenPixelHeightToUse = Convert.ToInt32(this["defaultScreenPixelsHeight"], CultureInfo.InvariantCulture); 976characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 979screenPixelHeightToUse = Convert.ToInt32(this["defaultScreenCharactersHeight"], CultureInfo.InvariantCulture); 986_screenCharactersHeight = Convert.ToInt32(this["screenCharactersHeight"], CultureInfo.InvariantCulture); 1005screenCharactersWidthToUse = Convert.ToInt32(this["screenCharactersWidth"], CultureInfo.InvariantCulture); 1006characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 1009screenCharactersWidthToUse = Convert.ToInt32(this["screenCharactersWidth"], CultureInfo.InvariantCulture); 1010characterWidthToUse = Convert.ToInt32(this["defaultCharacterWidth"], CultureInfo.InvariantCulture); 1013screenCharactersWidthToUse = Convert.ToInt32(this["defaultScreenCharactersWidth"], CultureInfo.InvariantCulture); 1014characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 1017screenCharactersWidthToUse = Convert.ToInt32(this["defaultScreenPixelsWidth"], CultureInfo.InvariantCulture); 1024_screenPixelsWidth = Convert.ToInt32(this["screenPixelsWidth"], CultureInfo.InvariantCulture); 1041screenCharactersHeightToUse = Convert.ToInt32(this["screenCharactersHeight"], CultureInfo.InvariantCulture); 1042characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 1045screenCharactersHeightToUse = Convert.ToInt32(this["screenCharactersHeight"], CultureInfo.InvariantCulture); 1046characterHeightToUse = Convert.ToInt32(this["defaultCharacterHeight"], CultureInfo.InvariantCulture); 1049screenCharactersHeightToUse = Convert.ToInt32(this["defaultScreenCharactersHeight"], CultureInfo.InvariantCulture); 1050characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 1053screenCharactersHeightToUse = Convert.ToInt32(this["defaultScreenPixelsHeight"], CultureInfo.InvariantCulture); 1060_screenPixelsHeight = Convert.ToInt32(this["screenPixelsHeight"], CultureInfo.InvariantCulture); 1072_screenBitDepth = Convert.ToInt32(this["screenBitDepth"], CultureInfo.InvariantCulture); 1088_isColor = Convert.ToBoolean(this["isColor"], CultureInfo.InvariantCulture); 1111_numberOfSoftkeys = Convert.ToInt32(this["numberOfSoftkeys"], CultureInfo.InvariantCulture); 1122_maximumSoftkeyLabelLength = Convert.ToInt32(this["maximumSoftkeyLabelLength"], CultureInfo.InvariantCulture); 1630_maximumRenderedPageSize = Convert.ToInt32(this["maximumRenderedPageSize"], CultureInfo.InvariantCulture); 1711_defaultSubmitButtonLimit = s != null ? Convert.ToInt32(this["defaultSubmitButtonLimit"], CultureInfo.InvariantCulture) : 1; 1741_maximumHrefLength = Convert.ToInt32(this["maximumHrefLength"], CultureInfo.InvariantCulture); 1774_browsers.Add(browserName.ToLower(CultureInfo.InvariantCulture));
Configuration\HttpCapabilitiesEvaluator.cs (2)
113_cacheKeyPrefix = CacheInternal.PrefixHttpCapabilities + id.ToString(CultureInfo.InvariantCulture); 236hashKey += builder.ToString().GetHashCode().ToString(CultureInfo.InvariantCulture);
Configuration\HttpConfigurationSystem.cs (1)
25using CultureInfo = System.Globalization.CultureInfo;
Configuration\LowerCaseStringConverter.cs (4)
99public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 104return ((string)value).ToLower(CultureInfo.InvariantCulture); 106public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) { 110return ((string)data).ToLower(CultureInfo.InvariantCulture);
Configuration\MachineKeySection.cs (1)
362throw new ConfigurationErrorsException(SR.GetString(SR.Unable_to_get_cookie_authentication_validation_key, strKey.Length.ToString(CultureInfo.InvariantCulture)), ElementInformation.Properties["validationKey"].Source, ElementInformation.Properties["validationKey"].LineNumber);
Configuration\MachineKeyValidationConverter.cs (2)
25public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type) { 32public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data)
Configuration\ProcessHostConfigUtils.cs (1)
102throw new InvalidOperationException(SR.GetString(SR.Cant_Init_Native_Config, result.ToString("X8", CultureInfo.InvariantCulture)));
Configuration\ProcessHostMapPath.cs (1)
144siteID = id.ToString(CultureInfo.InvariantCulture);
Configuration\RemoteWebConfigurationHostServer.cs (2)
266return buf[1].ToString("X", CultureInfo.InvariantCulture) + buf[0].ToString("X", CultureInfo.InvariantCulture);
Configuration\VersionConverter.cs (2)
15public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 19public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
Configuration\WebConfigurationHost.cs (1)
392string virtualPath = vpath.VirtualPathStringNoTrailingSlash.ToLower(CultureInfo.InvariantCulture);
DataAccess\DataConnectionHelper.cs (1)
222string adaptiveText = currentNumber.ToString(CultureInfo.InvariantCulture) + " " + resourceString;
DataAccess\SqlConnectionHelper.cs (4)
136string strUpper = str.ToUpper(CultureInfo.InvariantCulture).Trim(); 216fullFileName = fullFileName.ToUpper(CultureInfo.InvariantCulture); 223databaseName = strippedFileName.Substring(0, 30) + "_" + Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture); 225databaseName = strippedFileName + "_" + Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture);
DynamicModuleRegistry.cs (2)
25string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.DynamicModuleRegistry_TypeIsNotIHttpModule), moduleType); 49return String.Format(CultureInfo.InvariantCulture, _moduleNameFormat, moduleType.AssemblyQualifiedName, Guid.NewGuid());
ErrorFormatter.cs (11)
248StringWriter stringWriter = new StringWriter(CultureInfo.CurrentCulture); 310errorContent.Append(String.Format(CultureInfo.CurrentCulture, errorBeginTemplate, errorHeader, ErrorTitle)); 456sb.Append(String.Format(CultureInfo.InvariantCulture, startExpandableBlock, "additionalConfigurationErrors", 744return CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft; 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); 1931sb.Append(String.Format(CultureInfo.InvariantCulture, startExpandableBlock, "additionalConfigErrorInfo",
Handlers\AssemblyResourceLoader.cs (6)
119return String.Format(CultureInfo.InvariantCulture, _webResourceUrl + "?d={0}&amp;t={1}", 124return String.Format(CultureInfo.InvariantCulture, _webResourceUrl + "?d={0}&t={1}", 258return String.Format(CultureInfo.InvariantCulture, 441builder.Append(token[i].ToString("x2", CultureInfo.InvariantCulture)); 560realName.CultureInfo = CultureInfo.InvariantCulture; 567tokenBytes[i] = Byte.Parse(token.Substring(i * 2, 2), NumberStyles.HexNumber, CultureInfo.InvariantCulture);
Handlers\TraceHandler.cs (2)
140int index = Int32.Parse(strid, CultureInfo.InvariantCulture); 498return (o is double) ? ((double)o).ToString("F6", CultureInfo.CurrentCulture) : o.ToString();
Hosting\AppDomainFactory.cs (1)
210return virtPath.Substring(1).ToLower(CultureInfo.InvariantCulture).Replace('/', '_');
Hosting\ApplicationManager.cs (6)
215return appId.GetHashCode().ToString("x", CultureInfo.InvariantCulture); 592siteId = Int32.Parse(appHost.GetSiteID(), CultureInfo.InvariantCulture); 895String appName = (StringUtil.GetStringHashCode(String.Concat(appId.ToLower(CultureInfo.InvariantCulture), 896physicalPath.ToLower(CultureInfo.InvariantCulture)))).ToString("x", CultureInfo.InvariantCulture); 1345publicKey[i] = Byte.Parse(publicKeyString.Substring(i * 2, 2), System.Globalization.NumberStyles.HexNumber, CultureInfo.InvariantCulture);
Hosting\HostingEnvironment.cs (10)
978_siteID = s.ToLower(CultureInfo.InvariantCulture); 997return "MapPath_" + virtualPath.VirtualPathString.ToLowerInvariant().GetHashCode().ToString(CultureInfo.InvariantCulture); 1780CultureInfo culture = null; 1781CultureInfo uiCulture = null; 1807CultureInfo _savedCulture; 1808CultureInfo _savedUICulture; 1817internal void SetCultures(CultureInfo culture, CultureInfo uiCulture) { 1818CultureInfo currentCulture = Thread.CurrentThread.CurrentCulture; 1819CultureInfo currentUICulture = Thread.CurrentThread.CurrentUICulture;
Hosting\IIS7WorkerRequest.cs (5)
730return(_contentTotalLength).ToString(CultureInfo.InvariantCulture); 828contentLength.ToString(CultureInfo.InvariantCulture)); 1414numBodyFragments.ToString(CultureInfo.InvariantCulture) + " fragments\n"); 1978throw new HttpException(SR.GetString(SR.Server_Support_Function_Error, result.ToString("X8", CultureInfo.InvariantCulture)), Marshal.GetExceptionForHR(result)); 1984throw new HttpException(SR.GetString(SR.Server_Support_Function_Error_Disconnect, result.ToString("X8", CultureInfo.InvariantCulture)), result);
Hosting\IPipelineRuntime.cs (1)
328new StringWriter(CultureInfo.InvariantCulture));
Hosting\ISAPIWorkerRequest.cs (2)
1334_headers.Append(contentLength.ToString(CultureInfo.InvariantCulture)); 2447throw new HttpException(SR.GetString(message, rc.ToString("X8", CultureInfo.InvariantCulture)), rc);
HttpApplication.cs (11)
145private CultureInfo _appLevelCulture; 146private CultureInfo _appLevelUICulture; 147private CultureInfo _savedAppLevelCulture; 148private CultureInfo _savedAppLevelUICulture; 2023CultureInfo culture = null; 2024CultureInfo uiculture = null; 2025CultureInfo browserCulture = null; 2061CultureInfo currentCulture = Thread.CurrentThread.CurrentCulture; 2062CultureInfo currentUICulture = Thread.CurrentThread.CurrentUICulture; 2867throw new HttpException(SR.GetString(SR.Cant_Read_Native_Modules, result.ToString("X8", CultureInfo.InvariantCulture))); 2877throw new HttpException(SR.GetString(SR.Cant_Read_Native_Modules, result.ToString("X8", CultureInfo.InvariantCulture)));
HttpCachePolicy.cs (5)
745sb.Append(utcFileLastModifiedMax.Ticks.ToString(CultureInfo.InvariantCulture)); 872AppendValueToHeader(sb, "max-age=" + ((long)_maxAge.TotalSeconds).ToString(CultureInfo.InvariantCulture)); 876AppendValueToHeader(sb, "s-maxage=" + ((long)(_proxyMaxAge).TotalSeconds).ToString(CultureInfo.InvariantCulture)); 1019AppendValueToHeader(sb, "max-age=" + ((long)maxAge.TotalSeconds).ToString(CultureInfo.InvariantCulture)); 1029AppendValueToHeader(sb, "s-maxage=" + ((long)(proxyMaxAge).TotalSeconds).ToString(CultureInfo.InvariantCulture));
HttpClientCertificate.cs (9)
132_Flags = Int32.Parse(flags, CultureInfo.InvariantCulture); 158_KeySize = Int32.Parse(keySize, CultureInfo.InvariantCulture); 160_SecretKeySize = Int32.Parse(skeySize, CultureInfo.InvariantCulture); 190field = field.ToLower(CultureInfo.InvariantCulture); 197return Flags.ToString("G", CultureInfo.InvariantCulture); 200return KeySize.ToString("G", CultureInfo.InvariantCulture); 203return SecretKeySize.ToString(CultureInfo.InvariantCulture); 230return CertEncoding.ToString("G", CultureInfo.InvariantCulture); 282String strAllL = strAll.ToLower(CultureInfo.InvariantCulture);
HttpContext.cs (7)
89private CultureInfo _dynamicCulture; 91private CultureInfo _dynamicUICulture; 1591internal CultureInfo DynamicCulture { 1596internal CultureInfo DynamicUICulture { 1605public static object GetGlobalResourceObject(string classKey, string resourceKey, CultureInfo culture) { 1613public static object GetLocalResourceObject(string virtualPath, string resourceKey, CultureInfo culture) { 2260internal CultureInfo CultureFromConfig(string configString, bool requireSpecific) {
HttpCookie.cs (2)
524public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 534public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
HttpDebugHandler.cs (1)
243context.Response.Write(SR.GetString(SR.Error_Attaching_with_MDM, "0x" + rc.ToString("X8", CultureInfo.InvariantCulture)));
HttpException.cs (1)
379string message = String.Format(CultureInfo.CurrentCulture, compileErrorFormat,
HttpHeaderCollection.cs (2)
149serverVars.SynchronizeServerVariable("HTTP_" + name.ToUpper(CultureInfo.InvariantCulture).Replace('-', '_'), svValue, ensurePopulated: false); 197serverVars.SynchronizeServerVariable("HTTP_" + name.ToUpper(CultureInfo.InvariantCulture).Replace('-', '_'), null, ensurePopulated: false);
HttpRequest.cs (5)
452return("HTTP_" + header.ToUpper(CultureInfo.InvariantCulture).Replace('-', '_')); 842i = CultureInfo.InvariantCulture.CompareInfo.IndexOf(headerValue, attrName, i, CompareOptions.IgnoreCase); 907if (UserAgent != null && CultureInfo.InvariantCulture.CompareInfo.IsPrefix(UserAgent, "UP")) { 1288_contentLength = Int32.Parse(s, CultureInfo.InvariantCulture); 3147string svName = "HTTP_" + name.ToUpper(CultureInfo.InvariantCulture).Replace('-', '_');
HttpResponse.cs (2)
1163CultureInfo uiculture = null, savedUiculture = null; 3044code = Int32.Parse(value.Substring(0, i), CultureInfo.InvariantCulture);
HttpRuntime.cs (6)
626CultureInfo savedCulture = Thread.CurrentThread.CurrentCulture; 627CultureInfo savedUICulture = Thread.CurrentThread.CurrentUICulture; 705internal static void SetCurrentThreadCultureWithAssert(CultureInfo cultureInfo) { 1060throw new ConfigurationErrorsException(SR.GetString(SR.Thread_pool_limit_must_be_greater_than_minFreeThreads, runtimeConfig.MinFreeThreads.ToString(CultureInfo.InvariantCulture)), 1065throw new ConfigurationErrorsException(SR.GetString(SR.Thread_pool_limit_must_be_greater_than_minFreeThreads, runtimeConfig.MinFreeThreads.ToString(CultureInfo.InvariantCulture)), 1071throw new ConfigurationErrorsException(SR.GetString(SR.Min_free_threads_must_be_under_thread_pool_limits, maxThreads.ToString(CultureInfo.InvariantCulture)),
httpserverutility.cs (13)
165internal static CultureInfo CreateReadOnlyCultureInfo(string name) { 170_cultureCache[name] = CultureInfo.ReadOnly(new CultureInfo(name)); 174return (CultureInfo)_cultureCache[name]; 178internal static CultureInfo CreateReadOnlySpecificCultureInfo(string name) { 182CultureInfo ci = CultureInfo.CreateSpecificCulture(name); 187_cultureCache[ci.Name] = CultureInfo.ReadOnly(ci); 191return (CultureInfo)_cultureCache[ci.Name]; 195internal static CultureInfo CreateReadOnlyCultureInfo(int culture) { 200_cultureCache[culture] = CultureInfo.ReadOnly(new CultureInfo(culture)); 204return (CultureInfo)_cultureCache[culture]; 1122return HtmlEncode(Convert.ToString(value, CultureInfo.CurrentCulture)); 1548return Double.TryParse(value, flags, CultureInfo.InvariantCulture, out doubleValue);
IisTraceListener.cs (2)
128TraceEvent(eventCache, source, severity, id, String.Format(CultureInfo.InvariantCulture, format, args)); 165sb.Append(eventCache.DateTime.ToString("o", CultureInfo.InvariantCulture));
Management\EventlogProvider.cs (18)
46dataFields.Add(eventRaised.EventCode.ToString(CultureInfo.InstalledUICulture)); 50dataFields.Add(eventRaised.EventID.ToString("N", CultureInfo.InstalledUICulture)); 51dataFields.Add(eventRaised.EventSequence.ToString(CultureInfo.InstalledUICulture)); 52dataFields.Add(eventRaised.EventOccurrence.ToString(CultureInfo.InstalledUICulture)); 53dataFields.Add(eventRaised.EventDetailCode.ToString(CultureInfo.InstalledUICulture)); 72dataFields.Add(processEventInfo.ProcessID.ToString(CultureInfo.InstalledUICulture)); 106dataFields.Add(procStats.ProcessStartTime.ToString(CultureInfo.InstalledUICulture)); 107dataFields.Add(procStats.ThreadCount.ToString(CultureInfo.InstalledUICulture)); 108dataFields.Add(procStats.WorkingSet.ToString(CultureInfo.InstalledUICulture)); 109dataFields.Add(procStats.PeakWorkingSet.ToString(CultureInfo.InstalledUICulture)); 110dataFields.Add(procStats.ManagedHeapSize.ToString(CultureInfo.InstalledUICulture)); 111dataFields.Add(procStats.AppDomainCount.ToString(CultureInfo.InstalledUICulture)); 112dataFields.Add(procStats.RequestsExecuting.ToString(CultureInfo.InstalledUICulture)); 113dataFields.Add(procStats.RequestsQueued.ToString(CultureInfo.InstalledUICulture)); 114dataFields.Add(procStats.RequestsRejected.ToString(CultureInfo.InstalledUICulture)); 162dataFields.Add(threadInfo.ThreadID.ToString(CultureInfo.InstalledUICulture)); 164dataFields.Add(threadInfo.IsImpersonating.ToString(CultureInfo.InstalledUICulture)); 252throw new HttpException(SR.GetString(SR.Event_log_provider_error, "0x" + hr.ToString("X8", CultureInfo.InstalledUICulture)));
Management\MailWebEventProvider.cs (5)
92notificationSequence.ToString(CultureInfo.InstalledUICulture), 93messageSequence.ToString(CultureInfo.InstalledUICulture), 102notificationSequence.ToString(CultureInfo.InstalledUICulture), 103messageSequence.ToString(CultureInfo.InstalledUICulture), 105count.ToString(CultureInfo.InstalledUICulture),
Management\SimpleMailWebEventProvider.cs (9)
84MessageIdDiscard.ToString(CultureInfo.InstalledUICulture), 85discardedSinceLastFlush.ToString(CultureInfo.InstalledUICulture), 86lastFlush.ToString("r", CultureInfo.InstalledUICulture))); 100MessageIdEventsToDrop.ToString(CultureInfo.InstalledUICulture), 101eventsToDrop.ToString(CultureInfo.InstalledUICulture))); 133firstEvent.ToString(CultureInfo.InstalledUICulture), 134lastEvent.ToString(CultureInfo.InstalledUICulture), 135eventsInNotif.ToString(CultureInfo.InstalledUICulture), 136eventsInBuffer.ToString(CultureInfo.InstalledUICulture)));
Management\SqlServices.cs (1)
474file, sqlExpt.Number.ToString(CultureInfo.CurrentCulture), sqlExpt.Message),
Management\SqlWebEventProvider.cs (4)
78throw new ConfigurationErrorsException(SR.GetString(SR.Invalid_max_event_details_length, name, _maxEventDetailsLength.ToString(CultureInfo.CurrentCulture))); 127sqlCommand.Parameters[n++].Value = eventRaised.EventID.ToString("N", CultureInfo.InstalledUICulture); // @EventId 204eventsDiscardedByBuffer.ToString(CultureInfo.InstalledUICulture), 205lastNotificationUtc.ToString("r", CultureInfo.InstalledUICulture)),
Management\TemplatedMailWebEventProvider.cs (6)
110StringWriter writer = new StringWriter(CultureInfo.InstalledUICulture); 136notificationSequence.ToString(CultureInfo.InstalledUICulture), 137messageSequence.ToString(CultureInfo.InstalledUICulture), 345_eventsRemaining.ToString(CultureInfo.InstalledUICulture)); 401_eventsRemaining.ToString(CultureInfo.InstalledUICulture)); 405_eventsRemaining.ToString(CultureInfo.InstalledUICulture));
Management\webeventbuffer.cs (1)
590return t.ToString("T", DateTimeFormatInfo.InvariantInfo) + "." + t.Millisecond.ToString("d03", CultureInfo.InvariantCulture);
Management\WebEventCodes.cs (1)
356Debug.Assert(false, "ASP.NET event code " + eventCode.ToString(CultureInfo.InvariantCulture) + " doesn't have message string mapped to it");
Management\WebEvents.cs (32)
241formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_code, EventCode.ToString(CultureInfo.InstalledUICulture))); 243formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_time, EventTime.ToString(CultureInfo.InstalledUICulture))); 244formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_time_Utc, EventTimeUtc.ToString(CultureInfo.InstalledUICulture))); 245formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_id, EventID.ToString("N", CultureInfo.InstalledUICulture))); 246formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_sequence, EventSequence.ToString(CultureInfo.InstalledUICulture))); 247formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_occurrence, EventOccurrence.ToString(CultureInfo.InstalledUICulture))); 248formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_detail_code, EventDetailCode.ToString(CultureInfo.InstalledUICulture))); 331fields.Add(new WebEventFieldData("EventCode", EventCode.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Int)); 332fields.Add(new WebEventFieldData("EventDetailCode", EventDetailCode.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Int)); 333fields.Add(new WebEventFieldData("SequenceNumber", EventSequence.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Long)); 334fields.Add(new WebEventFieldData("Occurrence", EventOccurrence.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Long)); 481eventRaised.EventCode.ToString(CultureInfo.CurrentCulture), 482WebEventCodes.WebExtendedBase.ToString(CultureInfo.CurrentCulture))); 535eventRaised.EventCode.ToString(CultureInfo.InstalledUICulture), 536eventRaised.EventDetailCode.ToString(CultureInfo.InstalledUICulture), 900return SR.Resources.GetString(key, CultureInfo.InstalledUICulture); 913s = SR.Resources.GetString(key, CultureInfo.InstalledUICulture); 1114fields.Add(new WebEventFieldData("ProcessID", ProcessInformation.ProcessID.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Int)); 1354formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_inner_exception_information, level.ToString(CultureInfo.InstalledUICulture))); 1462fields.Add(new WebEventFieldData("ThreadID", ThreadInformation.ThreadID.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Int)); 1561fields.Add(new WebEventFieldData("ThreadID", ThreadInformation.ThreadID.ToString(CultureInfo.InstalledUICulture), WebEventFieldType.Int)); 1860formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_process_id, ProcessID.ToString(CultureInfo.InstalledUICulture))); 2123formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_process_start_time, ProcessStartTime.ToString(CultureInfo.InstalledUICulture))); 2124formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_thread_count, ThreadCount.ToString(CultureInfo.InstalledUICulture))); 2125formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_working_set, WorkingSet.ToString(CultureInfo.InstalledUICulture))); 2126formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_peak_working_set, PeakWorkingSet.ToString(CultureInfo.InstalledUICulture))); 2127formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_managed_heap_size, ManagedHeapSize.ToString(CultureInfo.InstalledUICulture))); 2129formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_application_domain_count, AppDomainCount.ToString(CultureInfo.InstalledUICulture))); 2130formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_requests_executing, RequestsExecuting.ToString(CultureInfo.InstalledUICulture))); 2131formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_request_queued, RequestsQueued.ToString(CultureInfo.InstalledUICulture))); 2132formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_request_rejected, RequestsRejected.ToString(CultureInfo.InstalledUICulture))); 2168formatter.AppendLine(WebBaseEvent.FormatResourceStringWithCache(SR.Webevent_event_thread_id, ThreadID.ToString(CultureInfo.InstalledUICulture)));
Management\wmiprovider.cs (9)
34SR.GetString(SR.Wmi_provider_cant_initialize, "0x" + hr.ToString("X8", CultureInfo.CurrentCulture))); 51sb.Append(dt.ToString("yyyyMMddHHmmss.ffffff", CultureInfo.InstalledUICulture)); 73wmiData.sequenceNumber = eventRaised.EventSequence.ToString(CultureInfo.InstalledUICulture); 74wmiData.occurrence = eventRaised.EventOccurrence.ToString(CultureInfo.InstalledUICulture); 75wmiData.eventId = eventRaised.EventID.ToString("N", CultureInfo.InstalledUICulture); 186wmiData.workingSet = procStats.WorkingSet.ToString(CultureInfo.InstalledUICulture); 187wmiData.peakWorkingSet = procStats.PeakWorkingSet.ToString(CultureInfo.InstalledUICulture); 188wmiData.managedHeapSize = procStats.ManagedHeapSize.ToString(CultureInfo.InstalledUICulture); 234throw new HttpException(SR.GetString(SR.Wmi_provider_error, "0x" + hr.ToString("X8", CultureInfo.InstalledUICulture)));
ModelBinding\AssociatedMetadataProvider.cs (1)
53CultureInfo.CurrentCulture,
ModelBinding\AssociatedValidatorProvider.cs (1)
36CultureInfo.CurrentCulture,
ModelBinding\CollectionModelBinder`1.cs (1)
71internal static List<TElement> BindSimpleCollection(ModelBindingExecutionContext modelBindingExecutionContext, ModelBindingContext bindingContext, object rawValue, CultureInfo culture) {
ModelBinding\CollectionModelBinderUtil.cs (1)
66yield return i.ToString(CultureInfo.InvariantCulture);
ModelBinding\CookieValueProvider.cs (3)
10private readonly CultureInfo _culture; 21: this(modelBindingExecutionContext.HttpContext.Request.Cookies, unvalidatedValues.Cookies, CultureInfo.CurrentCulture) { 24internal CookieValueProvider(HttpCookieCollection collection, HttpCookieCollection unvalidatedCollection, CultureInfo culture) {
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\DictionaryValueProvider`1.cs (2)
11public DictionaryValueProvider(IDictionary<string, TValue> dictionary, CultureInfo culture) { 20private void AddValues(IDictionary<string, TValue> dictionary, CultureInfo culture) {
ModelBinding\ElementalValueProvider.cs (2)
8public ElementalValueProvider(string name, object rawValue, CultureInfo culture) { 14public CultureInfo Culture {
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 (2)
46string errorMessage = String.Format(CultureInfo.CurrentCulture, errorMessageTemplate, incomingValue, displayName); 63? modelBindingExecutionContext.HttpContext.GetGlobalResourceObject(resourceClassKey, resourceName, CultureInfo.CurrentUICulture) as string
ModelBinding\ModelBinderProviderCollection.cs (1)
126string errorMessage = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ModelBinderProviderCollection_InvalidBinderType),
ModelBinding\ModelBinderUtil.cs (1)
14return CreateIndexModelName(parentName, index.ToString(CultureInfo.InvariantCulture));
ModelBinding\ModelMetadata.cs (2)
387string toStringResult = Convert.ToString(Model, CultureInfo.CurrentCulture); 405return Convert.ToString(firstProperty.Model, CultureInfo.CurrentCulture);
ModelBinding\NameValueCollectionValueProvider.cs (3)
11private readonly CultureInfo _culture; 17public NameValueCollectionValueProvider(NameValueCollection collection, CultureInfo culture) 21public NameValueCollectionValueProvider(NameValueCollection collection, NameValueCollection unvalidatedCollection, CultureInfo culture) {
ModelBinding\QueryStringValueProvider.cs (1)
14: base(modelBindingExecutionContext.HttpContext.Request.QueryString, unvalidatedValues.QueryString, CultureInfo.InvariantCulture) {
ModelBinding\RouteDataValueProvider.cs (1)
10base(GetRouteValues(modelBindingExecutionContext), CultureInfo.InvariantCulture) {
ModelBinding\SessionAttribute.cs (1)
41return new DictionaryValueProvider<object>(backingStore, CultureInfo.InvariantCulture);
ModelBinding\SimpleValueProvider.cs (3)
11private CultureInfo _cultureInfo; 19: this(modelBindingExecutionContext, CultureInfo.CurrentCulture) { 22protected SimpleValueProvider(ModelBindingExecutionContext modelBindingExecutionContext, CultureInfo cultureInfo) {
ModelBinding\ValidatableObjectAdapter.cs (1)
26CultureInfo.CurrentCulture,
ModelBinding\ValueProviderResult.cs (11)
10private static readonly CultureInfo _staticCulture = CultureInfo.InvariantCulture; 11private CultureInfo _instanceCulture; 17public ValueProviderResult(object rawValue, string attemptedValue, CultureInfo culture) { 28public CultureInfo Culture { 45private static object ConvertSimpleType(CultureInfo culture, object value, Type destinationType) { 73string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ValueProviderResult_NoConverterExists), 85string message = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.ValueProviderResult_ConversionThrew), 95public virtual object ConvertTo(Type type, CultureInfo culture) { 100CultureInfo cultureToUse = culture ?? Culture; 104private static object UnwrapPossibleArrayType(CultureInfo culture, object value, Type destinationType) {
MultipartContentParser.cs (3)
145int i1 = CultureInfo.InvariantCulture.CompareInfo.IndexOf(l, pattern, pos, CompareOptions.IgnoreCase); 148i1 = CultureInfo.InvariantCulture.CompareInfo.IndexOf(l, pattern, pos, CompareOptions.IgnoreCase); 151i1 = CultureInfo.InvariantCulture.CompareInfo.IndexOf(l, pattern, pos, CompareOptions.IgnoreCase);
OutputCacheModule.cs (7)
152sb.Append(CultureInfo.InvariantCulture.TextInfo.ToLower(path)); 209a[i] = CultureInfo.InvariantCulture.TextInfo.ToLower(a[i]); 446if (Double.TryParse(s, NumberStyles.Float & ~NumberStyles.AllowLeadingSign & ~NumberStyles.AllowExponent, CultureInfo.InvariantCulture, out d)) { 758maxage = Convert.ToInt32(directive.Substring(8), CultureInfo.InvariantCulture); 778minfresh = Convert.ToInt32(directive.Substring(10), CultureInfo.InvariantCulture); 1204varyByHeaders[i] = "HTTP_" + CultureInfo.InvariantCulture.TextInfo.ToUpper( 1217varyByParams[i] = CultureInfo.InvariantCulture.TextInfo.ToLower(varyByParams[i]);
parent\DataAnnotations\DataAnnotations\LocalizableString.cs (1)
133string exceptionMessage = String.Format(CultureInfo.CurrentCulture,
parent\parent\parent\misc\InvariantComparer.cs (1)
12m_compareInfo = CultureInfo.InvariantCulture.CompareInfo;
PipelineModuleStepContainer.cs (1)
77"GetStepArray: " + notification.ToString() + " mapped to index " + index.ToString(CultureInfo.InvariantCulture) + "\r\n");
Profile\HttpProfileBase.cs (2)
335t = ResolvePropertyTypeForCommonTypes(pps.Type.ToLower(System.Globalization.CultureInfo.InvariantCulture)); 614Type t = ResolvePropertyTypeForCommonTypes(typeName.ToLower(System.Globalization.CultureInfo.InvariantCulture));
Profile\ProfileModule.cs (4)
166int startPos = Int32.Parse(names[iter * 4 + 2], CultureInfo.InvariantCulture); 167int length = Int32.Parse(names[iter * 4 + 3], CultureInfo.InvariantCulture); 260":" + startPos.ToString(CultureInfo.InvariantCulture) + ":" + len.ToString(CultureInfo.InvariantCulture) + ":");
Routing\HttpMethodConstraint.cs (1)
64throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture,
Routing\ParsedRoute.cs (4)
246pendingParts.Append(UrlEncode(Convert.ToString(acceptedParameterValue, CultureInfo.InvariantCulture))); 259url.Append(UrlEncode(Convert.ToString(acceptedParameterValue, CultureInfo.InvariantCulture))); 323url.Append(Uri.EscapeDataString(Convert.ToString(value, CultureInfo.InvariantCulture))); 335return "%" + Convert.ToUInt16(m.Value[0]).ToString("x2", CultureInfo.InvariantCulture);
Routing\Route.cs (2)
161CultureInfo.CurrentUICulture, 169string parameterValueString = Convert.ToString(parameterValue, CultureInfo.InvariantCulture);
Routing\RouteCollection.cs (4)
73CultureInfo.CurrentUICulture, 282CultureInfo.CurrentUICulture, 328CultureInfo.CurrentCulture, 361CultureInfo.CurrentCulture,
Routing\RouteData.cs (1)
57CultureInfo.CurrentUICulture,
Routing\RouteParser.cs (8)
106CultureInfo.CurrentUICulture, 123CultureInfo.CurrentUICulture, 135CultureInfo.CurrentUICulture, 223CultureInfo.CurrentCulture, 276CultureInfo.CurrentCulture, 301CultureInfo.CurrentUICulture, 311CultureInfo.CurrentUICulture, 330CultureInfo.CurrentCulture,
Routing\UrlRoutingHandler.cs (1)
53CultureInfo.CurrentUICulture,
Routing\UrlRoutingModule.cs (2)
70CultureInfo.CurrentCulture, 89CultureInfo.CurrentUICulture,
Security\ADMembershipProvider.cs (5)
1210MinRequiredPasswordLength.ToString(CultureInfo.InvariantCulture))); 1227MinRequiredNonAlphanumericCharacters.ToString(CultureInfo.InvariantCulture))); 1633throw new ArgumentException(SR.GetString(SR.Parameter_too_long, "Comment", maxCommentLength.ToString(CultureInfo.InvariantCulture)), "Comment"); 2600throw new ArgumentException(SR.GetString(SR.Parameter_too_long, paramName, maxSize.ToString(CultureInfo.InvariantCulture)), paramName); 4404errorMsg = SR.GetString(SR.ADMembership_Unknown_Error, string.Format(CultureInfo.InvariantCulture, "{0}", errorCode));
Security\AnonymousIdentificationModule.cs (1)
228context.Request.AnonymousID = Guid.NewGuid().ToString("D", CultureInfo.InvariantCulture);
Security\AntiXss\SafeList.cs (7)
97return StringToCharArrayWithHashPrefix(value.ToString(CultureInfo.InvariantCulture)); 114return StringToCharArrayWithHashPrefix(value.ToString("x2", CultureInfo.InvariantCulture)); 131return StringToCharArrayWithPercentPrefix(value.ToString("X2", CultureInfo.InvariantCulture)); 148return StringToCharArrayWithSlashPrefix(value.ToString("x2", CultureInfo.InvariantCulture)); 165return StringToCharArrayWithSlashPrefix(value.ToString("X6", CultureInfo.InvariantCulture)); 182return StringToCharArrayWithSlashPrefix(value.ToString("X6", CultureInfo.InvariantCulture)); 199return StringToCharArrayWithHashPrefix(value.ToString(CultureInfo.InvariantCulture));
Security\AuthStoreRoleProvider.cs (3)
498null, objectToCallOn, args, CultureInfo.InvariantCulture); 517null, objectToCallOn, args, CultureInfo.InvariantCulture); 541if (_ConnectionString.ToLower(CultureInfo.InvariantCulture).StartsWith("msxml://", StringComparison.Ordinal)) {
Security\FormsAuthentication.cs (1)
339FormsAuthenticationUser u = Users[name.ToLower(CultureInfo.InvariantCulture)];
Security\MembershipPasswordAttribute.cs (1)
307return String.Format(CultureInfo.CurrentCulture, errorMessageString, name, additionalArgument);
Security\PassportIdentity.cs (4)
178_Name = Int32.Parse(this["MemberIDHigh"], CultureInfo.InvariantCulture).ToString("X8", CultureInfo.InvariantCulture) + 179Int32.Parse(this["MemberIDLow"], CultureInfo.InvariantCulture).ToString("X8", CultureInfo.InvariantCulture);
Security\RolePrincipal.cs (1)
207s_type.InvokeMember("AddDynamicRoleClaims", BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Static, null, null, new object[] { claimsIdentity, claimProvider.Claims }, CultureInfo.InvariantCulture);
Security\Roles.cs (1)
116string status = SR.Resources.GetString(isUserInRole ? SR.Etw_Success : SR.Etw_Failure, CultureInfo.InstalledUICulture);
Security\SQLMembershipProvider.cs (6)
272encodedPasswordAnswer = EncodePassword(passwordAnswer.ToLower(CultureInfo.InvariantCulture), (int)_PasswordFormat, salt); 452encodedPasswordAnswer = EncodePassword(newPasswordAnswer.ToLower(CultureInfo.InvariantCulture), (int)passwordFormat, salt); 564MinRequiredPasswordLength.ToString(CultureInfo.InvariantCulture))); 581MinRequiredNonAlphanumericCharacters.ToString(CultureInfo.InvariantCulture))); 711encodedPasswordAnswer = EncodePassword(passwordAnswer.ToLower(CultureInfo.InvariantCulture), passwordFormat, salt); 1801return EncodePassword(passwordAnswer.ToLower(CultureInfo.InvariantCulture), passwordFormat, passwordSalt);
Security\WindowsTokenRoleProvider.cs (2)
134if (roles[iter].ToLower(CultureInfo.InvariantCulture).StartsWith(computerName, StringComparison.Ordinal)) // Is it a local group? 187_MachineName = (System.Environment.MachineName + "\\").ToLower(CultureInfo.InvariantCulture);
State\OutOfProcStateClientManager.cs (8)
212port = UInt16.Parse(ipv6RegexMatch.Groups["port"].Value, CultureInfo.InvariantCulture); 223port = UInt16.Parse(parts[1], CultureInfo.InvariantCulture); 230s_configPartitionResolverType, server, port.ToString(CultureInfo.InvariantCulture)), hr); 395"0x" + hr.ToString("X08", CultureInfo.InvariantCulture), 396cb.ToString(CultureInfo.InvariantCulture)), 406s_configPartitionResolverType, _partitionInfo.Server, _partitionInfo.Port.ToString(CultureInfo.InvariantCulture))); 421s_configPartitionResolverType, _partitionInfo.Server, _partitionInfo.Port.ToString(CultureInfo.InvariantCulture))); 684return String.Format(CultureInfo.InvariantCulture, formatString, Server, Port);
State\SessionIDManager.cs (2)
199SESSION_ID_LENGTH_LIMIT.ToString(CultureInfo.InvariantCulture), id)); 240return id.ToLower(CultureInfo.InvariantCulture);
State\SessionStateModule.cs (1)
792Debug.Trace("SessionStateModuleOnAcquireState", "Item retrieved=" + (_rqItem != null).ToString(CultureInfo.InvariantCulture));
State\sqlstateclientmanager.cs (1)
1084_appSuffix = (appId).ToString(APP_SUFFIX_FORMAT, CultureInfo.InvariantCulture);
State\StateRuntime.cs (8)
316response.AppendHeader(StateHeaders.LOCKDATE_NAME_RAW, localLockDate.Ticks.ToString(CultureInfo.InvariantCulture)); 317response.AppendHeader(StateHeaders.LOCKAGE_NAME_RAW, lockAge.ToString(CultureInfo.InvariantCulture)); 318response.AppendHeader(StateHeaders.LOCKCOOKIE_NAME_RAW, content._lockCookie.ToString(CultureInfo.InvariantCulture)); 328response.AppendHeader(StateHeaders.ACTIONFLAGS_NAME_RAW, flags.ToString(CultureInfo.InvariantCulture)); 348value = Int32.Parse(valueAsString, CultureInfo.InvariantCulture); 390value = Int32.Parse(valueAsString, CultureInfo.InvariantCulture); 484response.AppendHeader(StateHeaders.LOCKCOOKIE_NAME_RAW, (content._lockCookie).ToString(CultureInfo.InvariantCulture)); 488response.AppendHeader(StateHeaders.TIMEOUT_NAME_RAW, (timeout).ToString(CultureInfo.InvariantCulture));
State\StateWorkerRequest.cs (8)
238s = (_contentLength).ToString(CultureInfo.InvariantCulture); 261s = (_timeout).ToString(CultureInfo.InvariantCulture); 266s = (_lockCookie).ToString(CultureInfo.InvariantCulture); 271s = (_extraFlags).ToString(CultureInfo.InvariantCulture); 321ret[i][1] = (_timeout).ToString(CultureInfo.InvariantCulture); 329ret[i][1] = (_lockCookie).ToString(CultureInfo.InvariantCulture); 337ret[i][1] = (_extraFlags).ToString(CultureInfo.InvariantCulture); 348_status.Append((statusCode).ToString(CultureInfo.InvariantCulture) + " " + statusDescription + "\r\n");
StaticFileHandler.cs (3)
69string hexFileTime = lastModFileTime.ToString("X8", CultureInfo.InvariantCulture); 443string contentRange = String.Format(CultureInfo.InvariantCulture, CONTENT_RANGE_FORMAT, offset, offset + length - 1, fileLength); 458contentRange = String.Format(CultureInfo.InvariantCulture, CONTENT_RANGE_FORMAT, offset, offset + length - 1, fileLength);
StringResourceManager.cs (4)
51"GetModuleHandle", HttpException.HResultFromLastError(Marshal.GetLastWin32Error()).ToString(CultureInfo.InvariantCulture))); 58"FindResource", HttpException.HResultFromLastError(Marshal.GetLastWin32Error()).ToString(CultureInfo.InvariantCulture))); 66"LoadResource", HttpException.HResultFromLastError(Marshal.GetLastWin32Error()).ToString(CultureInfo.InvariantCulture))); 72"LockResource", HttpException.HResultFromLastError(Marshal.GetLastWin32Error()).ToString(CultureInfo.InvariantCulture)));
ThreadContext.cs (6)
28private CultureInfo _originalThreadCurrentCulture; 29private CultureInfo _originalThreadCurrentUICulture; 253CultureInfo currentCulture = Thread.CurrentThread.CurrentCulture; 254CultureInfo currentUICulture = Thread.CurrentThread.CurrentUICulture; 295CultureInfo culture = null; 296CultureInfo uiculture = null;
UI\BatchParser.cs (3)
48CultureInfo prevCulture = currentThread.CurrentCulture; 49HttpRuntime.SetCurrentThreadCultureWithAssert(CultureInfo.InvariantCulture); 274string attribName = ((string)entry.Key).ToLower(CultureInfo.InvariantCulture);
UI\Control.cs (1)
314predictableIDSuffix = ID_RENDER_SEPARATOR + index.ToString(CultureInfo.InvariantCulture);
UI\ControlBuilder.cs (4)
103Debug.Assert(typeof(INamingContainer).IsAssignableFrom(ctrlType), String.Format(CultureInfo.InvariantCulture, "NamingContainerBuilder.Control type {0} is not an INamingContainer", ctrlType.FullName)); 121Debug.Assert(typeof(INamingContainer).IsAssignableFrom(ctrlType), String.Format(CultureInfo.InvariantCulture, "NamingContainerBuilder.Control type {0} is not an INamingContainer", ctrlType.FullName)); 2441convertedValue = System.Convert.ToString(evalValue, CultureInfo.CurrentCulture); 2444convertedValue = PropertyConverter.ObjectFromString(entry.Type, memberInfo, System.Convert.ToString(evalValue, CultureInfo.CurrentCulture));
UI\CssTextWriter.cs (2)
120object key = attrKeyLookupTable[styleName.ToLower(CultureInfo.InvariantCulture)]; 183string nameLCase = name.ToLower(CultureInfo.InvariantCulture);
UI\DataBinder.cs (1)
240intIndex = Int32.TryParse(index, NumberStyles.Integer, CultureInfo.InvariantCulture, out parsedIndex);
UI\DataBinding.cs (1)
87return propertyName.ToLower(CultureInfo.InvariantCulture).GetHashCode();
UI\DataSourceCacheDurationConverter.cs (2)
36public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 66public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
UI\ExpressionBinding.cs (1)
101return _propertyName.ToLower(CultureInfo.InvariantCulture).GetHashCode();
UI\Html32TextWriter.cs (6)
251FontUnit fu = new FontUnit(value, CultureInfo.InvariantCulture); 253return((int)(fu.Type)-3).ToString(CultureInfo.InvariantCulture); 278Unit u = new Unit(value, CultureInfo.InvariantCulture); 280return u.Value.ToString(CultureInfo.InvariantCulture); 322s = value.ToLower(CultureInfo.InvariantCulture); 356s = value.ToLower(CultureInfo.InvariantCulture);
UI\HtmlControls\HtmlImage.cs (3)
119return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 146return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 199return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\HtmlControls\HtmlInputFile.cs (2)
104return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 144return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\HtmlControls\HtmlInputImage.cs (3)
122return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 295_x = Int32.Parse(postX, CultureInfo.InvariantCulture); 296_y = Int32.Parse(postY, CultureInfo.InvariantCulture);
UI\HtmlControls\HtmlInputText.cs (2)
77return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 104return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\HtmlControls\HtmlSelect.cs (1)
431return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\HtmlControls\HtmlTable.cs (5)
93return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 135return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 156return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 303throw new ArgumentException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "HtmlTable", child.GetType().Name.ToString(CultureInfo.InvariantCulture))); // throw an exception here 315throw new ArgumentException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "HtmlTable", child.GetType().Name.ToString(CultureInfo.InvariantCulture))); // throw an exception here
UI\HtmlControls\HtmlTableCell.cs (2)
133return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 212return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\HtmlControls\HtmlTableRow.cs (2)
245throw new ArgumentException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "HtmlTableRow", child.GetType().Name.ToString(CultureInfo.InvariantCulture))); // throw an exception here 257throw new ArgumentException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "HtmlTableRow", child.GetType().Name.ToString(CultureInfo.InvariantCulture))); // throw an exception here
UI\HtmlControls\HtmlTextArea.cs (3)
65return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 125return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 177throw new HttpException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "HtmlTextArea", obj.GetType().Name.ToString(CultureInfo.InvariantCulture)));
UI\HtmlForm.cs (2)
407if (page.ClientSupportsJavaScript || !formOnSubmit.ToLower(CultureInfo.CurrentCulture).Contains("javascript")) { 415if (page.ClientSupportsJavaScript || !onSubmit.ToLower(CultureInfo.CurrentCulture).Contains("javascript")) {
UI\HTMLTextWriter.cs (7)
613string nameLCase = name.ToLower(CultureInfo.InvariantCulture); 620endTag = EndTagLeftChars + nameLCase + TagRightChar.ToString(CultureInfo.InvariantCulture); 637string nameLCase = name.ToLower(CultureInfo.InvariantCulture); 653public HtmlTextWriter(TextWriter writer, string tabString) : base(CultureInfo.InvariantCulture) { 824object key = _attrKeyLookupTable[attrName.ToLower(CultureInfo.InvariantCulture)]; 849object key = _tagKeyLookupTable[tagName.ToLower(CultureInfo.InvariantCulture)]; 1084endTag = EndTagLeftChars + _tagName + TagRightChar.ToString(CultureInfo.InvariantCulture);
UI\MasterPage.cs (2)
217if (!master.ContentPlaceHolders.Contains(contentName.ToLower(CultureInfo.InvariantCulture))) { 237string pageFile = master._masterPageFile.VirtualPathString.ToLower(CultureInfo.InvariantCulture);
UI\MinimizableAttributeTypeConverter.cs (1)
24public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) {
UI\ObjectConverter.cs (11)
53return Convert.ToInt32((string)value, CultureInfo.InvariantCulture); 56return Convert.ToBoolean((string)value, CultureInfo.InvariantCulture); 59 return Convert.ToDateTime((string)value, CultureInfo.InvariantCulture); 66 return Convert.ToDouble((string)value, CultureInfo.InvariantCulture); 69 return Convert.ToInt16((Int16)value, CultureInfo.InvariantCulture); 78return ((int)value).ToString(formatString, CultureInfo.InvariantCulture); 108return((DateTime)value).ToString(formatString, CultureInfo.InvariantCulture); 111return ((Decimal)value).ToString(formatString, CultureInfo.InvariantCulture); 114return ((Double)value).ToString(formatString, CultureInfo.InvariantCulture); 117return ((Single)value).ToString(formatString, CultureInfo.InvariantCulture); 120return ((Int16)value).ToString(formatString, CultureInfo.InvariantCulture);
UI\Page.cs (31)
255private CultureInfo _dynamicCulture; 256private CultureInfo _dynamicUICulture; 793_uniqueFilePathSuffix = String.Concat(UniqueFilePathSuffixID + "=", ticks.ToString("D6", CultureInfo.InvariantCulture)); 1060int numViewStateFields = Convert.ToInt32(fieldCountStr, CultureInfo.InvariantCulture); 1070if (i > 0) key += i.ToString(CultureInfo.InvariantCulture); 2160&& UInt32.TryParse(identifier, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out parsedIdentifier) 2231string value = viewStateChunks.Count.ToString(CultureInfo.InvariantCulture); 2249countString = count.ToString(CultureInfo.InvariantCulture); 2267ClientScript.RegisterHiddenField(ViewStateGeneratorFieldID, GetClientStateIdentifier().ToString("X8", CultureInfo.InvariantCulture)); 2312ClientScript.RegisterHiddenField(_scrollPositionXID, _scrollPositionX.ToString(CultureInfo.InvariantCulture)); 2313ClientScript.RegisterHiddenField(_scrollPositionYID, _scrollPositionY.ToString(CultureInfo.InvariantCulture)); 2684appliedMasterPages.Add(_masterPageFile.VirtualPathString.ToLower(CultureInfo.InvariantCulture)); 3848CultureInfo newCulture = null; 3851CultureInfo browserCulture = CultureFromUserLanguages(true); 3857CultureInfo browserCulture = CultureFromUserLanguages(true); 3880internal CultureInfo DynamicCulture { 3890CultureInfo newCulture = HttpServerUtility.CreateReadOnlyCultureInfo(value); 3898private CultureInfo CultureFromUserLanguages(bool specific) { 3918CultureInfo newUICulture = null; 3921CultureInfo browserCulture = CultureFromUserLanguages(false); 3927CultureInfo browserCulture = CultureFromUserLanguages(false); 3950internal CultureInfo DynamicUICulture { 4389void SetCultureWithAssert(Thread currentThread, CultureInfo currentCulture, CultureInfo currentUICulture) { 4393void SetCulture(Thread currentThread, CultureInfo currentCulture, CultureInfo currentUICulture) { 4410CultureInfo prevCulture = currentThread.CurrentCulture; 4411CultureInfo prevUICulture = currentThread.CurrentUICulture; 4509private void RestoreCultures(Thread currentThread, CultureInfo prevCulture, CultureInfo prevUICulture) { 5405Response.Write(validation.Length.ToString(CultureInfo.InvariantCulture));
UI\PageAdapter.cs (1)
241if (count > 0) writer.Write(count.ToString(CultureInfo.CurrentCulture));
UI\PageParser.cs (2)
378CultureInfo cultureInfo; 413_lcid.ToString(CultureInfo.InvariantCulture), "lcid"));
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\PageTheme.cs (1)
174_skinID = skinID.ToLower(CultureInfo.InvariantCulture);
UI\PartialCachingControl.cs (1)
554StringWriter cssStringWriter = new StringWriter(CultureInfo.CurrentCulture);
UI\PropertyConverter.cs (1)
113parameters[1] = CultureInfo.InvariantCulture;
UI\TemplateParser.cs (3)
680CultureInfo prevCulture = currentThread.CurrentCulture; 682currentThread.CurrentCulture = CultureInfo.InvariantCulture; 2687attribName = attribName.ToLower(CultureInfo.InvariantCulture);
UI\TraceContext.cs (1)
652tempset.Locale = CultureInfo.InvariantCulture;
UI\Util.cs (10)
300"x", CultureInfo.InvariantCulture) + SafeNativeMethods.GetCurrentThreadId() + ".tmp"); 333location = String.Format(CultureInfo.InvariantCulture, location, assembly, version); 436string uniqueToken = DateTime.Now.Ticks.GetHashCode().ToString("x", CultureInfo.InvariantCulture); 905ret = int.Parse(value, CultureInfo.InvariantCulture); 929val = int.Parse(s, CultureInfo.InvariantCulture); 1142CultureInfo ci = null; 1549CultureInfo[] cultures = CultureInfo.GetCultures(CultureTypes.SpecificCultures); 1560internal static string GetSpecificCulturesFormattedList(CultureInfo cultureInfo) { 1564foreach (CultureInfo culture in myCultures) {
UI\ViewStateException.cs (1)
74string debugInfo = String.Format(CultureInfo.InvariantCulture,
UI\WebControls\Adapters\MenuAdapter.cs (6)
261CultureInfo.CurrentCulture, 268CultureInfo.CurrentCulture, 283CultureInfo.CurrentCulture, 291CultureInfo.CurrentCulture, 429(_currentAccessKey++).ToString(CultureInfo.InvariantCulture) : 477(_currentAccessKey++).ToString(CultureInfo.InvariantCulture) :
UI\WebControls\AdCreatedEventArgs.cs (1)
153unitValue = Unit.Parse(temp, CultureInfo.InvariantCulture);
UI\WebControls\AdPostCacheSubstitution.cs (1)
46StringWriter stringWriter = new StringWriter(CultureInfo.CurrentCulture);
UI\WebControls\AdRotator.cs (2)
876keywordFilter = keywordFilter.ToLower(CultureInfo.InvariantCulture); 965CultureInfo.InvariantCulture, out impressions)) {
UI\WebControls\basecomparevalidator.cs (19)
207value = Int32.Parse(text, CultureInfo.InvariantCulture); 213cleanInput = ConvertDouble(text, CultureInfo.InvariantCulture.NumberFormat); 220value = Double.Parse(cleanInput, CultureInfo.InvariantCulture); 232value = DateTime.Parse(text, CultureInfo.CurrentCulture); 245cleanInput = ConvertCurrency(text, CultureInfo.InvariantCulture.NumberFormat); 252value = Decimal.Parse(cleanInput, CultureInfo.InvariantCulture); 342day = Int32.Parse(m.Groups[6].Value, CultureInfo.InvariantCulture); 343month = Int32.Parse(m.Groups[5].Value, CultureInfo.InvariantCulture); 345year = Int32.Parse(m.Groups[2].Value, CultureInfo.InvariantCulture); 348year = GetFullYear(Int32.Parse(m.Groups[3].Value, CultureInfo.InvariantCulture)); 363day = Int32.Parse(m.Groups[3].Value, CultureInfo.InvariantCulture); 364month = Int32.Parse(m.Groups[1].Value, CultureInfo.InvariantCulture); 367day = Int32.Parse(m.Groups[1].Value, CultureInfo.InvariantCulture); 368month = Int32.Parse(m.Groups[3].Value, CultureInfo.InvariantCulture); 371year = Int32.Parse(m.Groups[5].Value, CultureInfo.InvariantCulture); 373year = GetFullYear(Int32.Parse(m.Groups[6].Value, CultureInfo.InvariantCulture)); 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\BaseValidator.cs (1)
672CultureInfo.InvariantCulture,
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\BulletedList.cs (3)
361writer.AddAttribute("start", firstBulletNumber.ToString(CultureInfo.InvariantCulture)); 420writer.AddAttribute(HtmlTextWriterAttribute.Href, GetPostBackEventReference(index.ToString(CultureInfo.InvariantCulture))); 495OnClick(new BulletedListEventArgs(Int32.Parse(eventArgument, CultureInfo.InvariantCulture)));
UI\WebControls\ButtonColumn.cs (1)
204formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\ButtonField.cs (2)
183formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue); 252button.CommandArgument = rowIndex.ToString(CultureInfo.InvariantCulture);
UI\WebControls\Calendar.cs (15)
1119string eventArgument = absoluteDay.ToString(CultureInfo.InvariantCulture); 1170int newDateDiff = Int32.Parse(eventArgument.Substring(NAVIGATE_MONTH_COMMAND.Length), CultureInfo.InvariantCulture); 1185int rangeValue = Int32.Parse(eventArgument.Substring(SELECT_RANGE_COMMAND.Length), CultureInfo.InvariantCulture); 1197int dayDiff = Int32.Parse(eventArgument, CultureInfo.InvariantCulture); 1385string monthSelectKey = SELECT_RANGE_COMMAND + ((startOffset * 100) + monthLength).ToString(CultureInfo.InvariantCulture); 1540string weekSelectKey = SELECT_RANGE_COMMAND + dayDiffParameter.ToString(CultureInfo.InvariantCulture); 1545selectWeekTitle = SR.GetString(SR.Calendar_SelectWeekTitle, weekOfMonth.ToString(CultureInfo.InvariantCulture)); 1576dayNumberText = d.ToString("dd", CultureInfo.CurrentCulture); 1611dayTitle = d.ToString("m", CultureInfo.CurrentCulture); 1627dayContent.Text = GetCalendarButtonText(absoluteDay.ToString(CultureInfo.InvariantCulture), 1647RenderCalendarCell(writer, cellStyle, dayNumberText, dayTitle, daysSelectable, absoluteDay.ToString(CultureInfo.InvariantCulture)); 1722string prevMonthKey = NAVIGATE_MONTH_COMMAND + (prevMonthDate.Subtract(baseDate)).Days.ToString(CultureInfo.InvariantCulture); 1748titleText = visibleDate.ToString("MMMM", CultureInfo.CurrentCulture); 1757titleText = visibleDate.ToString(titlePattern, CultureInfo.CurrentCulture); 1784string nextMonthKey = NAVIGATE_MONTH_COMMAND + (nextMonthDate.Subtract(baseDate)).Days.ToString(CultureInfo.InvariantCulture);
UI\WebControls\ChangePassword.cs (1)
1729failureText = String.Format(CultureInfo.CurrentCulture, failureText, provider.MinRequiredPasswordLength,
UI\WebControls\CheckBoxList.cs (1)
362int index = Int32.Parse(strIndex, CultureInfo.InvariantCulture);
UI\WebControls\CommandField.cs (1)
544button.CommandArgument = rowIndex.ToString(CultureInfo.InvariantCulture);
UI\WebControls\CreateUserWizard.cs (1)
2162invalidPasswordErrorMessage = String.Format(CultureInfo.InvariantCulture, invalidPasswordErrorMessage,
UI\WebControls\DataGrid.cs (1)
1511newPage = Int32.Parse(pageNumberArg, CultureInfo.InvariantCulture) - 1;
UI\WebControls\DetailsView.cs (7)
1491return "\"" + Convert.ToString(pageIndex, CultureInfo.InvariantCulture) + "|\""; 2251StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture); 2265return Convert.ToString(PageIndex, CultureInfo.InvariantCulture) + "|" + dataKeyString + "|" + stringWriter.ToString(); 2420newItemIndex = Convert.ToInt32(itemIndexArg, CultureInfo.InvariantCulture) - 1; 2864int oldPageIndex = Int32.Parse(pageIndex, CultureInfo.InvariantCulture); 3184string startupScript = String.Format(CultureInfo.InvariantCulture, startupScriptFormat, clientReference, hiddenFieldID, doCallBackCall, PageIndex); 3352int pageNumber = Int32.Parse(arguments[0], CultureInfo.InvariantCulture);
UI\WebControls\EmbeddedMailObject.cs (1)
63public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
UI\WebControls\EmptyStringExpandableObjectConverter.cs (1)
22public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
UI\WebControls\FilteredDataSetHelper.cs (1)
46filterExpression = String.Format(CultureInfo.InvariantCulture, filterExpression, values);
UI\WebControls\FontInfo.cs (1)
473string size = this.Size.ToString(CultureInfo.InvariantCulture);
UI\WebControls\FontNamesConverter.cs (2)
38public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 58public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
UI\WebControls\FontUnit.cs (7)
147public FontUnit(string value) : this(value, CultureInfo.CurrentCulture) { 154public FontUnit(string value, CultureInfo culture) { 161char firstChar = Char.ToLower(value[0], CultureInfo.InvariantCulture); 291return new FontUnit(s, CultureInfo.InvariantCulture); 298public static FontUnit Parse(string s, CultureInfo culture) { 315return ToString((IFormatProvider)CultureInfo.CurrentCulture); 319public string ToString(CultureInfo culture) {
UI\WebControls\FontUnitConverter.cs (2)
41public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 78public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
UI\WebControls\FormView.cs (1)
2050newItemIndex = Convert.ToInt32(itemIndexArg, CultureInfo.InvariantCulture) - 1;
UI\WebControls\GridView.cs (11)
2772StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture); 2786return Convert.ToString(PageIndex, CultureInfo.InvariantCulture) + "|" + Convert.ToString((int)SortDirection, CultureInfo.InvariantCulture) + "|" + sortExpressionString + "|" + dataKeysString + "|" + stringWriter.ToString(); 2811return Convert.ToInt32(commandArgument, CultureInfo.InvariantCulture); 2819return Int32.TryParse(commandArgument, NumberStyles.Integer, CultureInfo.InvariantCulture, out rowIndex); 3011newPage = Convert.ToInt32(pageNumberArg, CultureInfo.InvariantCulture) - 1; 3509int oldPageIndex = Int32.Parse(pageIndex, CultureInfo.InvariantCulture); 3510SortDirection oldSortDirection = ((SortDirection)Int32.Parse(sortDirection, CultureInfo.InvariantCulture)); 3735string startupScript = String.Format(CultureInfo.InvariantCulture, startupScriptFormat, clientReference, hiddenFieldID, doCallBackCall, PageIndex, sortExpressionSerialized, (int)SortDirection); 4133int pageNumber = Int32.Parse(arguments[0], CultureInfo.InvariantCulture); 4135int sortDirection = Int32.Parse(arguments[1], CultureInfo.InvariantCulture);
UI\WebControls\HorizontalAlignConverter.cs (2)
48public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 81public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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\HyperLinkStyle.cs (1)
105attributes.Add(HtmlTextWriterStyle.FontSize, fu.ToString(CultureInfo.InvariantCulture));
UI\WebControls\ImageField.cs (2)
336formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValue); 363formattedAlternateText = String.Format(CultureInfo.CurrentCulture, altTextFormatString, value);
UI\WebControls\ImageMap.cs (2)
216string eventArgument = hotSpotIndex.ToString(CultureInfo.InvariantCulture); 314int hotSpotIndex = Int32.Parse(eventArgument, CultureInfo.InvariantCulture);
UI\WebControls\ListControl.cs (1)
715item.Text = String.Format(CultureInfo.CurrentCulture, textFormat, dataItem);
UI\WebControls\listitem.cs (1)
374throw new HttpException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "ListItem", obj.GetType().Name.ToString(CultureInfo.InvariantCulture)));
UI\WebControls\Literal.cs (1)
106throw new HttpException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "Literal", obj.GetType().Name.ToString(CultureInfo.InvariantCulture)));
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 (7)
239return String.Format(CultureInfo.CurrentCulture, _owner.StaticItemFormatString, Text); 242return String.Format(CultureInfo.CurrentCulture, _owner.DynamicItemFormatString, Text); 982writer.AddStyleAttribute("margin-left", indent.ToString(CultureInfo.InvariantCulture)); 1059String.Format(CultureInfo.CurrentCulture, _owner.StaticPopOutImageTextFormatString, Text)); 1064String.Format(CultureInfo.CurrentCulture, _owner.DynamicPopOutImageTextFormatString, Text)); 1129spacing.ToString(CultureInfo.InvariantCulture)); 1137spacing.ToString(CultureInfo.InvariantCulture));
UI\WebControls\MenuItemCollection.cs (2)
235LogItemType type = (LogItemType)Int32.Parse(parts[0], CultureInfo.InvariantCulture); 236int index = Int32.Parse(parts[1], CultureInfo.InvariantCulture);
UI\WebControls\MenuItemStyle.cs (6)
186attributes.Add(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture)); 208attributes.Add(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture)); 216attributes.Add(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture)); 224attributes.Add(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture, 226verticalPadding.ToString(CultureInfo.InvariantCulture), 227horizontalPadding.ToString(CultureInfo.InvariantCulture)));
UI\WebControls\MenuRendererStandards.cs (5)
49string initScript = String.Format(CultureInfo.InvariantCulture, 128ulDynamic.AddStyle(HtmlTextWriterStyle.MarginLeft, Menu.DynamicHorizontalOffset.ToString(CultureInfo.InvariantCulture) + "px"); 132ulDynamic.AddStyle(HtmlTextWriterStyle.MarginTop, Menu.DynamicVerticalOffset.ToString(CultureInfo.InvariantCulture) + "px"); 217style.AddStyle(HtmlTextWriterStyle.PaddingLeft, indent.ToString(CultureInfo.InvariantCulture)); 592return AddStyleDefinition(String.Format(CultureInfo.InvariantCulture, selectorFormat, args));
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\MultiView.cs (1)
293index = Int32.Parse((string)ce.CommandArgument, CultureInfo.InvariantCulture);
UI\WebControls\ObjectDataSource.cs (6)
533/// Indicates which <see cref='System.Globalization.CultureInfo'/> is used by ObjectDataSource 795sb.Append(startRowIndex.ToString(CultureInfo.InvariantCulture)); 797sb.Append(maximumRows.ToString(CultureInfo.InvariantCulture)); 818sb.Append(GetType().GetHashCode().ToString(CultureInfo.InvariantCulture)); 820sb.Append(CacheDuration.ToString(CultureInfo.InvariantCulture)); 822sb.Append(((int)CacheExpirationPolicy).ToString(CultureInfo.InvariantCulture));
UI\WebControls\ObjectDataSourceView.cs (6)
498/// Indicates which <see cref='System.Globalization.CultureInfo'/> is used by ObjectDataSourceView 738throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_CannotConvertType, paramName, paramValueType.FullName, String.Format(CultureInfo.InvariantCulture, "Nullable<{0}>", destinationType.GetGenericArguments()[0].FullName))); 760value = converter.ConvertFromString(null, CultureInfo.CurrentCulture, s); 1425string formattedParamName = String.Format(CultureInfo.InvariantCulture, OldValuesParameterFormatString, param0Name); 1431formattedParamName = String.Format(CultureInfo.InvariantCulture, OldValuesParameterFormatString, param1Name); 1777parameterName = String.Format(CultureInfo.InvariantCulture, parameterNameFormatString, parameterName);
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\ParameterCollection.cs (1)
193uniqueName = param.Name + count.ToString(CultureInfo.InvariantCulture);
UI\WebControls\ParsingCulture.cs (3)
8/// Indicates which <see cref='System.Globalization.CultureInfo'/> to use when converting string values to types. 13/// <see cref='System.Globalization.CultureInfo.InvariantCulture'/> is used. This is the default. 18/// <see cref='System.Globalization.CultureInfo.CurrentCulture'/> is used.
UI\WebControls\SqlDataSource.cs (5)
797sb.Append(startRowIndex.ToString(CultureInfo.InvariantCulture)); 799sb.Append(maximumRows.ToString(CultureInfo.InvariantCulture)); 871sb.Append(GetType().GetHashCode().ToString(CultureInfo.InvariantCulture)); 873sb.Append(CacheDuration.ToString(CultureInfo.InvariantCulture)); 875sb.Append(((int)CacheExpirationPolicy).ToString(CultureInfo.InvariantCulture));
UI\WebControls\SqlDataSourceView.cs (1)
641formattedParamName = String.Format(CultureInfo.InvariantCulture, oldValuesParameterFormatString, rawParamName);
UI\WebControls\StringArrayConverter.cs (2)
39public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 61public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
UI\WebControls\Style.cs (5)
555attributes.Add(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture)); 584attributes.Add(HtmlTextWriterStyle.FontSize, fu.ToString(CultureInfo.InvariantCulture)); 633attributes.Add(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture)); 641attributes.Add(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture)); 655return String.Join(delimiter.ToString(CultureInfo.InvariantCulture), array);
UI\WebControls\SubMenuStyle.cs (4)
142attributes.Add(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture)); 164attributes.Add(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture)); 172attributes.Add(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture)); 177attributes.Add(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture,
UI\WebControls\Table.cs (2)
396throw new ArgumentException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "Table", child.GetType().Name.ToString(CultureInfo.InvariantCulture))); // throw an exception here 408throw new ArgumentException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "Table", child.GetType().Name.ToString(CultureInfo.InvariantCulture))); // throw an exception here
UI\WebControls\TableItemStyle.cs (2)
159writer.AddAttribute(HtmlTextWriterAttribute.Align, hac.ConvertToString(hAlign).ToLower(CultureInfo.InvariantCulture)); 165writer.AddAttribute(HtmlTextWriterAttribute.Valign, hac.ConvertToString(vAlign).ToLower(CultureInfo.InvariantCulture));
UI\WebControls\TableRow.cs (2)
169throw new ArgumentException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "TableRow", child.GetType().Name.ToString(CultureInfo.InvariantCulture))); // throw an exception here 181throw new ArgumentException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "TableRow", child.GetType().Name.ToString(CultureInfo.InvariantCulture))); // throw an exception here
UI\WebControls\TextBox.cs (1)
551throw new HttpException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "TextBox", obj.GetType().Name.ToString(CultureInfo.InvariantCulture)));
UI\WebControls\TreeNode.cs (11)
758string indexString = Index.ToString(CultureInfo.InvariantCulture); 818Index.ToString(CultureInfo.InvariantCulture) + "," + 826Index.ToString(CultureInfo.InvariantCulture) + "," + 911mergedStyle.NodeSpacing.ToString(CultureInfo.InvariantCulture)); 926writer.AddStyleAttribute(HtmlTextWriterStyle.Width, _owner.NodeIndent.ToString(CultureInfo.InvariantCulture) + "px"); 945writer.Write("<div style=\"width:" + _owner.NodeIndent.ToString(CultureInfo.InvariantCulture) + "px;height:1px\">"); 1215String.Format(CultureInfo.CurrentCulture, imageToolTip, Text)); 1219String.Format(CultureInfo.CurrentCulture, imageToolTip, Text)); 1496writer.AddStyleAttribute(HtmlTextWriterStyle.Height, mergedStyle.NodeSpacing.ToString(CultureInfo.InvariantCulture)); 1544writer.AddAttribute(HtmlTextWriterAttribute.Height, mergedStyle.ChildNodesPadding.ToString(CultureInfo.InvariantCulture)); 1561writer.AddAttribute(HtmlTextWriterAttribute.Height, mergedStyle.ChildNodesPadding.ToString(CultureInfo.InvariantCulture));
UI\WebControls\TreeNodeCollection.cs (2)
279LogItemType type = (LogItemType)Int32.Parse(parts[0], CultureInfo.InvariantCulture); 280int index = Int32.Parse(parts[1], CultureInfo.InvariantCulture);
UI\WebControls\TreeNodeStyle.cs (4)
240attributes.Add(HtmlTextWriterStyle.BorderWidth, bu.ToString(CultureInfo.InvariantCulture)); 262attributes.Add(HtmlTextWriterStyle.Height, u.ToString(CultureInfo.InvariantCulture)); 270attributes.Add(HtmlTextWriterStyle.Width, u.ToString(CultureInfo.InvariantCulture)); 275attributes.Add(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture,
UI\WebControls\TreeView.cs (11)
1494text = string.Format(CultureInfo.CurrentCulture, level.FormatString, objData); 2328return Int32.Parse(s.Substring(i + 1), CultureInfo.InvariantCulture); 3234int nodeIndex = Int32.Parse(nodeIndexString, CultureInfo.InvariantCulture); 3239int lastIndex = Int32.Parse(_callbackEventArgument.Substring(startIndex, endIndex - startIndex), CultureInfo.InvariantCulture); 3253int nodeTextLength = Int32.Parse(_callbackEventArgument.Substring(startIndex, endIndex - startIndex), CultureInfo.InvariantCulture); 3261int dataPathLength = Int32.Parse(_callbackEventArgument.Substring(startIndex, endIndex - startIndex), CultureInfo.InvariantCulture); 3300StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture); 3328result = lastIndex.ToString(CultureInfo.InvariantCulture) + "|" + expandState.ToString() + "|" + stringWriter.ToString(); 3370int populateIndex = Int32.Parse(logParts[i], NumberStyles.Integer, CultureInfo.InvariantCulture); 3472public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) { 3483public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) {
UI\WebControls\Unit.cs (9)
89public Unit(string value) : this(value, CultureInfo.CurrentCulture, UnitType.Pixel) { 96public Unit(string value, CultureInfo culture) : this(value, culture, UnitType.Pixel) { 99internal Unit(string value, CultureInfo culture, UnitType defaultType) { 106culture = CultureInfo.CurrentCulture; 111string trimLcase = value.Trim().ToLower(CultureInfo.InvariantCulture); 309return new Unit(s, CultureInfo.CurrentCulture); 316public static Unit Parse(string s, CultureInfo culture) { 351return ToString((IFormatProvider)CultureInfo.CurrentCulture); 355public string ToString(CultureInfo culture) {
UI\WebControls\unitconverter.cs (3)
55public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 69return Unit.Parse(textValue, CultureInfo.CurrentCulture); 82public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
UI\WebControls\ValidationSummary.cs (1)
353CultureInfo.InvariantCulture,
UI\WebControls\VerticalAlignConverter.cs (2)
47public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 79public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
UI\WebControls\WebColorConverter.cs (5)
29public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 66public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 124sb.Append((c.R).ToString("X2", CultureInfo.InvariantCulture)); 125sb.Append((c.G).ToString("X2", CultureInfo.InvariantCulture)); 126sb.Append((c.B).ToString("X2", CultureInfo.InvariantCulture));
UI\WebControls\WebControl.cs (1)
530tagName = Enum.Format(typeof(HtmlTextWriterTag), TagKey, "G").ToLower(CultureInfo.InvariantCulture);
UI\WebControls\Wizard.cs (2)
1461int newIndex = Int32.Parse((String)e.CommandArgument, CultureInfo.InvariantCulture); 1812newIndex = Int32.Parse((String)ce.CommandArgument, CultureInfo.InvariantCulture);
UI\WebControls\xml.cs (1)
352throw new HttpException(SR.GetString(SR.Cannot_Have_Children_Of_Type, "Xml", obj.GetType().Name.ToString(CultureInfo.InvariantCulture)));
UI\WebControls\XmlDataSource.cs (3)
377sb.Append(GetType().GetHashCode().ToString(CultureInfo.InvariantCulture)); 379sb.Append(CacheDuration.ToString(CultureInfo.InvariantCulture)); 381sb.Append(((int)CacheExpirationPolicy).ToString(CultureInfo.InvariantCulture));
UI\WebControls\XmlHierarchyData.cs (1)
65return "/*[position()=" + Convert.ToString(index, CultureInfo.InvariantCulture) + "]";
UI\WebParts\AppearanceEditorPart.cs (18)
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)); 312(UnitType)Int32.Parse(_type.SelectedValue, CultureInfo.InvariantCulture) : (UnitType)0; 324_value.Text = value.Value.ToString(CultureInfo.CurrentCulture); 325_type.SelectedValue = ((int)value.Type).ToString(CultureInfo.InvariantCulture); 339((int)UnitType.Pixel).ToString(CultureInfo.InvariantCulture))); 341((int)UnitType.Point).ToString(CultureInfo.InvariantCulture))); 343((int)UnitType.Pica).ToString(CultureInfo.InvariantCulture))); 345((int)UnitType.Inch).ToString(CultureInfo.InvariantCulture))); 347((int)UnitType.Mm).ToString(CultureInfo.InvariantCulture))); 349((int)UnitType.Cm).ToString(CultureInfo.InvariantCulture))); 351((int)UnitType.Percentage).ToString(CultureInfo.InvariantCulture))); 353((int)UnitType.Em).ToString(CultureInfo.InvariantCulture))); 355((int)UnitType.Ex).ToString(CultureInfo.InvariantCulture)));
UI\WebParts\CatalogZoneBase.cs (1)
596string text = displayTitle + " (" + count.ToString(CultureInfo.CurrentCulture) + ")";
UI\WebParts\ConnectionsZone.cs (7)
1550connectVerb.EventArgument = String.Join(ID_SEPARATOR.ToString(CultureInfo.InvariantCulture), 1643connectVerb.EventArgument = String.Join(ID_SEPARATOR.ToString(CultureInfo.InvariantCulture), 1841transformerEventArgs = configureEventArgument + ID_SEPARATOR.ToString(CultureInfo.InvariantCulture) + connection.ID; 1857String.Join(ID_SEPARATOR.ToString(CultureInfo.InvariantCulture), 1881transformerEventArgs = configureEventArgument + ID_SEPARATOR.ToString(CultureInfo.InvariantCulture) + connection.ID; 1897String.Join(ID_SEPARATOR.ToString(CultureInfo.InvariantCulture), 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 (4)
337writer.AddAttribute(HtmlTextWriterAttribute.Align, hac.ConvertToString(hAlign).ToLower(CultureInfo.InvariantCulture)); 342writer.AddAttribute(HtmlTextWriterAttribute.Valign, vac.ConvertToString(vAlign).ToLower(CultureInfo.InvariantCulture)); 429((int)webPart.HelpMode).ToString(CultureInfo.InvariantCulture) + 571verbControl.ToolTip = String.Format(CultureInfo.CurrentCulture, verb.Description, webPart.DisplayTitle);
UI\WebParts\WebPartManager.cs (12)
1881displayTitle += " [" + count.ToString(CultureInfo.CurrentCulture) + "]"; 1928return DynamicConnectionIDPrefix + guidHash.ToString(CultureInfo.InvariantCulture); 1941string id = DynamicWebPartIDPrefix + guidHash.ToString(CultureInfo.InvariantCulture); 2323ConnectionPointKey connectionPointKey = new ConnectionPointKey(type, CultureInfo.CurrentCulture, CultureInfo.CurrentUICulture); 3874zoneCode.AppendFormat(CultureInfo.InvariantCulture, ZoneScript, zone.ClientID, zone.UniqueID, isVertical, 3893string startupScript = String.Format(CultureInfo.InvariantCulture, 3992string dragOverlayElementHtml = String.Format(CultureInfo.InvariantCulture, DragOverlayElementHtmlTemplate, ClientID); 4514private CultureInfo _culture; 4515private CultureInfo _uiCulture; 4517public ConnectionPointKey(Type type, CultureInfo culture, CultureInfo uiCulture) {
UI\WebParts\WebPartMenu.cs (2)
229alt = String.Format(CultureInfo.CurrentCulture, verb.Description, associatedWebPart.DisplayTitle); 252((int)associatedWebPart.HelpMode).ToString(CultureInfo.InvariantCulture) + ")");
UI\WebParts\WebPartZoneBase.cs (2)
258index.ToString(CultureInfo.CurrentCulture)); 1113int dropPartIndex = Int32.Parse(eventArguments[2], CultureInfo.InvariantCulture);
UI\WebParts\WebZone.cs (2)
361writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, padding.ToString(CultureInfo.InvariantCulture)); 396writer.AddAttribute(HtmlTextWriterAttribute.Cellpadding, Padding.ToString(CultureInfo.InvariantCulture));
UI\XhtmlTextWriter.cs (2)
183if (TagName.ToLower(CultureInfo.InvariantCulture).Equals("div") && name.ToLower(CultureInfo.InvariantCulture).Equals("border-collapse")) {
Util\AppVerifier.cs (2)
696return String.Format(CultureInfo.InstalledUICulture, SR.Resources.GetString(name, CultureInfo.InstalledUICulture), args);
Util\CultureUtil.cs (3)
17public static CultureInfo CreateReadOnlyCulture(string cultureName, bool requireSpecific) { 29public static CultureInfo CreateReadOnlyCulture(string[] cultureNames, bool requireSpecific) { 34internal static CultureInfo ExtractCultureImpl(string[] cultureNames, bool requireSpecific, int maxCount) {
Util\EnableViewStateMacRegistryHelper.cs (1)
67string keyName = String.Format(CultureInfo.InvariantCulture, @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v{0}", Environment.Version.ToString(3));
Util\FileUtil.cs (1)
138path.GetHashCode().ToString(CultureInfo.InvariantCulture);
Util\HashCodeCombiner.cs (10)
110Debug.Trace("HashCodeCombiner", "Ticks: " + dt.Ticks.ToString("x", CultureInfo.InvariantCulture)); 111Debug.Trace("HashCodeCombiner", "Hashcode: " + dt.GetHashCode().ToString("x", CultureInfo.InvariantCulture)); 116Debug.Trace("HashCodeCombiner", "file size: " + fileSize.ToString("x", CultureInfo.InvariantCulture)); 117Debug.Trace("HashCodeCombiner", "Hashcode: " + fileSize.GetHashCode().ToString("x", CultureInfo.InvariantCulture)); 123Debug.Trace("HashCodeCombiner", "FileMajorPart: " + fileVersionInfo.FileMajorPart.GetHashCode().ToString("x", CultureInfo.InvariantCulture)); 124Debug.Trace("HashCodeCombiner", "FileMinorPart: " + fileVersionInfo.FileMinorPart.GetHashCode().ToString("x", CultureInfo.InvariantCulture)); 125Debug.Trace("HashCodeCombiner", "FileBuildPart: " + fileVersionInfo.FileBuildPart.GetHashCode().ToString("x", CultureInfo.InvariantCulture)); 126Debug.Trace("HashCodeCombiner", "FilePrivatePart: " + fileVersionInfo.FilePrivatePart.GetHashCode().ToString("x", CultureInfo.InvariantCulture)); 145sbFileContentHashBytes.Append(fileContentHashBytes[index].ToString("X2", CultureInfo.InvariantCulture)); 251return _combinedHash.ToString("x", CultureInfo.InvariantCulture);
Util\HttpEncoder.cs (4)
82builder.Append(((int)c).ToString("x4", CultureInfo.InvariantCulture)); 211StringWriter writer = new StringWriter(CultureInfo.InvariantCulture); 330StringWriter writer = new StringWriter(CultureInfo.InvariantCulture); 349StringWriter writer = new StringWriter(CultureInfo.InvariantCulture);
Util\Misc.cs (3)
31s_caseInsensitiveInvariantKeyComparer = StringComparer.Create(CultureInfo.InvariantCulture, true); 52string pid = SafeNativeMethods.GetCurrentProcessId().ToString(CultureInfo.InstalledUICulture); 53string description = SR.Resources.GetString(SR.Unhandled_Exception, CultureInfo.InstalledUICulture);
Util\ParseHttpDate.cs (3)
117} else if ( ((Char.ToUpper(s[0 + startIndex], CultureInfo.InvariantCulture)) == monthString[0]) && 118((Char.ToLower(s[1 + startIndex], CultureInfo.InvariantCulture)) == monthString[1]) && 119((Char.ToLower(s[2 + startIndex], CultureInfo.InvariantCulture)) == monthString[2]) ) {
Util\ProviderUtil.cs (3)
42t = Convert.ToInt32(s, CultureInfo.InvariantCulture); 82t = Convert.ToInt32(s, CultureInfo.InvariantCulture); 123t = Convert.ToInt32(s, CultureInfo.InvariantCulture);
Util\ReadWriteSpinLock.cs (8)
102Debug.Trace("Spinlock", "AcquireReaderLock: _bits=" + _bits.ToString("x8", CultureInfo.InvariantCulture) 103+ " _id= " + _id.ToString("x8", CultureInfo.InvariantCulture)); 117Debug.Trace("Spinlock", "AcquireWriterLock: _bits=" + _bits.ToString("x8", CultureInfo.InvariantCulture) 118+ " _id= " + _id.ToString("x8", CultureInfo.InvariantCulture)); 131Debug.Trace("Spinlock", "ReleaseReaderLock: _bits=" + _bits.ToString("x8", CultureInfo.InvariantCulture) 132+ " _id= " + _id.ToString("x8", CultureInfo.InvariantCulture)); 177Debug.Trace("Spinlock", "ReleaseWriterLock: _bits=" + _bits.ToString("x8", CultureInfo.InvariantCulture) 178+ " _id= " + _id.ToString("x8", CultureInfo.InvariantCulture));
Util\SecUtil.cs (4)
123throw new ArgumentException(SR.GetString(SR.Parameter_too_long, paramName, maxSize.ToString(CultureInfo.InvariantCulture)), paramName); 142throw new ArgumentException(SR.GetString(SR.Parameter_too_long, paramName, maxSize.ToString(CultureInfo.InvariantCulture)), paramName); 162paramName + "[ " + i.ToString(CultureInfo.InvariantCulture) + " ]"); 212throw new ProviderException(SR.GetString(SR.Value_too_big, valueName, maxValueAllowed.ToString(CultureInfo.InvariantCulture)));
Util\SmtpMail.cs (4)
88return type.InvokeMember(methodName, BindingFlags.InvokeMethod, null, obj, args, CultureInfo.InvariantCulture); 112return type.InvokeMember(propName, BindingFlags.GetProperty, null, obj,new Object[0], CultureInfo.InvariantCulture); 131type.InvokeMember(propName, BindingFlags.SetProperty, null, obj, new Object[1] { propValue }, CultureInfo.InvariantCulture); 150type.InvokeMember(propName, BindingFlags.SetProperty, null, obj,new Object[2] { propKey, propValue }, CultureInfo.InvariantCulture);
Util\StringUtil.cs (3)
49paramValue, paramName, lengthToCheck.ToString(CultureInfo.InvariantCulture))); 287s = s.ToLower(CultureInfo.InvariantCulture); 317return GetStringHashCode(s.ToLower(CultureInfo.InvariantCulture));
Util\SymbolEqualComparer.cs (2)
57if (Char.ToLower(charLeft, CultureInfo.InvariantCulture) == charRight) { 62if (Char.ToLower(charRight, CultureInfo.InvariantCulture) == charLeft) {
Util\versioninfo.cs (2)
40return string.Format(CultureInfo.InvariantCulture, "{0}.{1}.{2}.{3}", 150_exeName = s.ToLower(CultureInfo.InvariantCulture);
WebPageTraceListener.cs (1)
81TraceEvent(eventCache, source, severity, id, String.Format(CultureInfo.InvariantCulture, format, args));
WorkerRequest.cs (2)
728l = Int32.Parse(contentLength, CultureInfo.InvariantCulture); 1387Debug.Assert(serverVarName == null || serverVarName == "HTTP_" + headerName.ToUpper(CultureInfo.InvariantCulture).Replace('-', '_'));
XmlSiteMapProvider.cs (2)
679if (temp.ToLower(CultureInfo.InvariantCulture).StartsWith(_resourcePrefix, StringComparison.Ordinal)) { 757roles[foundIndex].ToString(CultureInfo.InvariantCulture)), xmlNode);
System.Web.ApplicationServices (7)
ApplicationServicesStrings.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
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 (400)
Common\Annotation\AnnotationBase.cs (6)
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))); 3285if (int.TryParse(pointIndex, NumberStyles.Any, CultureInfo.InvariantCulture, out index)) 3361 pointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\BarChart.cs (4)
406 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 473 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture) ))); 1162throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1391 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\BoxPlotChart.cs (5)
326 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 750 markerStyle = markerStyle.ToUpper(CultureInfo.InvariantCulture); 1107 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1662bool parseSucceed = double.TryParse(boxPercentile, NumberStyles.Any, CultureInfo.InvariantCulture, out percentile); 1680bool parseSucceed = double.TryParse(boxWhiskerPercentile, NumberStyles.Any, CultureInfo.InvariantCulture, out percentile);
Common\ChartTypes\BubbleChart.cs (3)
178 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 219 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 283throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ColumnChart.cs (2)
317 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture) != 0 1315 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name,this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ErrorBarChart.cs (7)
454 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 788markerStyle = markerStyle.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 818 markerStyle = markerStyle.ToUpper(CultureInfo.InvariantCulture); 1100 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues( ChartTypeNames.ErrorBar, ((int)(3)).ToString(CultureInfo.CurrentCulture)))); 1208 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues( this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1563 markerStyle = markerStyle.ToUpper(CultureInfo.InvariantCulture); 1663if (!double.TryParse(typeName, NumberStyles.Any, CultureInfo.InvariantCulture, out param))
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 (6)
2272bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out pointHeight); 2309bool parseSucceed = int.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out a); 2388bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out w); 2407bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out h); 2450bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out gs); 2684 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) == 0 )
Common\ChartTypes\KagiChart.cs (11)
152series["OldXValueIndexed"] = series.IsXValueIndexed.ToString(CultureInfo.InvariantCulture); 153series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 242parseSucceed = int.TryParse(kagiSeries["OldYValuesPerPoint"], NumberStyles.Any, CultureInfo.InvariantCulture, out yValPerPoint); 298bool parseSucceed = double.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out percent); 311bool parseSucceed = double.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out amount); 341bool parseSucceed = int.TryParse(series[CustomPropertyName.UsedYValue], NumberStyles.Any, CultureInfo.InvariantCulture, out yi); 375newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 414 series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 427newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 483 this.kagiUpColor = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString); 766 this.kagiUpColor = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString);
Common\ChartTypes\LineChart.cs (1)
377 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\PieChart.cs (7)
294bool parseSucceed = double.TryParse(series[CustomPropertyName.CollectedThreshold], NumberStyles.Any, CultureInfo.InvariantCulture, out t); 414 dataPoint["OriginalPointIndex"] = originalDataPointIndex.ToString(CultureInfo.InvariantCulture); 431 collectedPoint.Color = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, series[CustomPropertyName.CollectedColor]); 526 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 ) 710bool parseSucceed = float.TryParse(dataSeries[typeSeries[0]][CustomPropertyName.PieStartAngle], NumberStyles.Any, CultureInfo.InvariantCulture, out angle); 1220bool parseSucceed = float.TryParse(point["InsideLabelOffset"], NumberStyles.Any, CultureInfo.InvariantCulture, out positionRatio); 2395bool parseSucceed = int.TryParse(dataSeries[typeSeries[0]][CustomPropertyName.PieStartAngle], NumberStyles.Any, CultureInfo.InvariantCulture, out angle);
Common\ChartTypes\PointAndFigureChart.cs (16)
176 series["OldXValueIndexed"] = series.IsXValueIndexed.ToString(CultureInfo.InvariantCulture); 177 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 275parseSucceed = int.TryParse(pointAndFigureSeries["OldYValuesPerPoint"], NumberStyles.Any, CultureInfo.InvariantCulture, out yVals); 336 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(ChartTypeNames.PointAndFigure, ((int)(2)).ToString(CultureInfo.CurrentCulture)))); 388parseSucceed = double.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out percent); 398parseSucceed = double.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out b); 451 series["CurrentBoxSize"] = boxSize.ToString(CultureInfo.InvariantCulture); 470bool parseSucceed = double.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out amount); 499 yValueHighIndex = int.Parse(series[CustomPropertyName.UsedYValueHigh], CultureInfo.InvariantCulture); 516 yValueLowIndex = int.Parse(series[CustomPropertyName.UsedYValueLow], CultureInfo.InvariantCulture); 537 upPriceColor = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, upPriceColorString); 651 series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 657series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 664 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 745 CultureInfo.InvariantCulture); 807double boxSize = double.Parse(ser["CurrentBoxSize"], CultureInfo.InvariantCulture);
Common\ChartTypes\PointChart.cs (2)
333 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 1498throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\RadarChart.cs (1)
374 if(String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 )
Common\ChartTypes\RenkoChart.cs (9)
155 series["OldXValueIndexed"] = series.IsXValueIndexed.ToString(CultureInfo.InvariantCulture); 156 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 249parseSucceed = int.TryParse(renkoSeries["OldYValuesPerPoint"], NumberStyles.Any, CultureInfo.InvariantCulture, out yValsPerPoint); 315 percentOfPriceRange = double.Parse(attrValue, CultureInfo.InvariantCulture); 320 boxSize = double.Parse(attrValue, CultureInfo.InvariantCulture); 388 series["CurrentBoxSize"] = boxSize.ToString(CultureInfo.InvariantCulture); 406 yValueIndex = int.Parse(series[CustomPropertyName.UsedYValue], CultureInfo.InvariantCulture); 454 upBrickColor = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, upBrickColorString); 479 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
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\ChartTypes\ThreeLineBreakChart.cs (7)
156 series["OldXValueIndexed"] = series.IsXValueIndexed.ToString(CultureInfo.InvariantCulture); 157 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 250parseSucceed = int.TryParse(threeLineBreakSeries["OldYValuesPerPoint"], NumberStyles.Any, CultureInfo.InvariantCulture, out yValsPerPoint); 299 yValueIndex = int.Parse(series[CustomPropertyName.UsedYValue], CultureInfo.InvariantCulture); 318 linesInBreak = int.Parse(series[CustomPropertyName.NumberOfLinesInBreak], CultureInfo.InvariantCulture); 372 priceUpColor = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString); 457 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
Common\Converters\AnnotationConverters.cs (3)
70 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 85return dataPoint.series.Name + " - " + SR.DescriptionTypePoint + pointIndex.ToString(CultureInfo.InvariantCulture); 111public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Common\Converters\AxesArrayConverter.cs (1)
81 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Common\Converters\AxisConverters.cs (13)
66 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 126 return DateTime.FromOADate((double)value).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 141 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 210bool parseSucceed = DateTime.TryParse(stringValue, CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate); 277 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 307 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 349 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 375public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 426bool parseSucceed = DateTime.TryParse(stringValue, CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate); 489 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 507 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 629 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 655 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Common\Converters\CustomAttributesConverters.cs (11)
95 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) 115 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 470string itemStr = String.Format(CultureInfo.InvariantCulture, "{0}({1:N0})", item, ChartTypes.ErrorBarChart.DefaultErrorBarTypeValue(item)); 652 result = float.Parse(stringValue, System.Globalization.CultureInfo.InvariantCulture); 656 result = double.Parse(stringValue, System.Globalization.CultureInfo.InvariantCulture); 660 result = int.Parse(stringValue, System.Globalization.CultureInfo.InvariantCulture); 669 result = (Color)colorConverter.ConvertFromString(null, System.Globalization.CultureInfo.InvariantCulture, stringValue); 696 return colorConverter.ConvertToString(null, System.Globalization.CultureInfo.InvariantCulture, value); 700 return ((float)value).ToString(System.Globalization.CultureInfo.InvariantCulture); 704 return ((double)value).ToString(System.Globalization.CultureInfo.InvariantCulture); 708 return ((int)value).ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\Converters\DataManagerConverters.cs (13)
450 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 498 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 525if (DateTime.TryParse(values[index], CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate)) 529else if (DateTime.TryParse(values[index], CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate)) 565 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 589 result += DateTime.FromOADate(d).ToString("g", System.Globalization.CultureInfo.InvariantCulture) + ","; 593 result += d.ToString(System.Globalization.CultureInfo.InvariantCulture) + ","; 622 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 631 return valueAsSate.ToString("g", System.Globalization.CultureInfo.CurrentCulture); 644 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 656DateTime valueAsSate = DateTime.Parse(stringValue, System.Globalization.CultureInfo.CurrentCulture); 763 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 780 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Common\Converters\ElementPositionConverter.cs (6)
90 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 108 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 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\Converters\LegendConverters.cs (11)
267 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) 284 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 356 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 362CultureInfo.InvariantCulture, 381 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 393margins.Top = int.Parse(values[0].Trim(), CultureInfo.InvariantCulture); 394margins.Bottom = int.Parse(values[1].Trim(), CultureInfo.InvariantCulture); 395margins.Left = int.Parse(values[2].Trim(), CultureInfo.InvariantCulture); 396margins.Right = int.Parse(values[3].Trim(), CultureInfo.InvariantCulture); 466 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) 484 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
Common\DataManager\DataPoint.cs (23)
173 sortBy = sortBy.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 190 _sortingValueIndex = Int32.Parse(sortBy.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1; 200 throw(new ArgumentException( SR.ExceptionDataPointConverterUnavailableSorting(sortBy, series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ), "sortBy")); 419throw (new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture)))); 616 throw(new ArgumentOutOfRangeException("yValues", SR.ExceptionDataPointYValuesBindingCountMismatch( series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ) ) ); 788throw new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture))); 797throw new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture))); 1180failed = !int.TryParse(fieldName, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 1218failed = !int.TryParse(fieldName, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 1264bool parseSucceed = int.TryParse(fieldName, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 1390bool parseSucceed = int.TryParse(field, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 1432bool parseSucceed = int.TryParse(field, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 1473failed = !int.TryParse(field, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 2188 throw(new ArgumentOutOfRangeException("yValue", SR.ExceptionDataPointYValuesSettingCountMismatch(base.series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture)))); 2294yDate = Convert.ToDateTime(yValue[i], CultureInfo.InvariantCulture); //This will throw an exception in case when the yValue type is not compatible with the DateTime 2315yTime = Convert.ToDateTime(yValue[i], CultureInfo.InvariantCulture); //This will throw an exception in case when the yValue type is not compatible with the DateTime 2395 valueName = valueName.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 2412 yIndex = Int32.Parse(valueName.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1; 2468 result = result.Replace(KeywordName.Index, this.series.Points.IndexOf(this).ToString(System.Globalization.CultureInfo.InvariantCulture)); 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 (11)
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)))); 1073 throw(new InvalidOperationException( SR.ExceptionDataSeriesYValueIndexNotExists(yValueIndex.ToString(CultureInfo.InvariantCulture), this.Name ) ) ); 1223 yValueIndex = int.Parse(result.Substring(keyEndIndex + 1, 1), CultureInfo.InvariantCulture); 1426if (Int32.TryParse(dp["OriginalPointIndex"], NumberStyles.Integer, CultureInfo.InvariantCulture, out index))
Common\Formulas\FormulaHelpers.cs (7)
112Debug.Fail(String.Format(CultureInfo.InvariantCulture, "{0} case is not defined", formula)); 338sb.AppendFormat(CultureInfo.InvariantCulture, "{0}", _parameters[i]); 375return Convert.ToInt32(newParamValue, CultureInfo.InvariantCulture); 379return Convert.ToBoolean(newParamValue, CultureInfo.InvariantCulture); 383return Convert.ToDouble(newParamValue, CultureInfo.InvariantCulture); 1381sb.AppendFormat(CultureInfo.InvariantCulture, "{0}:Y", info.SeriesName); //The string field descriptor is 1 based ;-( 1383sb.AppendFormat(CultureInfo.InvariantCulture, "{0}:Y{1}", info.SeriesName, dataFieldIndex + 1); //The string field descriptor is 1 based ;-(
Common\Formulas\GeneralFormulas.cs (1)
164 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
Common\Formulas\Oscillator.cs (11)
84!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out shortPeriod)) 92!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out longPeriod)) 187 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 266!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 277!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out signalPeriod)) 357!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out shortPeriod)) 365!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out longPeriod)) 465!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out periodD)) 476!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out periodK)) 576!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 645 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
Common\Formulas\PriceIndicators.cs (13)
96 parList[0] = period.ToString(System.Globalization.CultureInfo.InvariantCulture); 97 extList[0] = FromFirst.ToString(System.Globalization.CultureInfo.InvariantCulture); 142 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 274 parList[0] = period.ToString(System.Globalization.CultureInfo.InvariantCulture); 275 extList[0] = startFromFirst.ToString(System.Globalization.CultureInfo.InvariantCulture); 317 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 461 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 544 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 687 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 702 {deviation = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture );} 963 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 978 {shift = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture );} 1121 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
Common\Formulas\StatisticalAnalysis.cs (27)
79 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 186 alpha = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 453 alpha = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 591 HypothesizedMeanDifference = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 606 variance1 = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 616 variance2 = double.Parse( parameterList[2], System.Globalization.CultureInfo.InvariantCulture ); 626 alpha = double.Parse( parameterList[3], System.Globalization.CultureInfo.InvariantCulture ); 746 HypothesizedMeanDifference = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 761 alpha = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 922 HypothesizedMeanDifference = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 937 alpha = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1049 tValue = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1060 freedom = int.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1071 oneTailed = int.Parse( parameterList[2], System.Globalization.CultureInfo.InvariantCulture ); 1119 fValue = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1130 freedom1 = int.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1141 freedom2 = int.Parse( parameterList[2], System.Globalization.CultureInfo.InvariantCulture ); 1180 zValue = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1223 probability = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1234 freedom = int.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1282 probability = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1293 freedom1 = int.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1304 freedom2 = int.Parse( parameterList[2], System.Globalization.CultureInfo.InvariantCulture ); 1348 alpha = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1735 m = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1746 n = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1788 m = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );
Common\Formulas\TechGeneralIndicators.cs (11)
82 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 156!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 288!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 299!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out averagePeriod)) 427!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 483!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 567!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 645!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out shortPeriod)) 656!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out longPeriod)) 735!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 820 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
Common\Formulas\TimeSeriesAndForecasting.cs (4)
100 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 188!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out degree)) 199throw new InvalidOperationException(SR.ExceptionForecastingNotEnoughDataPoints(degree.ToString(System.Globalization.CultureInfo.InvariantCulture))); 204!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out period))
Common\Formulas\VolumeIndicator.cs (4)
71 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 148 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 363 {startValue = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 433 {startValue = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );}
Common\General\AxisScrollZoom.cs (7)
1505 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 1523 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 1591 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 1648strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 1662strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 1680 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 1753bool parseSucceed = DateTime.TryParse(crossingValue, CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate);
Common\General\BaseCollections.cs (1)
378result = prefix + i.ToString(CultureInfo.InvariantCulture);
Common\General\Chart.cs (4)
485dataTable.Locale = CultureInfo.CurrentCulture; 491dataTable.Locale = CultureInfo.CurrentCulture; 804 throw(new ArgumentOutOfRangeException("dataSource", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ) ) ); 1389bool parseSucceed = int.TryParse(xField, NumberStyles.Any, CultureInfo.InvariantCulture, out index);
Common\General\ChartArea3D.cs (4)
1122 if(processedChartTypes.Contains(curSeries.ChartTypeName.ToUpper(System.Globalization.CultureInfo.InvariantCulture))) 1132 if(ser.ChartTypeName.ToUpper(System.Globalization.CultureInfo.InvariantCulture) == 1133 curSeries.ChartTypeName.ToUpper(System.Globalization.CultureInfo.InvariantCulture)) 1147 processedChartTypes.Add(curSeries.ChartTypeName.ToUpper(System.Globalization.CultureInfo.InvariantCulture));
Common\General\CommonElements.cs (5)
293result = double.Parse(stringToParse, NumberStyles.Any, CultureInfo.InvariantCulture); 297bool parseSucceed = double.TryParse(stringToParse, NumberStyles.Any, CultureInfo.InvariantCulture, out result); 300double.TryParse(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result); 315bool parseSucceed = float.TryParse(stringToParse, NumberStyles.Any, CultureInfo.InvariantCulture, out result); 319float.TryParse(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result);
Common\General\DataManipulator.cs (11)
433 point["_Index"] = pointIndex.ToString(System.Globalization.CultureInfo.InvariantCulture); 454 fromIndex = int.Parse(point["_Index"], System.Globalization.CultureInfo.InvariantCulture); 935dataSet.Locale = System.Globalization.CultureInfo.CurrentCulture; 967seriesTable.Locale = System.Globalization.CultureInfo.CurrentCulture; 1004 seriesTable.Columns.Add("Y" + (yIndex + 1).ToString(System.Globalization.CultureInfo.InvariantCulture), columnType); 1064 dataRow["Y" + (yIndex + 1).ToString(System.Globalization.CultureInfo.InvariantCulture)] = yValue; 1565 result[index] = Int32.Parse(rangeIndex[0], System.Globalization.CultureInfo.InvariantCulture); 1566 result[index + 1] = Int32.Parse(rangeIndex[1], System.Globalization.CultureInfo.InvariantCulture); 1590 result[index] = Int32.Parse(str, System.Globalization.CultureInfo.InvariantCulture); 3045 formulaString = formulaString.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 3158 valueIndex = Int32.Parse(formulaParts[0], System.Globalization.CultureInfo.InvariantCulture);
Common\General\FormulaData.cs (4)
299_extraParameters[0] = false.ToString(System.Globalization.CultureInfo.InvariantCulture); 634valueIndex = Int32.Parse(parts[1], System.Globalization.CultureInfo.InvariantCulture); 1289_extraParameters[0] = true.ToString(System.Globalization.CultureInfo.InvariantCulture); 1291_extraParameters[0] = false.ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\General\LegendColumns.cs (1)
2696CultureInfo.InvariantCulture,
Common\General\Selection.cs (6)
414return String.Format(CultureInfo.CurrentCulture, "{0} of {1}", this.Type, objectType); 560 region.PointIndex = int.Parse(point["OriginalPointIndex"], CultureInfo.InvariantCulture); 642 region.PointIndex = int.Parse(point["OriginalPointIndex"], CultureInfo.InvariantCulture); 725 region.PointIndex = int.Parse(point["OriginalPointIndex"], CultureInfo.InvariantCulture); 791 region.PointIndex = int.Parse(point["OriginalPointIndex"], CultureInfo.InvariantCulture); 876 region.PointIndex = int.Parse(point["OriginalPointIndex"], CultureInfo.InvariantCulture);
Common\General\Statistics.cs (40)
122 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 123 parameter += "," + varianceFirstGroup.ToString(System.Globalization.CultureInfo.InvariantCulture); 124 parameter += "," + varianceSecondGroup.ToString(System.Globalization.CultureInfo.InvariantCulture); 125 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 131 string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 186 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 187 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 195string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 249 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 250 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 256 string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 312 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 313 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 319 string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 389 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 392 string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 449 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 497 string parameter = zValue.ToString(System.Globalization.CultureInfo.InvariantCulture); 533 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 573 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture); 574 parameter += "," + firstDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 575 parameter += "," + secondDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 615 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 616 parameter += "," + firstDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 617 parameter += "," + secondDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 657 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture); 658 parameter += "," + degreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 706 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 707 parameter += "," + degreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 758 string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 927 string parameter = sampleVariance.ToString(System.Globalization.CultureInfo.InvariantCulture); 971 string parameter = m.ToString(System.Globalization.CultureInfo.InvariantCulture); 972 parameter += "," + n.ToString(System.Globalization.CultureInfo.InvariantCulture); 1008 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\General\Title.cs (2)
492throw (new ArgumentOutOfRangeException("value", SR.ExceptionValueMustBeInRange("DockingOffset", (-100).ToString(CultureInfo.CurrentCulture), (100).ToString(CultureInfo.CurrentCulture))));
Common\SR.cs (6)
25 public static CultureInfo Culture 9930 static CultureInfo _culture = null; 12517 public static CultureInfo Culture 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\CustomAttributesRegistry.cs (1)
1391String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}({1:N0})", ErrorBarType.StandardError, ErrorBarChart.DefaultErrorBarTypeValue(ErrorBarType.StandardError)),
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);
Common\Utilities\XmlSerializer.cs (11)
529 fontData += ", GdiCharSet=" + font.GdiCharSet.ToString(System.Globalization.CultureInfo.InvariantCulture); 561 gdiCharSet = (byte)Int32.Parse(val, System.Globalization.CultureInfo.InvariantCulture); 677 XmlTextWriter textWriter = new XmlTextWriter(new StringWriter(stringBuilder, CultureInfo.InvariantCulture)); 1494attrib.Value = itemIndex.ToString(CultureInfo.InvariantCulture); 1772 return colorConverter.ConvertToString(null, System.Globalization.CultureInfo.InvariantCulture, obj); 1785 return unit.Value.ToString(System.Globalization.CultureInfo.InvariantCulture); 1802return converter.ConvertToString(null, System.Globalization.CultureInfo.InvariantCulture, obj); 2060int nodeIndex = int.Parse(templateString, CultureInfo.InvariantCulture); 2168 objValue = (Color)colorConverter.ConvertFromString(null, System.Globalization.CultureInfo.InvariantCulture, attrValue); 2174 objValue = new Unit(Int32.Parse(attrValue, System.Globalization.CultureInfo.InvariantCulture)); 2192objValue = converter.ConvertFromString(null, System.Globalization.CultureInfo.InvariantCulture, attrValue);
WebForm\ChartWebControl.cs (8)
536using (StringWriter sw = new StringWriter(CultureInfo.InvariantCulture)) 829 maxSeqNumber = Int32.Parse(values[0], System.Globalization.CultureInfo.InvariantCulture); 830 imageTimeToLive = Int32.Parse(values[1], System.Globalization.CultureInfo.InvariantCulture); 855 result = String.Format(CultureInfo.InvariantCulture, result, imageSeqNumber); 908eventLog.WriteEntry(SR.EvenLogMessageChartImageFileTimeToLive(timeSpan.Minutes.ToString(CultureInfo.InvariantCulture)), EventLogEntryType.Warning); 1637 StringWriter stringWriter = new StringWriter(stringBuilder, CultureInfo.InvariantCulture); 2041 buildNumber = assembly.FullName.ToUpper(CultureInfo.InvariantCulture); 2822using (StringWriter swriter = new StringWriter(CultureInfo.InvariantCulture))
WebForm\Converters\MapAreaCoordinatesConverter.cs (4)
56public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 66array[index] = float.Parse(values[index], System.Globalization.CultureInfo.CurrentCulture); 85public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 94result += d.ToString(System.Globalization.CultureInfo.CurrentCulture) + ",";
WebForm\General\ChartHttpHandler.cs (11)
99private static string _machineHash = "_" + Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture) + "_"; 143using (TextWriter w = new StringWriter(CultureInfo.InvariantCulture)) 211string controllerFileName = String.Format(CultureInfo.InvariantCulture, "{0}msc_cntr_{1}.txt", Settings.Directory, i); 212_controllerDirectory = String.Format(CultureInfo.InvariantCulture, "charts_{0}", i); 464string guidKey = Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture); 523using (TextWriter w = new StringWriter(CultureInfo.CurrentCulture)) 834private string _sesionKey = "chartKey-" + Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture); 1112int seconds = Int32.Parse(value, CultureInfo.InvariantCulture); 1238String testFileName = fileDirectory + Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture); 1865return String.Format( CultureInfo.InvariantCulture, this._keyFormat, this._current.Value.Index); 1875return String.Format(CultureInfo.InvariantCulture, this._keyFormat, ringItem.Index);
System.Web.DynamicData (93)
DynamicData\ControlFilterExpression.cs (1)
76throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DataBoundControlParameterTarget.cs (1)
34return attribute.Name + String.Format(CultureInfo.InvariantCulture, "['{0}']", columnName);
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\DynamicDataRouteHandler.cs (2)
122return String.Format(CultureInfo.InvariantCulture, pathPattern, Model.DynamicDataFolderVirtualPath, table.Name, viewName); 133return String.Format(CultureInfo.InvariantCulture, pathPattern, Model.DynamicDataFolderVirtualPath, viewName);
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\EntityTemplateFactory.cs (1)
121return String.Format(CultureInfo.InvariantCulture, this.TemplateFolderVirtualPath + "{0}{1}.ascx", templateName, modeString);
DynamicData\FieldTemplateFactory.cs (1)
307return String.Format(CultureInfo.InvariantCulture,
DynamicData\FieldTemplateUserControl.cs (10)
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, 505converter = val => Convert.ToInt32(val, CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture); 508converter = val => Convert.ToDouble(val, CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture);
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 (11)
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, 345return String.Format(CultureInfo.InvariantCulture, "SelectedDataKey['{0}']", columnName);
DynamicData\MetaColumn.cs (2)
656T uiHintAttribute = presentationLayerSpecified.FirstOrDefault(a => presentationLayerPropertyAccessor(a).ToLower(CultureInfo.InvariantCulture) == "webforms" || 657presentationLayerPropertyAccessor(a).ToLower(CultureInfo.InvariantCulture) == "mvc") ??
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 (2)
105throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 119return String.Format(CultureInfo.InvariantCulture, format, FromColumn.Name, sortColumn.Name);
DynamicData\ModelProviders\DLinqColumnProvider.cs (1)
86return Int32.Parse(m.Groups[1].Value, CultureInfo.InvariantCulture);
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 (4)
93return Convert.ChangeType(value, type, CultureInfo.CurrentCulture); 113CultureInfo.CurrentCulture, 164return Convert.ChangeType(enumValue, Enum.GetUnderlyingType(enumType), CultureInfo.InvariantCulture); 295throw new HttpException(String.Format(CultureInfo.CurrentCulture,
DynamicData\Util\TemplateFactory.cs (1)
124CultureInfo.CurrentCulture,
Resources\DynamicDataResources.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
System.Web.Entity (8)
System\Data\WebControls\EntityDataSourceColumn.cs (1)
282return String.Format(CultureInfo.InvariantCulture, "<Set = {0}, Role = {1}>",
System\Data\WebControls\EntityDataSourceQueryBuilder.cs (2)
137queryT = queryT.Skip(orderByClause, _arguments.StartRowIndex.ToString(CultureInfo.InvariantCulture), orderByParameters).Top(_arguments.MaximumRows.ToString(CultureInfo.InvariantCulture), QueryBuilderUtils.EmptyObjectParameters);
System\Data\WebControls\EntityDataSourceUtil.cs (1)
659if (int.TryParse(components[0].Substring("SRID=".Length), NumberStyles.AllowLeadingSign, CultureInfo.InvariantCulture, out srid))
System\Data\WebControls\EntityDataSourceView.cs (2)
819string namedParameterName = "NamedParameter" + idx.ToString(CultureInfo.InvariantCulture); 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.Entity.Design (4)
Properties\Resources.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
System\Data\WebControls\Design\EntityDataSourceDataSelection.cs (1)
366selectProperties.AppendFormat(CultureInfo.InvariantCulture, "{0}{1}", s_itKeyword, EscapePropertyName(_entityTypeProperties[propertyIndex]));
System\Data\WebControls\Design\EntityDataSourceWizardForm.cs (1)
33this.Text = String.Format(CultureInfo.InvariantCulture, Strings.Wizard_Caption(((EntityDataSource)entityDataSourceDesigner.Component).ID));
System.Web.Extensions (313)
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\ClientData.cs (2)
88long l = long.Parse(s, NumberStyles.HexNumber, CultureInfo.InvariantCulture); 196writer.WriteValue(((DateTime)_StoredValues[iter]).ToFileTimeUtc().ToString("X", CultureInfo.InvariantCulture));
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (2)
149throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, AtlasWeb.AttributeNotRecognized, attribUnrecognized)); 435SqlHelper.AddParameter(conn, cmd, "@Date", DateTime.Now.ToFileTimeUtc().ToString(CultureInfo.InvariantCulture));
ClientServices\Providers\ClientRoleProvider.cs (4)
57_CacheTimeout = int.Parse(temp, CultureInfo.InvariantCulture); 93throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, AtlasWeb.AttributeNotRecognized, attribUnrecognized)); 282SqlHelper.AddParameter(conn, cmd, "@Date", DateTime.UtcNow.ToFileTimeUtc().ToString(CultureInfo.InvariantCulture)); 332long filetime = long.Parse(date, CultureInfo.InvariantCulture);
ClientServices\Providers\ClientSettingsProvider.cs (2)
192throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, AtlasWeb.AttributeNotRecognized, attribUnrecognized)); 224null, null, null, CultureInfo.InvariantCulture) as ApplicationSettingsBase;
ClientServices\Providers\ProxyHelper.cs (1)
95throw new WebException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ProxyHelper_BadStatusCode, response.StatusCode.ToString(), GetResponseString(response)), we);
ClientServices\Providers\SqlHelper.cs (1)
216null, engine, null, CultureInfo.InvariantCulture);
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 (3)
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) 653return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}[@name='{1}']", elementAttribute.ElementName, itemName);
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,
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (1)
171default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Compilation.WCFModel.MetadataFile.MetadataType");
Compilation\XmlSerializer\SvcMapFileSerializer.cs (3)
142default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Compilation.WCFModel.MetadataFile.MetadataType"); 328default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Compilation.WCFModel.ClientOptions.ProxySerializerType"); 359default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Compilation.WCFModel.ReferencedCollectionType.CollectionCategory");
Configuration\ConvertersCollection.cs (2)
83throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ConvertersCollection_UnknownType, converter.Type)); 87throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ConvertersCollection_NotJavaScriptConverter, t.Name));
Globalization\ClientCultureInfo.cs (7)
19private static readonly CultureInfo enUS = CultureInfo.GetCultureInfo(0x409); 32private ClientCultureInfo(CultureInfo cultureInfo) { 106return GetClientCultureScriptBlock(CultureInfo.CurrentCulture); 109internal static Tuple<String, String> GetClientCultureScriptBlock(CultureInfo cultureInfo) { 120var key = new Tuple<CultureInfo, Type>(cultureInfo, calendarType); 128script += "\r\n__cultureInfo.dateTimeFormat.Calendar._adjustment = " + clientCultureInfo._adjustment.ToString(CultureInfo.InvariantCulture) + ";";
Handlers\IScriptResourceHandler.cs (2)
17Assembly assembly, string resourceName, CultureInfo culture, bool zip); 20List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, bool zip);
Handlers\ScriptModule.cs (1)
99httpCode.ToString(CultureInfo.InvariantCulture),
Handlers\ScriptResourceHandler.cs (37)
54internal static CultureInfo DetermineNearestAvailableCulture( 57CultureInfo culture) { 59if (String.IsNullOrEmpty(scriptResourceName)) return CultureInfo.InvariantCulture; 61Tuple<Assembly, string, CultureInfo> cacheKey = Tuple.Create(assembly, scriptResourceName, culture); 62CultureInfo cachedCulture = (CultureInfo)_cultureCache[cacheKey]; 85resourceManager.GetResourceSet(CultureInfo.InvariantCulture, true, true); 90releaseResourceManager.GetResourceSet(CultureInfo.InvariantCulture, true, true); 97if (culture.Equals(CultureInfo.InvariantCulture)) break; 104culture = CultureInfo.InvariantCulture; 108culture = CultureInfo.InvariantCulture; 111CultureInfo neutralCulture = GetAssemblyNeutralCulture(assembly); 113culture = CultureInfo.InvariantCulture; 142CultureInfo.InvariantCulture; 179private static CultureInfo GetAssemblyNeutralCulture(Assembly assembly) { 180CultureInfo neutralCulture = (CultureInfo)_cultureCache[assembly]; 184neutralCulture = CultureInfo.GetCultureInfo( 206CultureInfo culture, 214List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, 409String.IsNullOrEmpty(cultureName) ? CultureInfo.InvariantCulture : new CultureInfo(cultureName), 484String.IsNullOrEmpty(cultureName) ? CultureInfo.InvariantCulture : new CultureInfo(cultureName), 567Assembly assembly, string resourceName, CultureInfo culture, bool zip) { 570new List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>>() { 571new Tuple<Assembly, List<Tuple<string, CultureInfo>>>( 573new List<Tuple<string,CultureInfo>>() { 574new Tuple<string, CultureInfo>(resourceName, culture) 581List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, 589foreach (Tuple<Assembly, List<Tuple<string, CultureInfo>>> assemblyData in assemblyResourceLists) { 602foreach (Tuple<Assembly, List<Tuple<string, CultureInfo>>> assemblyData in assemblyResourceLists) { 604foreach (Tuple<string, CultureInfo> resourceAndCulture in assemblyData.Item2) { 628List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> assemblyResourceLists, 675foreach (Tuple<Assembly, List<Tuple<string, CultureInfo>>> assemblyData in assemblyResourceLists) { 711foreach (Tuple<string, CultureInfo> resourceAndCulture in assemblyData.Item2) { 719Tuple<Assembly, string, CultureInfo> cacheKey = Tuple.Create( 787throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ScriptResourceHandler_ResourceUrlTooLong, _maximumResourceUrlLength)); 807throw new HttpException(String.Format(CultureInfo.CurrentCulture,
Resources\AtlasWeb.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
Resources\WCFModelStrings.Designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
Script\Serialization\JavaScriptObjectDeserializer.cs (7)
36throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_IllegalPrimitive, jsod._s.ToString())); 237if (Int32.TryParse(input, NumberStyles.Integer, CultureInfo.InvariantCulture, out n)) { 244if (Int64.TryParse(input, NumberStyles.Integer, CultureInfo.InvariantCulture, out l)) { 252if (decimal.TryParse(input, NumberStyles.Number, CultureInfo.InvariantCulture, out dec)) { 261if (Double.TryParse(input, NumberStyles.Float, CultureInfo.InvariantCulture, out d)) { 267throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_IllegalPrimitive, input)); 345sb.Append((char)int.Parse(_s.MoveNext(4), NumberStyles.HexNumber, CultureInfo.InvariantCulture));
Script\Serialization\JavaScriptSerializer.cs (6)
322throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DictionaryTypeNotSupported, o.GetType().FullName)); 455sb.Append(((double)o).ToString("r", CultureInfo.InvariantCulture)); 460sb.Append(((float)o).ToString("r", CultureInfo.InvariantCulture)); 468sb.Append(convertible.ToString(CultureInfo.InvariantCulture)); 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 (8)
190throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DictionaryTypeNotSupported, type.FullName)); 233throw new MissingMethodException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_NoConstructor, type.FullName)); 236throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DeserializerTypeMismatch, type.FullName)); 348convertedObject = converter.ConvertFrom(null, CultureInfo.InvariantCulture, o); 374s = ((DateTime)o).ToUniversalTime().ToString("u", CultureInfo.InvariantCulture); 403throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CannotConvertObjectToType, o.GetType(), type)); 477throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_CannotCreateListType, type.FullName)); 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 (4)
142throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_NoWebServiceDataInlineScript, virtualPath)); 145throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_NoWebServiceData, virtualPath)); 273String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_UnknownWebMethod, methodName), "methodName"); 350throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
Script\Services\WebServiceEnumData.cs (2)
73this.values[i] = (long)((IConvertible)enumValue).ToUInt64(CultureInfo.InvariantCulture); 76this.values[i] = ((IConvertible)enumValue).ToInt64(CultureInfo.InvariantCulture);
Script\Services\WebServiceMethodData.cs (1)
172throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_MissingArg, paramData.ParameterInfo.Name));
Script\Services\WebServiceTypeData.cs (1)
60_stringRepresentation = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", name, ns);
UI\AsyncPostBackTrigger.cs (3)
85throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, Owner.ID)); 104throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.AsyncPostBackTrigger_CannotFindEvent, eventName, ControlID, Owner.ID)); 112throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.AsyncPostBackTrigger_InvalidEvent, eventName, ControlID, Owner.ID));
UI\CompositeScriptReference.cs (11)
59CultureInfo currentCulture = CultureInfo.CurrentUICulture; 62while (!currentCulture.Equals(CultureInfo.InvariantCulture)) { 81List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>> resources = 82new List<Tuple<Assembly, List<Tuple<string, CultureInfo>>>>(); 83Tuple<Assembly, List<Tuple<string, CultureInfo>>> resourceList = null; 116throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture, 128CultureInfo culture = reference.DetermineCulture(scriptManager); 130resourceList = new Tuple<Assembly, List<Tuple<string, CultureInfo>>>( 131cacheAssembly, new List<Tuple<string, CultureInfo>>()); 168resourceList.Item2.Add(new Tuple<string, CultureInfo>(resourceName, culture));
UI\EmptyStringExpandableObjectConverter.cs (1)
15public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value,
UI\ExtenderControl.cs (3)
63throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 126throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 132throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\PageRequestManager.cs (9)
146writer.Write(content.Length.ToString(CultureInfo.InvariantCulture)); 226return new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_InvalidControlRegistration, control.ID)); 580throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_CannotRegisterBothPostBacks, control.ID)); 606CultureInfo.InvariantCulture, 627throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_CannotRegisterBothPostBacks, control.ID)); 645String.Format(CultureInfo.InvariantCulture, "The UpdatePanel with ID '{0}' has already been registered with the ScriptManager.", updatePanel.ID)); 777EncodeString(writer, AsyncPostBackTimeoutToken, String.Empty, _owner.AsyncPostBackTimeout.ToString(CultureInfo.InvariantCulture)); 840writer.Write(_owner.AsyncPostBackTimeout.ToString(CultureInfo.InvariantCulture)); 918throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_UpdatePanelNotRegistered, updatePanel.ID), "updatePanel");
UI\PostBackTrigger.cs (1)
51throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, Owner.ID));
UI\ProfileServiceManager.cs (1)
204throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_UnknownProfileProperty, fullPropertyName));
UI\ScriptControl.cs (1)
55throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\ScriptControlDescriptor.cs (1)
43String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptControlDescriptor_IDNotSettable,
UI\ScriptControlManager.cs (6)
194String.Format(CultureInfo.InvariantCulture, 203String.Format(CultureInfo.InvariantCulture, 230String.Format(CultureInfo.InvariantCulture, 240String.Format(CultureInfo.InvariantCulture, 299throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 311throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\ScriptManager.cs (6)
1086return "UniqueScript_" + _uniqueScriptCounter.ToString(CultureInfo.InvariantCulture); 1163(EnableScriptLocalization ? CultureInfo.CurrentUICulture : CultureInfo.InvariantCulture), 1262String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptManager_MustHaveGreaterVersion, 1537Tuple<String, String> entry = ClientCultureInfo.GetClientCultureScriptBlock(CultureInfo.CurrentCulture); 1770String.Format(CultureInfo.InvariantCulture, "({0})||document.write('<script type=\"text/javascript\" src=\"{1}\"><\\/script>');", scriptInfo.LoadSuccessExpression, fallbackPath),
UI\ScriptManagerProxy.cs (1)
151throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID));
UI\ScriptReference.cs (18)
158CultureInfo culture = (scriptManager.EnableScriptLocalization ? 159DetermineCulture(scriptManager) : CultureInfo.InvariantCulture); 160if (!culture.Equals(CultureInfo.InvariantCulture)) { 168private static string AddCultureName(CultureInfo culture, string resourceName) { 192internal CultureInfo DetermineCulture(ScriptManager scriptManager) { 197.DetermineNearestAvailableCulture(GetAssembly(scriptManager), EffectiveResourceName, CultureInfo.CurrentUICulture); 199return CultureInfo.InvariantCulture; 201CultureInfo currentCulture = CultureInfo.CurrentUICulture; 202while (!currentCulture.Equals(CultureInfo.InvariantCulture)) { 244String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptReference_InvalidReleaseScriptName, releaseName)); 291CultureInfo culture, 299private static string GetScriptPathCached(string resourceName, Assembly assembly, CultureInfo culture) { 300Tuple<string, Assembly, CultureInfo> key = Tuple.Create(resourceName, assembly, culture); 313if (!culture.Equals(CultureInfo.InvariantCulture)) { 355throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture, 432CultureInfo culture = (scriptManager.EnableScriptLocalization ? 433DetermineCulture(scriptManager) : CultureInfo.InvariantCulture);
UI\ScriptReferenceBase.cs (1)
179String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptReference_InvalidReleaseScriptPath, pathWithoutQuery));
UI\ScriptRegistrationManager.cs (3)
126throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptRegistrationManager_InvalidChars, entry.Type.FullName, entry.Key, tweenSpace)); 674throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptRegistrationManager_NoCloseTag, activeRegistration.Type.FullName, activeRegistration.Key)); 716throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptRegistrationManager_NoTags, activeRegistration.Type.FullName, activeRegistration.Key));
UI\ScriptResourceAttribute.cs (7)
120assembly, embeddedResourceName, CultureInfo.CurrentUICulture, zip)); 128throw new HttpException(String.Format(CultureInfo.CurrentCulture, 154Assembly assembly, string resourceName, CultureInfo culture, 175CultureInfo previousCulture = Thread.CurrentThread.CurrentUICulture; 183neutralSet = resourceManager.GetResourceSet(CultureInfo.InvariantCulture, true, true); 189releaseNeutralSet = releaseResourceManager.GetResourceSet(CultureInfo.InvariantCulture, true, true); 196CultureInfo.CurrentCulture,
UI\ScriptResourceInfo.cs (1)
106String.Format(CultureInfo.CurrentCulture,
UI\ScriptResourceMapping.cs (1)
46String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptResourceDefinition_InvalidPath, path));
UI\ServiceReference.cs (1)
74String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_InvalidInlineVirtualPath, serviceUrl));
UI\Timer.cs (2)
98throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID)); 133return "[" + ((Enabled) ? "true" : "false") + "," + Interval.ToString(CultureInfo.InvariantCulture) + "]";
UI\UpdatePanel.cs (11)
102throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotSetContentTemplate, ID)); 196throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID)); 353throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_ChildrenTriggersAndUpdateAlways, ID)); 404HtmlTextWriter childWriter = new HtmlTextWriter(new StringWriter(CultureInfo.CurrentCulture)); 441throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_UpdateConditional, ID)); 445throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_UpdateTooLate, ID)); 472throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 476throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 480throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 495throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 502throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID));
UI\UpdatePanelControlTrigger.cs (2)
40throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanelControlTrigger_NoControlID, Owner.ID)); 44throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanelControlTrigger_ControlNotFound, ControlID, Owner.ID));
UI\UpdateProgress.cs (2)
128throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID)); 198throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdateProgress_NoUpdatePanel, AssociatedUpdatePanelID));
UI\WebControls\DataPager.cs (4)
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)); 356return _queryStringNavigateUrl + pageNumber.ToString(CultureInfo.InvariantCulture);
UI\WebControls\DataSourceHelper.cs (4)
117throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 122throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 189throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 191String.Format(CultureInfo.InvariantCulture, "Nullable<{0}>",
UI\WebControls\Dynamic.cs (3)
434return string.Format(CultureInfo.InvariantCulture, AtlasWeb.ParseException_ParseExceptionFormat, Message, position); 670AddSymbol("@" + i.ToString(CultureInfo.InvariantCulture), value); 2052return new ParseException(string.Format(CultureInfo.CurrentCulture, format, args), pos);
UI\WebControls\Expressions\MethodExpression.cs (6)
83MethodName = String.Format(CultureInfo.CurrentCulture, MethodName, dataSource.EntitySetName); 121throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 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\LinqDataSourceView.cs (18)
113throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 120throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 135throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 176throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 215throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 359throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 386throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 610throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 635LinqDataSourceValidationException exception = new LinqDataSourceValidationException(String.Format(CultureInfo.InvariantCulture, 885throw new LinqDataSourceValidationException(String.Format(CultureInfo.InvariantCulture, 922throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 929throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture, 937throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 941throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 948throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture, 953throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 961throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 969throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\ListView.cs (27)
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)); 1385control.ID = _automaticIDPrefix + _autoIDIndex++.ToString(CultureInfo.InvariantCulture); 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)); 2091return Convert.ToInt32(commandArgument, CultureInfo.InvariantCulture); 2101return Int32.TryParse(commandArgument, NumberStyles.Integer, CultureInfo.InvariantCulture, out itemIndex); 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\NextPreviousPagerField.cs (1)
505button.CommandArgument = fieldIndex.ToString(CultureInfo.InvariantCulture);
UI\WebControls\NumericPagerField.cs (9)
309int pageIndex = Convert.ToInt32(e.CommandName, CultureInfo.InvariantCulture); 348link.Text = pageNumber.ToString(CultureInfo.InvariantCulture); 420container.Controls.Add(CreateNextPrevButton(PreviousPageText, DataControlCommands.PreviousPageCommandArgument, fieldIndex.ToString(CultureInfo.InvariantCulture), PreviousPageImageUrl)); 427pageNumber.Text = (i + firstButtonIndex + 1).ToString(CultureInfo.InvariantCulture); 434container.Controls.Add(CreateNumericButton((i + firstButtonIndex + 1).ToString(CultureInfo.InvariantCulture), fieldIndex.ToString(CultureInfo.InvariantCulture), (i + firstButtonIndex).ToString(CultureInfo.InvariantCulture))); 441container.Controls.Add(CreateNextPrevButton(NextPageText, DataControlCommands.NextPageCommandArgument, fieldIndex.ToString(CultureInfo.InvariantCulture), NextPageImageUrl)); 462pageNumber.Text = (i + firstButtonIndex + 1).ToString(CultureInfo.InvariantCulture);
UI\WebControls\QueryableDataSource.cs (1)
77throw new ArgumentException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\QueryableDataSourceHelper.cs (4)
122throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 139throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 225throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 232throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\QueryableDataSourceView.cs (4)
402throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 413throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 426throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 468throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
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"));
UI\WebResourceUtil.cs (4)
52CultureInfo.CurrentUICulture, 82CultureInfo.CurrentUICulture, 88CultureInfo.CurrentUICulture, 101CultureInfo.CurrentUICulture,
Util\HexParser.cs (2)
16tokenBytes[i] = Byte.Parse(token.Substring(i * 2, 2), NumberStyles.HexNumber, CultureInfo.InvariantCulture); 24tokenBuilder.Append(tokenBytes[i].ToString("x2", CultureInfo.InvariantCulture));
System.Web.Mobile (279)
Mobile\MobileCapabilities.cs (1)
159String hashKey = ((currentFilters == null) ? "null" : currentFilters.GetHashCode().ToString(CultureInfo.InvariantCulture))
Mobile\MobileErrorInfo.cs (2)
71this.LineNumber = error.Line.ToString(CultureInfo.InvariantCulture); 91this.LineNumber = parseException.Line.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (22)
146_monthList.DataMember = Convert.ToString(_monthsToDisplay + 2, CultureInfo.InvariantCulture); 188list, Convert.ToInt32(list.DataMember, CultureInfo.InvariantCulture)); 210Control.VisibleDate = new DateTime(Int64.Parse((String)triplet.Third, CultureInfo.InvariantCulture)); 217Control.VisibleDate = new DateTime(Int64.Parse((String)viewState[2], CultureInfo.InvariantCulture)); 264return new Triplet(baseState, _chooseOption, visibleDate.Ticks.ToString(CultureInfo.InvariantCulture)); 270visibleDate.Ticks.ToString(CultureInfo.InvariantCulture), 361OptionPrompt.ToString(CultureInfo.InvariantCulture), 383currentDateTimeInfo.ShortDatePattern, CultureInfo.CurrentCulture)); 429writer.Write(numericDateFormat.ToUpper(CultureInfo.InvariantCulture)); 441_textBox.Text = Control.VisibleDate.ToString(numericDateFormat, CultureInfo.InvariantCulture); 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); 589SecondaryUIMode = Int32.Parse(eventArgument, CultureInfo.InvariantCulture); 733return dateTime.ToString("gg", CultureInfo.CurrentCulture); 829HandlePostBackEvent(TypeDateDone.ToString(CultureInfo.InvariantCulture)); 838HandlePostBackEvent(SecondaryUIMode.ToString(CultureInfo.InvariantCulture)); 876HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 901HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 918HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\ChtmlFormAdapter.cs (2)
120writer.Write(String.Format(CultureInfo.InvariantCulture, _contentTypeMetaTag, Device.PreferredRenderingMime, charset)); 144writer.Write(pageToNavigate.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\ChtmlImageAdapter.cs (1)
53writer.Write(Char.ToUpper(symbolChars[0], CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\ChtmlSelectionListAdapter.cs (1)
97writer.Write(item.Index.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\ControlAdapter.cs (2)
229optimumPageWeight = Convert.ToInt32(pageWeight, CultureInfo.InvariantCulture); 246int numLines = Convert.ToInt32(numLinesStr, CultureInfo.InvariantCulture);
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 (2)
106StringWriter sw = new StringWriter(CultureInfo.InvariantCulture); 136String.Format(CultureInfo.CurrentCulture, "bgcolor=\"{0}\" ", bgColorDistance < _bgColorDistanceTreshold ? "White" : "Silver");
UI\MobileControls\Adapters\HtmlFormAdapter.cs (3)
99writer.WriteAttribute("method", Control.Method.ToString().ToLower(CultureInfo.InvariantCulture)); 235writer.Write(String.Format(CultureInfo.InvariantCulture, _contentTypeMetaTag, Device.PreferredRenderingMime, charset)); 349RenderPostBackEventAsAnchor(writer, pageToNavigate.ToString(CultureInfo.InvariantCulture),
UI\MobileControls\Adapters\HtmlListAdapter.cs (1)
162RenderPostBackEventAsAttribute(writer, "href", item.Index.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (1)
1107new HtmlTextWriter(new StringWriter(CultureInfo.InvariantCulture)), tempWriter.Device);
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (10)
215item.Index.ToString(CultureInfo.InvariantCulture) : 216String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index.ToString(CultureInfo.InvariantCulture)); 243String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 305item.Index.ToString(CultureInfo.InvariantCulture) : 306String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 327RenderPostBackEventAsAttribute(writer, "href", String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index)); 524writer.Write(columnSpan.ToString(CultureInfo.InvariantCulture)); 559itemIndex = Int32.Parse(eventArgument, CultureInfo.InvariantCulture); 588return Int32.Parse(arg.Substring(ShowMore.Length), CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\HtmlPhoneCallAdapter.cs (1)
77String text = String.Format(CultureInfo.CurrentCulture, Control.AlternateFormat, Control.Text,
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (4)
95writer.WriteAttribute("size", Control.Rows.ToString(CultureInfo.InvariantCulture)); 278selectedItemIndices[i] = Int32.Parse(selectedItems[i], CultureInfo.InvariantCulture); 317writer.WriteAttribute("value", index.ToString(CultureInfo.InvariantCulture)); 341writer.WriteHiddenField(uniqueID, i.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\HtmlTextBoxAdapter.cs (2)
63writer.WriteAttribute("size", Control.Size.ToString(CultureInfo.InvariantCulture)); 67writer.WriteAttribute("maxlength", Control.MaxLength.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (3)
146Write(String.Format(CultureInfo.InvariantCulture, _loopDetectionCard, Page.ActiveForm.ClientID)); 175ufps += (SessionCount + 1).ToString(CultureInfo.InvariantCulture); 1146String nextCardId = "card" + (_currentCardIndex + 1).ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (25)
128_monthList.DataMember = Convert.ToString(_monthsToDisplay + 2, CultureInfo.InvariantCulture); 170list, Convert.ToInt32(list.DataMember, CultureInfo.InvariantCulture)); 192Control.VisibleDate = new DateTime(Int64.Parse((String)triplet.Third, CultureInfo.InvariantCulture)); 199Control.VisibleDate = new DateTime(Int64.Parse((String)viewState[2], CultureInfo.InvariantCulture)); 247return new Triplet(baseState, _chooseOption, visibleDate.Ticks.ToString(CultureInfo.InvariantCulture)); 253visibleDate.Ticks.ToString(CultureInfo.InvariantCulture), 348OptionPrompt.ToString(CultureInfo.InvariantCulture), 365currentDateTimeInfo.ShortDatePattern, CultureInfo.CurrentCulture)); 406writer.RenderText(numericDateFormat.ToUpper(CultureInfo.InvariantCulture)); 418_textBox.Text = Control.VisibleDate.ToString(numericDateFormat, CultureInfo.InvariantCulture); 426TypeDateDone.ToString(CultureInfo.InvariantCulture), 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); 570SecondaryUIMode = Int32.Parse(eventArgument, CultureInfo.InvariantCulture); 710return dateTime.ToString("gg", CultureInfo.CurrentCulture); 810HandlePostBackEvent(SecondaryUIMode.ToString(CultureInfo.InvariantCulture)); 848HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 873HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 890HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\WmlFormAdapter.cs (2)
137(page + 1).ToString(CultureInfo.InvariantCulture), 149(page - 1).ToString(CultureInfo.InvariantCulture),
UI\MobileControls\Adapters\WmlListAdapter.cs (1)
86RenderPostBackEvent(writer, item.Index.ToString(CultureInfo.InvariantCulture), null, true, item.Text, true);
UI\MobileControls\Adapters\WmlMobileTextWriter.cs (8)
376WriteAttribute("size", size.ToString(CultureInfo.InvariantCulture)); 380WriteAttribute("maxlength", maxLength.ToString(CultureInfo.InvariantCulture)); 1515shortName = String.Concat(_shortNamePrefix, shortName, _controlShortNames.Count.ToString(CultureInfo.InvariantCulture)); 1559Debug.Assert(_postBackEventTargetVarName.ToLower(CultureInfo.InvariantCulture) == _postBackEventTargetVarName && 1560_postBackEventArgumentVarName.ToLower(CultureInfo.InvariantCulture) == _postBackEventArgumentVarName && 1561_shortNamePrefix.ToLower(CultureInfo.InvariantCulture) == _shortNamePrefix); 1563name = name.ToLower(CultureInfo.InvariantCulture); 1650_requiresNoSoftkeyLabels = Convert.ToBoolean(RequiresNoSoftkeyLabelsString, CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (8)
156writer.Write(fieldCount.ToString(CultureInfo.InvariantCulture)); 182String.Format(CultureInfo.InvariantCulture, _showMoreFormatAnchor, item.Index) : 183item.Index.ToString(CultureInfo.InvariantCulture), 214String.Format(CultureInfo.InvariantCulture, _showMoreFormatAnchor, item.Index) : 215item.Index.ToString(CultureInfo.InvariantCulture), 287String displayText = String.Format(CultureInfo.InvariantCulture, "{0}: {1}", field.Title, item[fieldIndex]); 327itemIndex = Int32.Parse(eventArgument, CultureInfo.InvariantCulture); 374return Int32.Parse(arg.Substring(_showMore.Length), CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\WmlPageAdapter.cs (3)
408writer.Write(String.Format(CultureInfo.InvariantCulture, _headerEncoding, charset)); 470_requiresUTF8ContentEncoding = Convert.ToBoolean(RequiresUTF8ContentEncodingString, CultureInfo.InvariantCulture); 494_requiresValueAttributeInInputTag = Convert.ToBoolean(RequiresValueAttributeInInputTagString, CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\WmlPhoneCallAdapter.cs (1)
74text = String.Format(CultureInfo.InvariantCulture, Control.AlternateFormat,
UI\MobileControls\Adapters\WmlSelectionListAdapter.cs (3)
73ivalue.Append((firstSelectedIndex + 1).ToString(CultureInfo.InvariantCulture)); 81ivalue.Append((i + 1).ToString(CultureInfo.InvariantCulture)); 228selectedItemIndices[i] = Int32.Parse(selectedItems[i], CultureInfo.InvariantCulture) - 1;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (22)
124_monthList.DataMember = Convert.ToString(_monthsToDisplay + 2, CultureInfo.InvariantCulture); 162list, Convert.ToInt32(list.DataMember, CultureInfo.InvariantCulture)); 181Control.VisibleDate = new DateTime(Int64.Parse((String)triplet.Third, CultureInfo.InvariantCulture)); 187Control.VisibleDate = new DateTime(Int64.Parse((String)viewState[2], CultureInfo.InvariantCulture)); 226return new Triplet(baseState, _chooseOption, visibleDate.Ticks.ToString(CultureInfo.InvariantCulture)); 231visibleDate.Ticks.ToString(CultureInfo.InvariantCulture), 314OptionPrompt.ToString(CultureInfo.InvariantCulture), 333currentDateTimeInfo.ShortDatePattern, CultureInfo.CurrentCulture)); 375writer.Write(numericDateFormat.ToUpper(CultureInfo.InvariantCulture)); 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); 525SecondaryUIMode = Int32.Parse(eventArgument, CultureInfo.InvariantCulture); 652return dateTime.ToString("gg", CultureInfo.CurrentCulture); 737HandlePostBackEvent(TypeDateDone.ToString(CultureInfo.InvariantCulture)); 745HandlePostBackEvent(SecondaryUIMode.ToString(CultureInfo.InvariantCulture)); 778HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 800HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture)); 815HandlePostBackEvent(Done.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicFormAdapter.cs (2)
49writer.WriteAttribute ("method", Control.Method.ToString().ToLower(CultureInfo.CurrentCulture)); 360writer.Write(pageToNavigate.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicListAdapter.cs (1)
123item.Index.ToString(CultureInfo.InvariantCulture) /*event argument*/,
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (11)
108itemIndex = Int32.Parse(eventArgument, CultureInfo.InvariantCulture); 180(String.Compare (Control.DefaultCommand, Control.Commands[0].Name, true /* ignore case */, CultureInfo.CurrentCulture) == 0); 192return Int32.Parse(arg.Substring(ShowMore.Length), CultureInfo.InvariantCulture); 493item.Index.ToString(CultureInfo.InvariantCulture) : 494String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 526String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 569String eventArgument = HasDefaultCommand() ? item.Index.ToString(CultureInfo.InvariantCulture) : String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index.ToString(CultureInfo.InvariantCulture)); 583String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 631additionalAttributes["colspan"] = columnSpan.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPhoneCallAdapter.cs (1)
84CultureInfo.CurrentCulture,
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicSelectionListAdapter.cs (5)
78builder.Append(i.ToString(CultureInfo.InvariantCulture)); 132selectedItemIndices[i] = Int32.Parse(selectedItems[i], CultureInfo.InvariantCulture); 229writer.WriteAttribute ("size", Control.Rows.ToString(CultureInfo.InvariantCulture)); 259writer.WriteAttribute ("value", index.ToString(CultureInfo.InvariantCulture)); 278writer.WriteHiddenField(uniqueID, i.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicTextBoxAdapter.cs (2)
66writer.WriteAttribute("size", Control.Size.ToString(CultureInfo.InvariantCulture)); 70writer.WriteAttribute("maxlength", Control.MaxLength.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicValidationSummaryAdapter.cs (1)
76if (String.Compare(Control.FormToValidate, Control.Form.UniqueID, true, CultureInfo.CurrentCulture) != 0) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (6)
179InnerWriter = new StringWriter (_preWmlOnEventMarkupBuilder, CultureInfo.InvariantCulture); 203StringWriter writer = new StringWriter(encodedValue, CultureInfo.InvariantCulture); 461tag = tag.ToLower(CultureInfo.InvariantCulture); 505InnerWriter = new StringWriter(_postWmlOnEventMarkupBuilder, CultureInfo.InvariantCulture); 528_cacheKey = styleText.GetHashCode ().ToString (CultureInfo.InvariantCulture); 547_sessionKey = XhtmlConstants.SessionKeyPrefix + styleText.GetHashCode ().ToString (CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlStyleClass.cs (3)
112classBuilder.Append ("text-align: " + styleAlignment.ToString ().ToLower(CultureInfo.InvariantCulture) + ";\r\n"); 122classBuilder.Append ("background-color: " + ColorTranslator.ToHtml (styleColor).ToLower(CultureInfo.InvariantCulture) + ";\r\n"); 132classBuilder.Append ("color: " + ColorTranslator.ToHtml (styleColor).ToLower(CultureInfo.InvariantCulture) + ";\r\n");
UI\MobileControls\ControlsConfig.cs (1)
173size = Int32.Parse(sizeString, CultureInfo.InvariantCulture);
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (1)
274return String.Format(CultureInfo.CurrentCulture,
UI\MobileControls\Design\Adapters\DesignerAdRotatorAdapter.cs (1)
41width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (4)
103tmpRequiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(String.Format(CultureInfo.CurrentCulture, htmlFragment, HttpUtility.HtmlEncode(controlText.Substring(0, allowedLength)))); 133additionalStyle = String.Format(CultureInfo.CurrentCulture, "width:{0};", width); 156width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px"; 184width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerImageAdapter.cs (1)
42width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerLabelAdapter.cs (1)
48width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerLinkAdapter.cs (1)
46width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (3)
104requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(size > 0 ? String.Format(CultureInfo.InvariantCulture, htmlFragment, size) : htmlFragment); 122requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(String.Format(CultureInfo.InvariantCulture, htmlFragment, fittingSize)); 164writer.WriteAttribute("size", fittingSize.ToString(CultureInfo.InvariantCulture));
UI\MobileControls\Design\Adapters\DesignerTextViewAdapter.cs (4)
53width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px"; 215tagName = text.Substring(tagBegin+1, i-tagBegin-1).Trim().ToUpper(CultureInfo.InvariantCulture); 243tagName = text.Substring(tagBegin+1, i-tagBegin-1).Trim().ToUpper(CultureInfo.InvariantCulture); 296tagName = text.Substring(tagBegin+1, i-tagBegin-1).Trim().ToUpper(CultureInfo.InvariantCulture);
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (2)
31base(new StringWriter(CultureInfo.CurrentCulture), DesignerCapabilities.Instance) 74width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Adapters\DesignerValidationSummaryAdapter.cs (2)
49width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px"; 71writer.Write(SR.GetString(SR.ValidationSummary_ErrorMessage, i.ToString(CultureInfo.InvariantCulture)));
UI\MobileControls\Design\Adapters\DesignerValidatorAdapter.cs (1)
48width = maxWidth.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Constants.cs (1)
25ControlSizeAtToplevelInNonErrorMode = ControlMaxsizeAtToplevel.ToString(CultureInfo.InvariantCulture) + "px";
UI\MobileControls\Design\Converters\ChoiceConverter.cs (1)
31public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
UI\MobileControls\Design\Converters\DataFieldConverter.cs (1)
72public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
UI\MobileControls\Design\Converters\DataMemberConverter.cs (1)
69public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
UI\MobileControls\Design\Converters\FontNameConverter.cs (2)
53public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 86hash[name.ToLower(CultureInfo.InvariantCulture)] = name;
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (2)
127String preID = ((String)styleArray[0]).ToLower(CultureInfo.InvariantCulture); 137preID = ((String)styleArray[i]).ToLower(CultureInfo.InvariantCulture);
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\ListComponentEditorPage.cs (2)
128while (NameExists(DefaultName + i.ToString(CultureInfo.InvariantCulture))) 132return DefaultName + i.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Design\ListGeneralPage.cs (9)
236_itemCountTextBox.Text = list.ItemCount.ToString(CultureInfo.InvariantCulture); 237_itemsPerPageTextBox.Text = list.ItemsPerPage.ToString(CultureInfo.InvariantCulture); 275_rowsTextBox.Text = selectionList.Rows.ToString(CultureInfo.InvariantCulture); 329itemCount = Int32.Parse(_itemCountTextBox.Text, CultureInfo.InvariantCulture); 335_itemCountTextBox.Text = list.ItemCount.ToString(CultureInfo.InvariantCulture); 344itemsPerPage = Int32.Parse(_itemsPerPageTextBox.Text, CultureInfo.InvariantCulture); 350_itemsPerPageTextBox.Text = list.ItemsPerPage.ToString(CultureInfo.InvariantCulture); 385rows = Int32.Parse(_rowsTextBox.Text, CultureInfo.InvariantCulture); 391_rowsTextBox.Text = selectionList.Rows.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Design\MobileContainerDesigner.cs (3)
89null, this, null, CultureInfo.InvariantCulture); 501String childUpperContent = childContent.ToUpper(CultureInfo.InvariantCulture); 505if (!childUpperContent.StartsWith("<" + tagPrefix.ToUpper(CultureInfo.InvariantCulture) + ":", StringComparison.Ordinal))
UI\MobileControls\Design\MobileControlDesigner.cs (2)
131null, this, null, CultureInfo.InvariantCulture); 357StringWriter sw = new StringWriter(CultureInfo.InvariantCulture);
UI\MobileControls\Design\MobileControlPersister.cs (5)
250StringWriter tagProps = new StringWriter(CultureInfo.InvariantCulture); 251StringWriter innerProps = new StringWriter(CultureInfo.InvariantCulture); 338StringWriter sw = new StringWriter(CultureInfo.InvariantCulture); 760StringWriter sw = new StringWriter(CultureInfo.InvariantCulture); 791StringWriter sw = new StringWriter(CultureInfo.InvariantCulture);
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (3)
182null, this, null, CultureInfo.InvariantCulture); 651templateContent = String.Format(CultureInfo.CurrentCulture, _illFormedHtml, _illFormedWarning); 714choice.Xmlns.ToLower(CultureInfo.InvariantCulture).IndexOf(_htmlString, StringComparison.Ordinal) != -1;
UI\MobileControls\Design\ObjectListGeneralPage.cs (6)
163_txtItemCount.Text = objectList.ItemCount.ToString(CultureInfo.InvariantCulture); 164_txtItemsPerPage.Text = objectList.ItemsPerPage.ToString(CultureInfo.InvariantCulture); 203itemCount = Int32.Parse(_txtItemCount.Text, CultureInfo.InvariantCulture); 209_txtItemCount.Text = objectList.ItemCount.ToString(CultureInfo.InvariantCulture); 218itemsPerPage = Int32.Parse(_txtItemsPerPage.Text, CultureInfo.InvariantCulture); 224_txtItemsPerPage.Text = objectList.ItemsPerPage.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Design\PanelDesigner.cs (1)
171SetBehaviorStyle("width", ValidContainment? "100%" : GetDefaultSize().Width.ToString(CultureInfo.InvariantCulture) + "px");
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
200_currentDeviceSpecificID = deviceSpecificID.ToLower(CultureInfo.InvariantCulture);
UI\MobileControls\Design\StylesEditorDialog.cs (2)
489while (StyleIndex(newStyleID + i.ToString(CultureInfo.InvariantCulture)) >= 0) 493return newStyleID + i.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\Design\StyleSheetDesigner.cs (5)
546return String.Format(CultureInfo.CurrentCulture, _specialCaseDesignTimeHTML, 577return String.Format(CultureInfo.CurrentCulture, _specialCaseDesignTimeHTML, 590return String.Format(CultureInfo.CurrentCulture, _designTimeHTML, 741return (_tmpCurrentStyle != null) ? _tmpCurrentStyle.Name.ToLower(CultureInfo.InvariantCulture) : null; 912_tmpCurrentStyle = (Style) _styleSheet[((String) _mergedUI.CbStyles.SelectedItem).ToLower(CultureInfo.InvariantCulture)];
UI\MobileControls\Design\Util\DesignerUtility.cs (4)
72return String.Format(CultureInfo.InvariantCulture, "{0} (\"{1}\")", filter, argument); 97args, CultureInfo.InvariantCulture 106args, CultureInfo.InvariantCulture 117new Object[] {}, CultureInfo.InvariantCulture
UI\MobileControls\Design\Util\SimpleParser.cs (1)
277_tagStack.Push(tagName.ToLower(CultureInfo.InvariantCulture));
UI\MobileControls\DeviceSpecificChoice.cs (4)
47new CaseInsensitiveComparer(CultureInfo.InvariantCulture); 233o = Int32.Parse(value, CultureInfo.InvariantCulture); 263Char.ToLower(name[0], CultureInfo.InvariantCulture) == 'o' && 264Char.ToLower(name[1], CultureInfo.InvariantCulture) == 'n')
UI\MobileControls\Form.cs (1)
161int page = Int32.Parse(eventArgument, CultureInfo.InvariantCulture);
UI\MobileControls\List.cs (1)
485int item = Int32.Parse(eventArgument, CultureInfo.InvariantCulture);
UI\MobileControls\LiteralTextParser.cs (1)
151o = _recognizedTags[tagName.ToLower(CultureInfo.InvariantCulture)];
UI\MobileControls\MobileControl.cs (2)
529String keyLower = key.ToLower(CultureInfo.InvariantCulture); 1111writer = new StringWriter(builder, CultureInfo.InvariantCulture);
UI\MobileControls\MobileControlsSection.cs (2)
716public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, 729public override object ConvertFrom(ITypeDescriptorContext ctx, CultureInfo ci, object data) {
UI\MobileControls\MobileControlsSectionHelper.cs (2)
26config["sessionStateHistorySize"] = controlSection.SessionStateHistorySize.ToString(CultureInfo.InvariantCulture); 28config["allowCustomAttributes"] = controlSection.AllowCustomAttributes.ToString(CultureInfo.InvariantCulture);
UI\MobileControls\MobilePage.cs (4)
353StringWriter writer = new StringWriter(CultureInfo.InvariantCulture); 558ticks.ToString("D6", CultureInfo.InvariantCulture)); 1184new Triplet(GetTypeHashCode().ToString(CultureInfo.InvariantCulture), 1211state = new Pair(null, new Triplet(GetTypeHashCode().ToString(CultureInfo.InvariantCulture), null, null));
UI\MobileControls\ObjectListField.cs (1)
220dataText = String.Format(CultureInfo.InvariantCulture, dataFormatString, data);
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);
UI\MobileControls\PersistNameAttribute.cs (1)
62return _name.ToLower(CultureInfo.InvariantCulture).GetHashCode();
UI\MobileControls\SessionViewState.cs (3)
165StringWriter s = new StringWriter(CultureInfo.InvariantCulture); 215item.Id = _currentHistoryID.ToString(CultureInfo.InvariantCulture); 273arr.Add(String.Format(CultureInfo.InvariantCulture, "{0}({1})", item.Url, item.Id));
UI\MobileControls\StyleSheet.cs (5)
99String lowerName = name.ToLower(CultureInfo.InvariantCulture); 122Style style = (Style)_styles[name.ToLower(CultureInfo.InvariantCulture)]; 168String lowerName = name.ToLower(CultureInfo.InvariantCulture); 427_styles[style.Name.ToLower(CultureInfo.InvariantCulture)] = style; 748String lowerCaseName = name.ToLower(CultureInfo.InvariantCulture);
UI\MobileControls\TextView.cs (1)
345_translateWriter = new StringWriter(_translateBuilder, CultureInfo.InvariantCulture);
System.Web.Services (47)
parent\parent\inc\InvariantComparer.cs (1)
12m_compareInfo = CultureInfo.InvariantCulture.CompareInfo;
System\Web\Services\Configuration\ProtocolElementCollection.cs (2)
127string.Format(CultureInfo.InvariantCulture, 156throw new ArgumentException(string.Format(CultureInfo.InvariantCulture,
System\Web\Services\Configuration\SoapExtensionTypeElement.cs (2)
92public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 101public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
System\Web\Services\Configuration\SoapExtensionTypeElementCollection.cs (2)
113string.Format(CultureInfo.InvariantCulture, 142throw new ArgumentException(string.Format(CultureInfo.InvariantCulture,
System\Web\Services\Configuration\TypeElement.cs (2)
82public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 90public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
System\Web\Services\Configuration\TypeElementCollection.cs (2)
114string.Format(CultureInfo.InvariantCulture, 143throw new ArgumentException(string.Format(CultureInfo.InvariantCulture,
System\Web\Services\Configuration\WsiProfilesElementCollection.cs (2)
120string.Format(CultureInfo.InvariantCulture, 149throw new ArgumentException(string.Format(CultureInfo.InvariantCulture,
System\Web\Services\Description\MimeFormatExtensions.cs (2)
184get { return repeats == int.MaxValue ? "*" : repeats.ToString(CultureInfo.InvariantCulture); } 189Repeats = int.Parse(value, CultureInfo.InvariantCulture); // pass through our setter for arg checking
System\Web\Services\Description\ServiceDescription.cs (5)
62warnings.Add(Res.GetString(Res.WsdlInstanceValidationDetails, args.Message, args.Exception.LineNumber.ToString(CultureInfo.InvariantCulture), args.Exception.LinePosition.ToString(CultureInfo.InvariantCulture))); 446ns.Add("s" + i.ToString(CultureInfo.InvariantCulture), tns); 452ns.Add("i" + i.ToString(CultureInfo.InvariantCulture), import.Namespace); 586StringWriter writer = new StringWriter(CultureInfo.InvariantCulture);
System\Web\Services\Description\ServiceDescriptionSerializer.cs (7)
544default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Services.Description.SoapBindingUse"); 583default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Services.Description.SoapBindingUse"); 1224default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Services.Description.SoapBindingStyle"); 1284default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Services.Description.SoapBindingStyle"); 2199default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Xml.Schema.XmlSchemaContentProcessing"); 3281default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Xml.Schema.XmlSchemaUse"); 3291default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Xml.Schema.XmlSchemaForm");
System\Web\Services\Description\WebReferenceOptions.cs (3)
158throw new InvalidOperationException(Res.GetString(Res.WsdlInstanceValidationDetails, args.Message, args.Exception.LineNumber.ToString(CultureInfo.InvariantCulture), args.Exception.LinePosition.ToString(CultureInfo.InvariantCulture))); 190default: throw CreateInvalidEnumValueException(((System.Int64)v).ToString(System.Globalization.CultureInfo.InvariantCulture), @"System.Web.Services.Description.ServiceDescriptionImportStyle");
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (4)
268switch (response.ResponseUri.AbsolutePath.Substring(dotIndex + 1).ToLower(CultureInfo.InvariantCulture)) { 308return filenames[path.ToLower(CultureInfo.InvariantCulture)] != null; 312filenames.Add(path.ToLower(CultureInfo.InvariantCulture), path); 321path = allElse + append.ToString(CultureInfo.InvariantCulture) + extension;
System\Web\Services\Discovery\DynamicDiscoSearcher.cs (2)
56excludedUrlsTable.Add( MakeAbsExcludedPath(s).ToLower(CultureInfo.InvariantCulture), null); 60return excludedUrlsTable.Contains( url.ToLower(CultureInfo.InvariantCulture) );
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
170if (Convert.ToInt32(port, CultureInfo.InvariantCulture) != uri.Port)
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (3)
80string id = "wsdl" + i.ToString(CultureInfo.InvariantCulture); 149schema.Id = "schema" + (++id).ToString(CultureInfo.InvariantCulture); 195return string.Format(CultureInfo.InvariantCulture, "{0}://{1}{2}",
System\Web\Services\Protocols\RequestResponse.cs (3)
184StringWriter writer = new StringWriter(builder, CultureInfo.InvariantCulture); 227ch = (char)Int32.Parse(entity.Substring(2), NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture); 229ch = (char)Int32.Parse(entity.Substring(1), CultureInfo.InvariantCulture);
System\Web\Services\Protocols\RuntimeUtils.cs (1)
45StringWriter xml = new StringWriter(CultureInfo.InvariantCulture);
System\Web\Services\Protocols\Scalars.cs (2)
28return (string)Convert.ToString(value, CultureInfo.InvariantCulture); 38return Convert.ChangeType(value, type, CultureInfo.InvariantCulture);
System\Web\Services\Protocols\UrlParameterWriter.cs (1)
31TextWriter writer = new StringWriter(builder, CultureInfo.InvariantCulture);
System.Windows.Forms (908)
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);
misc\GDI\WindowsPen.cs (1)
192return String.Format( CultureInfo.InvariantCulture, "{0}: Style={1}, Color={2}, Width={3}, Brush={4}",
misc\GDI\WindowsSolidBrush.cs (1)
67return String.Format( CultureInfo.InvariantCulture, "{0}: Color={1}", this.GetType().Name, this.Color );
misc\InvariantComparer.cs (1)
12m_compareInfo = CultureInfo.InvariantCulture.CompareInfo;
winforms\Managed\System\Resources\ResXDataNode.cs (3)
361CultureInfo ci = value as CultureInfo; 364nodeInfo.TypeName = MultitargetUtil.GetAssemblyQualifiedName(typeof(CultureInfo), this.typeNameConverter);
winforms\Managed\System\Resources\ResXFileRef.cs (4)
135if ((path1[i] != path2[i]) && (compareCase || (Char.ToLower(path1[i], CultureInfo.InvariantCulture) != Char.ToLower(path2[i], CultureInfo.InvariantCulture)))) 228CultureInfo culture, 282CultureInfo culture,
winforms\Managed\System\Resources\ResXResourceReader.cs (1)
522switch (name.ToLower(CultureInfo.InvariantCulture)) {
winforms\Managed\System\WinForms\AccessibleObject.cs (12)
402Debug.Assert(child != null, "GetChild(" + index.ToString(CultureInfo.InvariantCulture) + ") returned null!"); 464Debug.Assert(child != null, "GetChild(" + index.ToString(CultureInfo.InvariantCulture) + ") returned null!"); 501Debug.Assert(child != null, "GetChild(" + index.ToString(CultureInfo.InvariantCulture) + ") returned null!"); 1396pxLeft.ToString(CultureInfo.InvariantCulture) + ", " + 1397pyTop.ToString(CultureInfo.InvariantCulture) + ", " + 1398pcxWidth.ToString(CultureInfo.InvariantCulture) + ", " + 1399pcyHeight.ToString(CultureInfo.InvariantCulture)); 1428this.ToString() + ", navdir = " + navDir.ToString(CultureInfo.InvariantCulture) + ", childID = " + childID.ToString()); 1478this.ToString() + ", flagsSelect = " + flagsSelect.ToString(CultureInfo.InvariantCulture) + ", childID = " + childID.ToString()); 1595Debug.WriteLineIf(CompModSwitches.MSAA.TraceInfo, "AccessibleObject.accHildCount: this = " + this.ToString() + ", returning " + childCount.ToString(CultureInfo.InvariantCulture)); 2607object IReflect.InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParameters) { 3315object IReflect.InvokeMember(string name, BindingFlags invokeAttr, Binder binder, object target, object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParameters) {
winforms\Managed\System\WinForms\Application.cs (17)
191return string.Format(CultureInfo.CurrentCulture, template, 320public static CultureInfo CurrentCulture { 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}); 1623return Convert.ToBoolean(boolStr, CultureInfo.InvariantCulture); 1754Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager: Component registered. ID: " + cookieCounter.ToString(CultureInfo.InvariantCulture)); 1767Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager: Revoking component " + dwLocalComponentID.ToString(CultureInfo.InvariantCulture)); 1830Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager: Component activated. ID: " + dwLocalComponentID.ToString(CultureInfo.InvariantCulture)); 1930Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager: Component enter state. ID: " + dwLocalComponentID.ToString(CultureInfo.InvariantCulture) + " state: " + uStateID.ToString(CultureInfo.InvariantCulture)); 1980Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager: Component exit state. ID: " + dwLocalComponentID.ToString(CultureInfo.InvariantCulture) + " state: " + uStateID.ToString(CultureInfo.InvariantCulture)); 2079Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager : Pushing message loop " + reason.ToString(CultureInfo.InvariantCulture)); 2206Debug.WriteLineIf(CompModSwitches.MSOComponentManager.TraceInfo, "ComponentManager : message loop " + reason.ToString(CultureInfo.InvariantCulture) + " complete."); 2347private CultureInfo culture; 3104internal CultureInfo GetCulture() { 3749internal void SetCulture(CultureInfo culture) {
winforms\Managed\System\WinForms\AxHost.cs (36)
1369Debug.Fail("Failed to UiDeactivate: " + hr.ToString(CultureInfo.InvariantCulture)); 1457Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "log pixels are: "+logPixelsX.ToString(CultureInfo.InvariantCulture)+" "+logPixelsY.ToString(CultureInfo.InvariantCulture)); 1504Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "setting extent to "+width.ToString(CultureInfo.InvariantCulture)+" "+height.ToString(CultureInfo.InvariantCulture)); 1680Debug.Assert(NativeMethods.Succeeded(hr), "Failed in UiDeactivate: " + hr.ToString(CultureInfo.InvariantCulture)); 1728Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Transitioning up from: " + GetOcState().ToString(CultureInfo.InvariantCulture) + " to: " + state.ToString(CultureInfo.InvariantCulture)); 2116msg.wParam = (IntPtr) Char.ToUpper(charCode, CultureInfo.CurrentCulture); 2458Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "unsupported ambient "+dispid.ToString(CultureInfo.InvariantCulture)); 2643int hr = icp.GetCategoryName(cat, CultureInfo.CurrentCulture.LCID, out name); 2886Debug.Assert(baseProps[i] != null, "Null base prop at location: " + i.ToString(CultureInfo.InvariantCulture)); 2970Debug.WriteLineIf(AxHTraceSwitch.TraceVerbose, "Updating stashed values for : " + ((attributes != null) ? attributes.Length.ToString(CultureInfo.InvariantCulture) : "<null>")); 3674val = DateTime.Parse(timestamp, CultureInfo.InvariantCulture); 3741throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.AXNoSinkAdvise, eventInterface.Name), hr)); 4037Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) { 4040int dispid = Int32.Parse(name.Substring(8, endIndex - 8), CultureInfo.InvariantCulture); 4863Debug.Fail("Invalid image type "+ type.ToString(CultureInfo.InvariantCulture)); 5050return Twip2Pixel(Convert.ToDouble(o, CultureInfo.InvariantCulture), xDirection); 5052return Convert.ToInt32(o, CultureInfo.InvariantCulture); 5060return Convert.ToInt16(o, CultureInfo.InvariantCulture); 5323Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) { 6184value.ToString(CultureInfo.InvariantCulture)); 6197value.ToString(CultureInfo.InvariantCulture)); 6222value.ToString(CultureInfo.InvariantCulture)); 6235Twip2Pixel(value,false).ToString(CultureInfo.InvariantCulture)); 6248Twip2Pixel(value, true).ToString(CultureInfo.InvariantCulture)); 6268value.ToString(CultureInfo.InvariantCulture)); 6293Twip2Pixel(value, false).ToString(CultureInfo.InvariantCulture)); 6318Twip2Pixel(value, true).ToString(CultureInfo.InvariantCulture)); 6452Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) { 6515public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 6533public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 6637if (String.Compare(sie.Name, "Data", true, CultureInfo.InvariantCulture) == 0) { 6649else if (String.Compare(sie.Name, "PropertyBagBinary", true, CultureInfo.InvariantCulture) == 0) { 7446Debug.Fail("Bad IPerPropertyBrowsing item [" + i.ToString(CultureInfo.InvariantCulture) + "], name=" + (nameItems == null ? "(unknown)" : nameItems[i].ToString()));
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\BindingContext.cs (1)
252this.dataMember = dataMember.ToLower(CultureInfo.InvariantCulture);
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\BindingSource.cs (3)
356if (String.Compare(value, this.InnerListSort, false, CultureInfo.InvariantCulture) == 0) { 1132if (length >= 5 && String.Compare(current, length - 4, " ASC", 0, 4, true, CultureInfo.InvariantCulture) == 0) { 1135else if (length >= 6 && String.Compare(current, length - 5, " DESC", 0, 5, true, CultureInfo.InvariantCulture) == 0) {
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\CheckBox.cs (1)
708return s + ", CheckState: " + checkState.ToString(CultureInfo.InvariantCulture);
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\ColumnHeaderConverter.cs (1)
48public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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\BaseCAMarshaler.cs (1)
46Debug.WriteLineIf(CAMarshalSwitch.TraceVerbose, "Marshaling " + count.ToString(CultureInfo.InvariantCulture) + " items of type " + ItemType.Name);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2Enum.cs (5)
114if (String.Compare(names[i], s, true, CultureInfo.InvariantCulture) == 0 || 115String.Compare(stringValues[i], s, true, CultureInfo.InvariantCulture) == 0) { 119if (bestMatch == -1 && 0 == String.Compare(names[i], s, true, CultureInfo.InvariantCulture)) { 158v = Convert.ChangeType(v, values[0].GetType(), CultureInfo.InvariantCulture); 169if (String.Compare(stringValues[i], strVal, true, CultureInfo.InvariantCulture) == 0) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2EnumConverter.cs (2)
53public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 68public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (2)
90public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 105public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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\COM2IDispatchConverter.cs (1)
69public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (2)
214Debug.Fail("Failed to marshal component attribute BSTR " + i.ToString(CultureInfo.InvariantCulture), ex.ToString()); 247Debug.Fail("Failed to marshal component attribute VARIANT " + i.ToString(CultureInfo.InvariantCulture), ex.ToString());
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (3)
185public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destType) { 286Debug.Fail("Bad IPerPropertyBrowsing item [" + i.ToString(CultureInfo.InvariantCulture) + "], name=" + (nameItems == null ? "(unknown)" : nameItems[i].ToString())); 299valueItems[i] = Convert.ChangeType(valueItems[i], targetType, CultureInfo.InvariantCulture);
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\COM2PropertyBuilderUITypeEditor.cs (1)
81Debug.Fail("Failed to show property frame: " + ex.ErrorCode.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (3)
1299CultureInfo.CurrentCulture.LCID, 1306errorInfo = String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.DispInvokeFailed, "SetValue", hr)); 1368public override Object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (13)
273Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "Com2TypeInfoProcessor.GetProperties : returning " + propList.Count.ToString(CultureInfo.InvariantCulture) + " properties"); 456Debug.Fail("ProcessFunctions failed with hr=" + ex.ErrorCode.ToString(CultureInfo.InvariantCulture) + ", message=" + ex.ToString()); 464Debug.Fail("ProcessVariables failed with hr=" + ex.ErrorCode.ToString(CultureInfo.InvariantCulture) + ", message=" + ex.ToString()); 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)); 745Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "ProcessTypeInfoEnum: processing " + nItems.ToString(CultureInfo.InvariantCulture) + " variables"); 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)); 810Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "ProcessTypeInfoEnum: adding variable value=" + Convert.ToString(varValue, CultureInfo.InvariantCulture)); 832Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "ProcessTypeInfoEnum: returning enum with " + strs.Count.ToString(CultureInfo.InvariantCulture) + " items"); 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)); 1030throw new ArgumentException(SR.GetString(SR.COM2UnhandledVT, ((int)vt).ToString(CultureInfo.InvariantCulture)));
winforms\Managed\System\WinForms\Control.cs (24)
3932throw new ArgumentOutOfRangeException("TabIndex", SR.GetString(SR.InvalidLowBoundArgumentEx, "TabIndex", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 7613Debug.WriteLineIf(ControlKeyboardRouting.TraceVerbose, "Control.IsInputChar 0x" + ((int)charCode).ToString("X", CultureInfo.InvariantCulture)); 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)); 11256Debug.WriteLineIf(CompModSwitches.DragDrop.TraceInfo, " ret:" + n.ToString(CultureInfo.InvariantCulture)); 15091throw new ArgumentOutOfRangeException("index", SR.GetString(SR.IndexOutOfRange, index.ToString(CultureInfo.CurrentCulture))); 15369Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "AxSource:OnDocWindowActivate. Activate: " + fActivate.ToString(CultureInfo.InvariantCulture)); 15409Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "AxSource:ContextSensitiveHelp. Mode: " + fEnterMode.ToString(CultureInfo.InvariantCulture)); 15640Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "AxSource:GetExtent. Aspect: " + dwDrawAspect.ToString(CultureInfo.InvariantCulture)); 15696Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "AxSource:GetMiscStatus. Status: " + status.ToString(CultureInfo.InvariantCulture)); 16336prop.Value = ColorTranslator.FromOle(Convert.ToInt32(obj, CultureInfo.InvariantCulture)); 16418prop.Value = ColorTranslator.FromOle(Convert.ToInt32(obj, CultureInfo.InvariantCulture)); 16847Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "IDispatch::Invoke failed. HR: 0x" + String.Format(CultureInfo.CurrentCulture, "{0:X}", hr)); 17336obj = Convert.ToString(obj, CultureInfo.InvariantCulture); 17374value = converter.ConvertFrom(null, CultureInfo.InvariantCulture, FromBase64WrappedString(objString)); 17425Debug.Fail("No ambient property for dispid " + dispid.ToString(CultureInfo.InvariantCulture)); 18061byte[] data = (byte[])converter.ConvertTo(null, CultureInfo.InvariantCulture, props[i].GetValue(control), typeof(byte[])); 19850topic = Int32.Parse(args.HelpKeyword, CultureInfo.InvariantCulture); 19885", childID = " + childID.ToString(CultureInfo.InvariantCulture)); 19899", childID = " + childID.ToString(CultureInfo.InvariantCulture));
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\ControlBindingsCollection.cs (1)
152(String.Compare(binding.PropertyName, this[i].PropertyName, false, CultureInfo.InvariantCulture) == 0)) {
winforms\Managed\System\WinForms\CurrencyManager.cs (8)
284throw new IndexOutOfRangeException(SR.GetString(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture))); 290throw new IndexOutOfRangeException(SR.GetString(SR.ListManagerNoValue, index.ToString(CultureInfo.CurrentCulture))); 665Debug.WriteLineIf(CompModSwitches.DataCursor.TraceVerbose, "System.ComponentModel.ListChangedType.ItemAdded " + dbe.NewIndex.ToString(CultureInfo.InvariantCulture)); 699Debug.WriteLineIf(CompModSwitches.DataCursor.TraceVerbose, "System.ComponentModel.ListChangedType.ItemDeleted " + dbe.NewIndex.ToString(CultureInfo.InvariantCulture)); 722Debug.WriteLineIf(CompModSwitches.DataCursor.TraceVerbose, "System.ComponentModel.ListChangedType.ItemChanged " + dbe.NewIndex.ToString(CultureInfo.InvariantCulture)); 731Debug.WriteLineIf(CompModSwitches.DataCursor.TraceVerbose, "System.ComponentModel.ListChangedType.ItemMoved " + dbe.NewIndex.ToString(CultureInfo.InvariantCulture)); 843Debug.WriteLineIf(CompModSwitches.DataView.TraceVerbose, "OnItemChanged(" + e.Index.ToString(CultureInfo.InvariantCulture) + ") " + e.ToString()); 874Debug.WriteLineIf(CompModSwitches.DataView.TraceVerbose, "OnPositionChanged(" + listposition.ToString(CultureInfo.InvariantCulture) + ") " + e.ToString());
winforms\Managed\System\WinForms\Cursor.cs (1)
66else if (String.Compare(sie.Name, "CursorResourceId", true, CultureInfo.InvariantCulture) == 0) {
winforms\Managed\System\WinForms\CursorConverter.cs (2)
59public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 90public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\DataGrid.cs (22)
1420Debug.WriteLineIf(CompModSwitches.DataGridCursor.TraceVerbose, "DataGridCursor: There are now " + DataGridRowsLength.ToString(CultureInfo.InvariantCulture) + " rows."); 3234Debug.WriteLineIf(CompModSwitches.DataGridCursor.TraceVerbose, "DataGridCursor: DataSource_PositionChanged to " + listManager.Position.ToString(CultureInfo.InvariantCulture)); 3316Debug.WriteLineIf(CompModSwitches.DataGridCursor.TraceVerbose, "DataGridCursor: DataSource_ItemChanged at index " + ea.Index.ToString(CultureInfo.InvariantCulture)); 4383Debug.WriteLineIf(CompModSwitches.DataGridLayout.TraceVerbose, "DataGridLayout: OnMouseWheel move="+move.ToString(CultureInfo.InvariantCulture)); 5205Debug.WriteLineIf(CompModSwitches.DataGridEditing.TraceVerbose, "DataGridEditing: \t CommitEdit " + (editRow == null ? "" : editRow.RowNumber.ToString(CultureInfo.InvariantCulture))); 5894Debug.WriteLineIf(CompModSwitches.DataGridEditing.TraceVerbose, "DataGridEditing: Edit, currentRow = " + currentRow.ToString(CultureInfo.InvariantCulture) + 5895", currentCol = " + currentCol.ToString(CultureInfo.InvariantCulture) + (displayText != null ? ", displayText= " + displayText : "")); 6643Debug.WriteLineIf(CompModSwitches.DataGridPainting.TraceVerbose, "DataGridPainting: Invalidating row " + rowNumber.ToString(CultureInfo.InvariantCulture)); 6668Debug.WriteLineIf(CompModSwitches.DataGridPainting.TraceVerbose, "DataGridPainting: Invalidating a rect in row " + rowNumber.ToString(CultureInfo.InvariantCulture)); 7081"Row " + row.ToString(CultureInfo.InvariantCulture) + "is not visible! firstVisibleRow = " + 7082firstVisibleRow.ToString(CultureInfo.InvariantCulture) + ", numVisibleRows = " + 7083numVisibleRows.ToString(CultureInfo.InvariantCulture)); 7383Debug.Assert(selectedEntries == deletedRows, "all the rows that would have been deleted should have been selected: selectedGridEntries " + selectedEntries.ToString(CultureInfo.InvariantCulture) + " deletedRows " + deletedRows.ToString(CultureInfo.InvariantCulture)); 7585Debug.Assert(i == DataGridRowsLength - 1, "the location of addNewRow is " + i.ToString(CultureInfo.InvariantCulture) + " and there are " + DataGridRowsLength.ToString(CultureInfo.InvariantCulture) + " rows "); 8643Debug.WriteLineIf(CompModSwitches.DataGridScrolling.TraceVerbose, "DataGridScrolling: ScrollRight, columns = " + columns.ToString(CultureInfo.InvariantCulture)); 8699Debug.WriteLineIf(CompModSwitches.DataGridSelection.TraceVerbose, "Selecting row " + row.ToString(CultureInfo.InvariantCulture)); 8723if (!gridTable.IsDefault && String.Compare(lm.GetListName(), gridTable.MappingName, true, CultureInfo.InvariantCulture) == 0) { 9002Debug.WriteLineIf(CompModSwitches.DataGridSelection.TraceVerbose, "DataGridSelection: Unselecting row " + row.ToString(CultureInfo.InvariantCulture)); 9414return "{ " + ((type).ToString()) + "," + row.ToString(CultureInfo.InvariantCulture) + "," + col.ToString(CultureInfo.InvariantCulture) + "}";
winforms\Managed\System\WinForms\DataGridCaption.cs (2)
494Debug.WriteLineIf(CompModSwitches.DGCaptionPaint.TraceVerbose, "downButtonWidth = " + downButtonWidth.ToString(CultureInfo.InvariantCulture)); 495Debug.WriteLineIf(CompModSwitches.DGCaptionPaint.TraceVerbose, "textWidthLeft = " + textWidthLeft.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\DataGridCell.cs (2)
95return "DataGridCell {RowNumber = " + RowNumber.ToString(CultureInfo.CurrentCulture) + 96", ColumnNumber = " + ColumnNumber.ToString(CultureInfo.CurrentCulture) + "}";
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (1)
389if (String.Compare(column.MappingName, name, true, CultureInfo.InvariantCulture) == 0)
winforms\Managed\System\WinForms\DataGridDefaultColumnWidthTypeConverter.cs (4)
38public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 48return pulica.ToString(CultureInfo.CurrentCulture); 63public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 71return Int32.Parse(text, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
527if (CompModSwitches.DGRelationShpRowPaint.TraceVerbose) Debug.WriteLine("Painting row " + RowNumber.ToString(CultureInfo.InvariantCulture) + " with bounds " + bounds.ToString());
winforms\Managed\System\WinForms\DataGridTableCollection.cs (1)
272if (String.Compare(table.MappingName, name, true, CultureInfo.InvariantCulture) == 0)
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
469DebugOut("Begining Edit, rowNum :" + rowNum.ToString(CultureInfo.InvariantCulture));
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\DataGridViewCellConverter.cs (1)
28public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (1)
306return System.Globalization.CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\DataGridViewCellStyleConverter.cs (1)
47public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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 (8)
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))); 1018if (String.Compare(this.ToolTipText, value, false /*ignore case*/, CultureInfo.InvariantCulture) != 0) 1340sb.Append(this.Index.ToString(CultureInfo.CurrentCulture));
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (3)
478if (0 == String.Compare(dataGridViewColumn.Name, columnName, true, CultureInfo.InvariantCulture)) 1144if (0 == String.Compare(dataGridViewColumn.Name, columnName, true, CultureInfo.InvariantCulture)) 1159throw new ArgumentOutOfRangeException("index", SR.GetString(SR.InvalidArgument, "index", (index).ToString(CultureInfo.CurrentCulture)));
winforms\Managed\System\WinForms\DataGridViewColumnConverter.cs (1)
39public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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\DataGridViewDataConnection.cs (3)
388if (String.Compare(this.props[i].Name, dataPropertyName, true /*ignoreCase*/, CultureInfo.InvariantCulture) == 0) 419if (String.Compare(this.props[boundColumnIndex].Name, sortProperty.Name, true /*ignoreCase*/, CultureInfo.InvariantCulture) == 0) 724if (String.Compare(dataGridViewColumn.DataPropertyName, dataPropertyName, true /*ignoreCase*/, CultureInfo.InvariantCulture) == 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 (12)
1589CultureInfo.InvariantCulture) == 0) 8223string prefix = string.Format(CultureInfo.InvariantCulture, DATAGRIDVIEW_htmlPrefix, bytecountEndOfHtml.ToString("00000000", CultureInfo.InvariantCulture), bytecountEndOfFragment.ToString("00000000", CultureInfo.InvariantCulture)) + DATAGRIDVIEW_htmlStartFragment; 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))); 14541String.Compare((string)dataGridViewColumn.HeaderCell.Value, dataGridViewColumn.Name, false, CultureInfo.InvariantCulture) == 0) 17597CultureInfo.InvariantCulture) == 0) 19513CultureInfo.InvariantCulture) == 0) 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\DataGridViewRowConverter.cs (1)
39public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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\DataObject.cs (5)
1225Debug.WriteLineIf(CompModSwitches.DataObject.TraceVerbose, "FormatEnumerator: Constructed: " + parent.ToString() + ", FORMATETC[]" + formats.Length.ToString(CultureInfo.InvariantCulture)); 1252Debug.WriteLineIf(CompModSwitches.DataObject.TraceVerbose, "FormatEnumerator: Constructed: " + parent.ToString() + ", string[]" + formats.Length.ToString(CultureInfo.InvariantCulture)); 2216Debug.WriteLineIf(CompModSwitches.DataObject.TraceVerbose, "DataStore: got " + formats.Length.ToString(CultureInfo.InvariantCulture) + " formats from get formats"); 2219Debug.Assert(formats[i] != null, "Null format inside of formats at index " + i.ToString(CultureInfo.InvariantCulture)); 2266Debug.WriteLineIf(CompModSwitches.DataObject.TraceVerbose, "DataStore: returing " + baseVar.Length.ToString(CultureInfo.InvariantCulture) + " formats from GetFormats");
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 (6)
150throw new ArgumentOutOfRangeException("SelectedIndex", SR.GetString(SR.InvalidArgument, "SelectedIndex", (value).ToString(CultureInfo.CurrentCulture))); 368text = text.ToUpper(CultureInfo.InvariantCulture); 376found = Items[index].ToString().ToUpper(CultureInfo.InvariantCulture).StartsWith(text); 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\EnumValAlphaComparer.cs (1)
17m_compareInfo = CultureInfo.InvariantCulture.CompareInfo;
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 (3)
51throw new ArgumentOutOfRangeException("BorderSize", value, SR.GetString(SR.InvalidLowBoundArgumentEx, "BorderSize", value.ToString(CultureInfo.CurrentCulture), (0).ToString(CultureInfo.CurrentCulture))); 179public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\Form.cs (7)
2068return Convert.ToDouble(opacity, CultureInfo.InvariantCulture); 4271loadedAssembliesFromGac.Add(asm.CodeBase.ToUpper(CultureInfo.InvariantCulture)); 4294if (loadedAssembliesFromGac.Contains(currentSite.AbsoluteUri.ToUpper(CultureInfo.InvariantCulture))) 4350return string.Format(CultureInfo.CurrentCulture, Application.SafeTopLevelCaptionFormat, original, securityZone, securitySite); 6705Debug.WriteLineIf(ToolStrip.MDIMergeDebug.TraceVerbose, "UpdateMdiControlStrip: built up an MDI control strip for " + ActiveMdiChildInternal.Text + " with " + MdiControlStrip.Items.Count.ToString(CultureInfo.InvariantCulture) + " items."); 6706Debug.WriteLineIf(ToolStrip.MDIMergeDebug.TraceVerbose, "UpdateMdiControlStrip: merging MDI control strip into source menustrip - items before: " + sourceMenuStrip.Items.Count.ToString(CultureInfo.InvariantCulture)); 6708Debug.WriteLineIf(ToolStrip.MDIMergeDebug.TraceVerbose, "UpdateMdiControlStrip: merging MDI control strip into source menustrip - items after: " + sourceMenuStrip.Items.Count.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\Formatter.cs (6)
353formatInfo = CultureInfo.CurrentCulture; 388return String.Format(CultureInfo.CurrentCulture, SR.GetString(stringResId), value, targetType.Name); 394private static CultureInfo GetFormatterCulture(IFormatProvider formatInfo) { 395if (formatInfo is CultureInfo) { 396return formatInfo as CultureInfo; 399return CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\Help.cs (2)
421string ext = Path.GetExtension(file == null ? url : file.LocalPath + file.Fragment).ToLower(CultureInfo.InvariantCulture); 463htmlParam = int.Parse(param, CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
850return Color.FromArgb(255, Color.FromArgb(int.Parse(hexColor, NumberStyles.HexNumber, CultureInfo.InvariantCulture)));
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\HtmlToClrEventProxy.cs (1)
106object IReflect.InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters) {
winforms\Managed\System\WinForms\ImageIndexConverter.cs (2)
56public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 74public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\ImageKeyConverter.cs (2)
66public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 86public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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\InputLangChangeEvent.cs (3)
40private readonly CultureInfo culture; 58public InputLanguageChangedEventArgs(CultureInfo culture, byte charSet) { 95public CultureInfo Culture {
winforms\Managed\System\WinForms\InputLangChangeRequestEvent.cs (3)
38private readonly CultureInfo culture; 57public InputLanguageChangingEventArgs(CultureInfo culture, bool sysCharSet) { 100public CultureInfo Culture {
winforms\Managed\System\WinForms\InputLanguage.cs (2)
51public CultureInfo Culture { 367public static InputLanguage FromCulture(CultureInfo culture) {
winforms\Managed\System\WinForms\KeysConverter.cs (4)
142return String.Compare(ConvertToString(a), ConvertToString(b), false, CultureInfo.InvariantCulture); 150public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 219finalValue |= Convert.ToInt64(e, CultureInfo.InvariantCulture); 237public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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 (6)
81return "{Start=" + Start.ToString(CultureInfo.CurrentCulture) + ", Length=" + Length.ToString(CultureInfo.CurrentCulture) + "}"; 133public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 147culture = CultureInfo.CurrentCulture; 179public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 188culture = CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\LinkConverter.cs (4)
58public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 72culture = CultureInfo.CurrentCulture; 104public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 114culture = CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\LinkUtilities.cs (2)
146if (s != null && string.Compare(s, "no", true, CultureInfo.InvariantCulture) == 0) { 149if (s != null && string.Compare(s, "hover", true, CultureInfo.InvariantCulture) == 0) {
winforms\Managed\System\WinForms\ListBindingConverter.cs (1)
72public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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\ListItemConverter.cs (2)
51public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 194public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\ListView.cs (46)
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)) { 3249return rnd.Next().ToString(CultureInfo.InvariantCulture); 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))); 9006Debug.Assert(item != null, "Failed to get item at index " + i.ToString(CultureInfo.InvariantCulture)); 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 (3)
294info.AddValue("Item" + i.ToString(CultureInfo.InvariantCulture), Items[i], typeof(ListViewItem)); 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\ListViewGroupConverter.cs (2)
62public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 95public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\ListViewItem.cs (8)
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))); 1161Debug.Assert(!updateOwner || listView.SendMessage(NativeMethods.LVM_HASGROUP, lvItem.iGroupId, 0) != IntPtr.Zero, "Doesn't contain group id: " + lvItem.iGroupId.ToString(CultureInfo.InvariantCulture)); 1305ListViewSubItem newItem = (ListViewSubItem)info.GetValue("SubItem" + i.ToString(CultureInfo.InvariantCulture), typeof(ListViewSubItem)); 1330info.AddValue("SubItem" + i.ToString(CultureInfo.InvariantCulture), subItems[i], typeof(ListViewSubItem)); 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 (5)
126MaskedTextProvider maskedTextProvider = new MaskedTextProvider(nullMask, CultureInfo.CurrentCulture); 141MaskedTextProvider maskedTextProvider = new MaskedTextProvider(mask, CultureInfo.CurrentCulture); 377public CultureInfo Culture 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 (2)
345throw new ArgumentOutOfRangeException("Index", SR.GetString(SR.InvalidArgument, "Index", (value).ToString(CultureInfo.CurrentCulture))); 1192windowItem.Text = String.Format(CultureInfo.CurrentUICulture, "&{0} {1}", accel, forms[i].Text);
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\NativeMethods.cs (25)
4001+ wDay.ToString(CultureInfo.InvariantCulture) +"/" + wMonth.ToString(CultureInfo.InvariantCulture) + "/" + wYear.ToString(CultureInfo.InvariantCulture) 4002+ " " + wHour.ToString(CultureInfo.InvariantCulture) + ":" + wMinute.ToString(CultureInfo.InvariantCulture) + ":" + wSecond.ToString(CultureInfo.InvariantCulture) 4308v.data1 = (IntPtr)Convert.ToByte(var, CultureInfo.InvariantCulture); 4312v.data1 = (IntPtr)Convert.ToChar(var, CultureInfo.InvariantCulture); 4316v.data1 = SysAllocString(Convert.ToString(var, CultureInfo.InvariantCulture)); 4320v.data1 = (IntPtr)Convert.ToInt16(var, CultureInfo.InvariantCulture); 4324v.data1 = (IntPtr)Convert.ToInt32(var, CultureInfo.InvariantCulture); 4328v.SetLong(Convert.ToInt64(var, CultureInfo.InvariantCulture)); 4338Decimal d = Convert.ToDecimal(var, CultureInfo.InvariantCulture); 4351v.SetLong(Convert.ToDateTime(var, CultureInfo.InvariantCulture).ToFileTime()); 4355v.data1 = (IntPtr)Convert.ToSByte(var, CultureInfo.InvariantCulture); 4359v.data1 = (IntPtr)Convert.ToUInt16(var, CultureInfo.InvariantCulture); 4363v.data1 = (IntPtr)Convert.ToUInt32(var, CultureInfo.InvariantCulture); 4367v.SetLong((long)Convert.ToUInt64(var, CultureInfo.InvariantCulture)); 4551throw new ArgumentException(SR.GetString(SR.COM2UnhandledVT, iVt.ToString(CultureInfo.InvariantCulture))); 5399+ ", iItem = " + iItem.ToString(CultureInfo.InvariantCulture) 5400+ ", iSubItem = " + iSubItem.ToString(CultureInfo.InvariantCulture) 5401+ ", state = " + state.ToString(CultureInfo.InvariantCulture) 5402+ ", iGroupId = " + iGroupId.ToString(CultureInfo.InvariantCulture) 5403+ ", cColumns = " + cColumns.ToString(CultureInfo.InvariantCulture); 5447return "LVGROUP: header = " + pszHeader.ToString() + ", iGroupId = " + iGroupId.ToString(CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\NativeWindow.cs (4)
293Debug.WriteLineIf(WndProcChoice.TraceVerbose, "After reg check 0x" + intWndProcFlags.ToString("X", CultureInfo.InvariantCulture)); 302Debug.WriteLineIf(WndProcChoice.TraceVerbose, "After config check 0x" + intWndProcFlags.ToString("X", CultureInfo.InvariantCulture)); 310Debug.WriteLineIf(WndProcChoice.TraceVerbose, "After config & debugger check 0x" + intWndProcFlags.ToString("X", CultureInfo.InvariantCulture)); 321Debug.WriteLineIf(WndProcChoice.TraceVerbose, "Final 0x" + intWndProcFlags.ToString("X", CultureInfo.InvariantCulture));
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 (15)
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); 754text = ((Int64)num).ToString("X", CultureInfo.InvariantCulture); 755Debug.Assert(text == text.ToUpper(CultureInfo.InvariantCulture), "GetPreferredSize assumes hex digits to be uppercase."); 758text = num.ToString((ThousandsSeparator ? "N" : "F") + DecimalPlaces.ToString(CultureInfo.CurrentCulture), CultureInfo.CurrentCulture); 860shortText = ((Int64) testNumber).ToString("X", CultureInfo.InvariantCulture); 863shortText = testNumber.ToString(CultureInfo.CurrentCulture); 883ch = i.ToString(CultureInfo.InvariantCulture)[0];
winforms\Managed\System\WinForms\OpacityConverter.cs (5)
45public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 49double val = Double.Parse(text, CultureInfo.CurrentCulture); 53text = val.ToString(CultureInfo.CurrentCulture); 99public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 107return perc.ToString(CultureInfo.CurrentCulture) + "%";
winforms\Managed\System\WinForms\Padding.cs (8)
228return "{Left=" + Left.ToString(CultureInfo.CurrentCulture) + ",Top=" + Top.ToString(CultureInfo.CurrentCulture) + ",Right=" + Right.ToString(CultureInfo.CurrentCulture) + ",Bottom=" + Bottom.ToString(CultureInfo.CurrentCulture) + "}"; 305public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 317culture = CultureInfo.CurrentCulture; 342public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 352culture = CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\Printing\PageSetupDialog.cs (1)
376if (result > 0 && Int32.Parse(sb.ToString(), CultureInfo.InvariantCulture) == 0) {
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 (10)
1186throw new ArgumentException(SR.GetString(SR.PropertyGridSetNull, count.ToString(CultureInfo.CurrentCulture), value.Length.ToString(CultureInfo.CurrentCulture))); 1896if (String.Compare(tab.TabName, viewTabs[i].TabName, false, CultureInfo.InvariantCulture) < 0) { 2394Debug.Assert(viewTabs.Length == viewTabScopes.Length && viewTabScopes.Length == viewTabButtons.Length,"Uh oh, tab arrays aren't all the same length! tabs=" + viewTabs.Length.ToString(CultureInfo.InvariantCulture) + ", scopes=" + viewTabScopes.Length.ToString(CultureInfo.InvariantCulture) + ", buttons=" + viewTabButtons.Length.ToString(CultureInfo.InvariantCulture)); 2702int ratio = Int32.Parse((string)val, CultureInfo.InvariantCulture); 2711int ratio = Int32.Parse((string)val, CultureInfo.InvariantCulture); 4230optRoot.SetValue("PbrsDescHeightRatio", dcSizeRatio.ToString(CultureInfo.InvariantCulture)); 4231optRoot.SetValue("PbrsHotCommandHeightRatio", hcSizeRatio.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\PropertyGridInternal\ArrayElementGridEntry.cs (1)
50return "[" + index.ToString(CultureInfo.CurrentCulture) + "]";
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (2)
3121return String.Compare(((PropertyDescriptor)left).DisplayName, ((PropertyDescriptor)right).DisplayName, true, CultureInfo.CurrentCulture); 3169return String.Compare(AttributeTypeSorter.GetTypeIdString(a1), AttributeTypeSorter.GetTypeIdString(a2), false, CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (1)
202InstanceDescriptor desc = (InstanceDescriptor)converter.ConvertTo(null, CultureInfo.InvariantCulture, value, typeof(InstanceDescriptor));
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (3)
296int result = String.Compare(entryName, sortString, false, CultureInfo.InvariantCulture); 338int result = String.Compare(a1.Name, a2.Name, false, CultureInfo.InvariantCulture); 342result = String.Compare(a1.PropertyType.FullName, a2.PropertyType.FullName, true, System.Globalization.CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
1208public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (20)
845Debug.WriteLineIf(GridViewDebugPaint.TraceVerbose, "Adjusting paint origin to (" + newOrigin.X.ToString(CultureInfo.InvariantCulture) + "," + newOrigin.Y.ToString(CultureInfo.InvariantCulture) + ")"); 1238", flags=" + entry.Flags.ToString(CultureInfo.InvariantCulture) + 1577if (0 == String.Compare(propName, allGridEntries.GetEntry(i).PropertyLabel, true, CultureInfo.InvariantCulture)) { 1810if (text != null && text.Length > 0 && String.Compare(text.Substring(0,1), letter, true, CultureInfo.InvariantCulture) == 0) { 1988if (value == curValue || 0 == String.Compare(textValue, itemTextValue, true, CultureInfo.InvariantCulture)) { 2257Debug.WriteLineIf(GridViewDebugPaint.TraceVerbose, "Invalidating rows " + startRow.ToString(CultureInfo.InvariantCulture) + " through " + endRow.ToString(CultureInfo.InvariantCulture)); 2687rgvalue = gridEntry.TypeConverter.ConvertTo(gridEntry, CultureInfo.CurrentCulture, rgvalue, value.GetType()); 2693equal = 0 == String.Compare((string)value, rgvalue.ToString(), true, CultureInfo.CurrentCulture); 3813Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "PropertyGridView:OnScroll(" + ScrollBar.Value.ToString(CultureInfo.InvariantCulture) + " -> " + se.NewValue.ToString(CultureInfo.InvariantCulture) +")"); 4102Debug.WriteLineIf(GridViewDebugPaint.TraceVerbose, "Refresh called for rows " + rowStart.ToString(CultureInfo.InvariantCulture) + " through " + rowEnd.ToString(CultureInfo.InvariantCulture)); 4355Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "PropertyGridView:SelectRow(" + row.ToString(CultureInfo.InvariantCulture) + ")"); 4559Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\tvisibleRows:" + (visibleRows).ToString(CultureInfo.InvariantCulture)); 4560Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\tlabelWidth :" + (labelWidth).ToString(CultureInfo.InvariantCulture)); 4561Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\tlabelRatio :" + (labelRatio).ToString(CultureInfo.InvariantCulture)); 4562Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "\trowHeight :" + (RowHeight).ToString(CultureInfo.InvariantCulture)); 4664Debug.WriteLineIf(CompModSwitches.DebugGridView.TraceVerbose, "PropertyGridView:SetScrollOffset(" + cOffset.ToString(CultureInfo.InvariantCulture) + ")");
winforms\Managed\System\WinForms\RichTextBox.cs (8)
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))); 3832Debug.WriteLineIf(RichTextDbg.TraceVerbose, "real clsid:" + realClsid.ToString() + " (hr=" + hr.ToString("X", CultureInfo.InvariantCulture) + ")"); 3844switch (realClsid.ToString().ToUpper(CultureInfo.InvariantCulture))
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 (4)
59public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 69culture = CultureInfo.CurrentCulture; 103public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 112culture = CultureInfo.CurrentCulture;
winforms\Managed\System\WinForms\SendKeys.cs (1)
456repeat = Int32.Parse(keys.Substring(digit, j - digit), CultureInfo.InvariantCulture);
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 (7)
103private StringSorter(CultureInfo culture, string[] keys, object[] items, int options) { 168public static int Compare(CultureInfo culture, string s1, string s2, int options) { 179return String.Compare(s1, s2, false, CultureInfo.CurrentCulture); 330public static void Sort(CultureInfo culture, object[] items, int options) { 343public static void Sort(CultureInfo culture, object[] items, int index, int count, int options) { 353public static void Sort(CultureInfo culture, string[] keys, object[] items, int options) { 375public static void Sort(CultureInfo culture, string[] keys, object[] items, int index, int count, int options) {
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 (7)
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); 95public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 109culture = CultureInfo.CurrentCulture; 134public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\TableLayoutSettings.cs (9)
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))); 679public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (9)
48public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 66public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 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)); 228if (!float.TryParse(floatString, NumberStyles.Float, CultureInfo.InvariantCulture.NumberFormat, out width)) { 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\ToolStripDropDown.cs (1)
747return Convert.ToDouble(opacity, CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\ToolStripDropTargetManager.cs (2)
262Debug.WriteLineIf(CompModSwitches.DragDrop.TraceInfo, " ret:" + n.ToString(CultureInfo.InvariantCulture)); 277Debug.WriteLineIf(CompModSwitches.DragDrop.TraceInfo, " ret:" + n.ToString(CultureInfo.InvariantCulture));
winforms\Managed\System\WinForms\ToolStripItem.cs (4)
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())); 4315topic = Int32.Parse(args.HelpKeyword, CultureInfo.InvariantCulture);
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 (15)
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.")); 1090Debug.WriteLineIf(ToolStripPanelRow.ToolStripPanelRowCreationDebug.TraceVerbose, "Inserting a new row at " + index.ToString(CultureInfo.InvariantCulture)); 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\ToolStripPanelRow.cs (14)
1064Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveLeft: " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1111Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveLeft Recovered (Margin only): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1120Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveLeft Recovered Partial (Shrink): " + freedSpace.ToString(CultureInfo.InvariantCulture)); 1126Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveRight: " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1195Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveRight Recovered (Margin only): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1209Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveRight Recovered (Shrink): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1230Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveRight Recovered Partial (Shrink): " + freedSpace.ToString(CultureInfo.InvariantCulture)); 1578Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveUp: " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1625Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveUp Recovered (Margin only): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1634Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveLeft Recovered Partial (Shrink): " + freedSpace.ToString(CultureInfo.InvariantCulture)); 1641Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveDown: " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1703Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveDown Recovered (Margin only): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1717Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveDown Recovered (Shrink): " + spaceToFree.ToString(CultureInfo.InvariantCulture)); 1739Debug.WriteLineIf(ToolStripPanelMouseDebug.TraceVerbose, "MoveDown Recovered Partial (Shrink): " + recoveredSpace.ToString(CultureInfo.InvariantCulture));
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\TreeNodeConverter.cs (1)
51public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
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\TreeViewImageIndexConverter.cs (2)
39public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 63public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\TreeViewImageKeyConverter.cs (1)
35public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
winforms\Managed\System\WinForms\TrustManager.cs (9)
498if (string.Compare(zoneName, "Internet", true, CultureInfo.InvariantCulture) == 0) 502else if (string.Compare(zoneName, "TrustedSites", true, CultureInfo.InvariantCulture) == 0) 506else if (string.Compare(zoneName, "UntrustedSites", true, CultureInfo.InvariantCulture) == 0) 510else if (string.Compare(zoneName, "LocalIntranet", true, CultureInfo.InvariantCulture) == 0) 514else if (string.Compare(zoneName, "MyComputer", true, CultureInfo.InvariantCulture) == 0) 626if (string.Compare(zoneName, "Internet", true, CultureInfo.InvariantCulture) == 0) 804else if (string.Compare(promptingLevelStr, "Enabled", true, CultureInfo.InvariantCulture) == 0) 808else if (string.Compare(promptingLevelStr, "Disabled", true, CultureInfo.InvariantCulture) == 0) 812else if (string.Compare(promptingLevelStr, "AuthenticodeRequired", true, CultureInfo.InvariantCulture) == 0)
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\WebBrowserUriTypeConverter.cs (1)
13public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
winforms\Managed\System\WinForms\WinFormsUtils.cs (5)
274mnemonic = Char.ToUpper(text[i+1], CultureInfo.CurrentCulture); 277mnemonic = Char.ToLower(text[i+1], CultureInfo.CurrentCulture); 357return String.Compare(string1, string2, ignoreCase, CultureInfo.InvariantCulture) == 0; 414int iValue = Convert.ToInt32(enumValue, CultureInfo.InvariantCulture); 561throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.TypedControlCollectionShouldBeOfType, typeOfControl.Name)), value.GetType().Name);
System.Windows.Forms.DataVisualization (378)
Common\Annotation\AnnotationBase.cs (6)
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))); 3285if (int.TryParse(pointIndex, NumberStyles.Any, CultureInfo.InvariantCulture, out index)) 3361 pointIndex.ToString(CultureInfo.InvariantCulture);
Common\ChartTypes\BarChart.cs (4)
406 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 473 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture) ))); 1162throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1391 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\BoxPlotChart.cs (5)
326 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 750 markerStyle = markerStyle.ToUpper(CultureInfo.InvariantCulture); 1107 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1662bool parseSucceed = double.TryParse(boxPercentile, NumberStyles.Any, CultureInfo.InvariantCulture, out percentile); 1680bool parseSucceed = double.TryParse(boxWhiskerPercentile, NumberStyles.Any, CultureInfo.InvariantCulture, out percentile);
Common\ChartTypes\BubbleChart.cs (3)
178 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 219 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture) == 0 && 283throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ColumnChart.cs (2)
317 if( String.Compare( ser.ChartTypeName, Name, true, System.Globalization.CultureInfo.CurrentCulture) != 0 1315 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name,this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ErrorBarChart.cs (7)
454 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 788markerStyle = markerStyle.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 818 markerStyle = markerStyle.ToUpper(CultureInfo.InvariantCulture); 1100 throw(new ArgumentException(SR.ExceptionChartTypeRequiresYValues( ChartTypeNames.ErrorBar, ((int)(3)).ToString(CultureInfo.CurrentCulture)))); 1208 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues( this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1563 markerStyle = markerStyle.ToUpper(CultureInfo.InvariantCulture); 1663if (!double.TryParse(typeName, NumberStyles.Any, CultureInfo.InvariantCulture, out param))
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 (6)
2272bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out pointHeight); 2309bool parseSucceed = int.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out a); 2388bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out w); 2407bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out h); 2450bool parseSucceed = float.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out gs); 2684 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) == 0 )
Common\ChartTypes\KagiChart.cs (11)
152series["OldXValueIndexed"] = series.IsXValueIndexed.ToString(CultureInfo.InvariantCulture); 153series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 242parseSucceed = int.TryParse(kagiSeries["OldYValuesPerPoint"], NumberStyles.Any, CultureInfo.InvariantCulture, out yValPerPoint); 298bool parseSucceed = double.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out percent); 311bool parseSucceed = double.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out amount); 341bool parseSucceed = int.TryParse(series[CustomPropertyName.UsedYValue], NumberStyles.Any, CultureInfo.InvariantCulture, out yi); 375newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 414 series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 427newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 483 this.kagiUpColor = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString); 766 this.kagiUpColor = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString);
Common\ChartTypes\LineChart.cs (1)
377 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0
Common\ChartTypes\PieChart.cs (7)
294bool parseSucceed = double.TryParse(series[CustomPropertyName.CollectedThreshold], NumberStyles.Any, CultureInfo.InvariantCulture, out t); 414 dataPoint["OriginalPointIndex"] = originalDataPointIndex.ToString(CultureInfo.InvariantCulture); 431 collectedPoint.Color = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, series[CustomPropertyName.CollectedColor]); 526 if( String.Compare( series.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 ) 710bool parseSucceed = float.TryParse(dataSeries[typeSeries[0]][CustomPropertyName.PieStartAngle], NumberStyles.Any, CultureInfo.InvariantCulture, out angle); 1220bool parseSucceed = float.TryParse(point["InsideLabelOffset"], NumberStyles.Any, CultureInfo.InvariantCulture, out positionRatio); 2395bool parseSucceed = int.TryParse(dataSeries[typeSeries[0]][CustomPropertyName.PieStartAngle], NumberStyles.Any, CultureInfo.InvariantCulture, out angle);
Common\ChartTypes\PointAndFigureChart.cs (16)
176 series["OldXValueIndexed"] = series.IsXValueIndexed.ToString(CultureInfo.InvariantCulture); 177 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 275parseSucceed = int.TryParse(pointAndFigureSeries["OldYValuesPerPoint"], NumberStyles.Any, CultureInfo.InvariantCulture, out yVals); 336 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(ChartTypeNames.PointAndFigure, ((int)(2)).ToString(CultureInfo.CurrentCulture)))); 388parseSucceed = double.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out percent); 398parseSucceed = double.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out b); 451 series["CurrentBoxSize"] = boxSize.ToString(CultureInfo.InvariantCulture); 470bool parseSucceed = double.TryParse(attrValue, NumberStyles.Any, CultureInfo.InvariantCulture, out amount); 499 yValueHighIndex = int.Parse(series[CustomPropertyName.UsedYValueHigh], CultureInfo.InvariantCulture); 516 yValueLowIndex = int.Parse(series[CustomPropertyName.UsedYValueLow], CultureInfo.InvariantCulture); 537 upPriceColor = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, upPriceColorString); 651 series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 657series.Points[series.Points.Count - 1]["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 664 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture); 745 CultureInfo.InvariantCulture); 807double boxSize = double.Parse(ser["CurrentBoxSize"], CultureInfo.InvariantCulture);
Common\ChartTypes\PointChart.cs (2)
333 if( String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 1498throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\RadarChart.cs (1)
374 if(String.Compare( ser.ChartTypeName, this.Name, true, System.Globalization.CultureInfo.CurrentCulture ) != 0 )
Common\ChartTypes\RenkoChart.cs (9)
155 series["OldXValueIndexed"] = series.IsXValueIndexed.ToString(CultureInfo.InvariantCulture); 156 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 249parseSucceed = int.TryParse(renkoSeries["OldYValuesPerPoint"], NumberStyles.Any, CultureInfo.InvariantCulture, out yValsPerPoint); 315 percentOfPriceRange = double.Parse(attrValue, CultureInfo.InvariantCulture); 320 boxSize = double.Parse(attrValue, CultureInfo.InvariantCulture); 388 series["CurrentBoxSize"] = boxSize.ToString(CultureInfo.InvariantCulture); 406 yValueIndex = int.Parse(series[CustomPropertyName.UsedYValue], CultureInfo.InvariantCulture); 454 upBrickColor = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, upBrickColorString); 479 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
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\ChartTypes\ThreeLineBreakChart.cs (7)
156 series["OldXValueIndexed"] = series.IsXValueIndexed.ToString(CultureInfo.InvariantCulture); 157 series["OldYValuesPerPoint"] = series.YValuesPerPoint.ToString(CultureInfo.InvariantCulture); 250parseSucceed = int.TryParse(threeLineBreakSeries["OldYValuesPerPoint"], NumberStyles.Any, CultureInfo.InvariantCulture, out yValsPerPoint); 299 yValueIndex = int.Parse(series[CustomPropertyName.UsedYValue], CultureInfo.InvariantCulture); 318 linesInBreak = int.Parse(series[CustomPropertyName.NumberOfLinesInBreak], CultureInfo.InvariantCulture); 372 priceUpColor = (Color)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString); 457 newDataPoint["OriginalPointIndex"] = pointIndex.ToString(CultureInfo.InvariantCulture);
Common\Converters\AnnotationConverters.cs (3)
70 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 85return dataPoint.series.Name + " - " + SR.DescriptionTypePoint + pointIndex.ToString(CultureInfo.InvariantCulture); 111public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Common\Converters\AxesArrayConverter.cs (1)
81 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Common\Converters\AxisConverters.cs (13)
66 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 126 return DateTime.FromOADate((double)value).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 141 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 210bool parseSucceed = DateTime.TryParse(stringValue, CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate); 277 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 307 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 349 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 375public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 426bool parseSucceed = DateTime.TryParse(stringValue, CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate); 489 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 507 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 629 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 655 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Common\Converters\CustomAttributesConverters.cs (11)
95 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) 115 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 470string itemStr = String.Format(CultureInfo.InvariantCulture, "{0}({1:N0})", item, ChartTypes.ErrorBarChart.DefaultErrorBarTypeValue(item)); 652 result = float.Parse(stringValue, System.Globalization.CultureInfo.InvariantCulture); 656 result = double.Parse(stringValue, System.Globalization.CultureInfo.InvariantCulture); 660 result = int.Parse(stringValue, System.Globalization.CultureInfo.InvariantCulture); 669 result = (Color)colorConverter.ConvertFromString(null, System.Globalization.CultureInfo.InvariantCulture, stringValue); 696 return colorConverter.ConvertToString(null, System.Globalization.CultureInfo.InvariantCulture, value); 700 return ((float)value).ToString(System.Globalization.CultureInfo.InvariantCulture); 704 return ((double)value).ToString(System.Globalization.CultureInfo.InvariantCulture); 708 return ((int)value).ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\Converters\DataManagerConverters.cs (13)
450 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 498 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 525if (DateTime.TryParse(values[index], CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate)) 529else if (DateTime.TryParse(values[index], CultureInfo.CurrentCulture, DateTimeStyles.None, out valueAsDate)) 565 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 589 result += DateTime.FromOADate(d).ToString("g", System.Globalization.CultureInfo.InvariantCulture) + ","; 593 result += d.ToString(System.Globalization.CultureInfo.InvariantCulture) + ","; 622 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 631 return valueAsSate.ToString("g", System.Globalization.CultureInfo.CurrentCulture); 644 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 656DateTime valueAsSate = DateTime.Parse(stringValue, System.Globalization.CultureInfo.CurrentCulture); 763 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 780 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Common\Converters\ElementPositionConverter.cs (6)
90 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 108 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 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\Converters\LegendConverters.cs (11)
267 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) 284 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 356 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 362CultureInfo.InvariantCulture, 381 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 393margins.Top = int.Parse(values[0].Trim(), CultureInfo.InvariantCulture); 394margins.Bottom = int.Parse(values[1].Trim(), CultureInfo.InvariantCulture); 395margins.Left = int.Parse(values[2].Trim(), CultureInfo.InvariantCulture); 396margins.Right = int.Parse(values[3].Trim(), CultureInfo.InvariantCulture); 466 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) 484 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
Common\DataManager\DataPoint.cs (23)
173 sortBy = sortBy.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 190 _sortingValueIndex = Int32.Parse(sortBy.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1; 200 throw(new ArgumentException( SR.ExceptionDataPointConverterUnavailableSorting(sortBy, series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ), "sortBy")); 419throw (new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture)))); 616 throw(new ArgumentOutOfRangeException("yValues", SR.ExceptionDataPointYValuesBindingCountMismatch( series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ) ) ); 788throw new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture))); 797throw new ArgumentOutOfRangeException("yFields", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture))); 1180failed = !int.TryParse(fieldName, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 1218failed = !int.TryParse(fieldName, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 1264bool parseSucceed = int.TryParse(fieldName, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 1390bool parseSucceed = int.TryParse(field, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 1432bool parseSucceed = int.TryParse(field, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 1473failed = !int.TryParse(field, NumberStyles.Any, CultureInfo.InvariantCulture, out columnIndex); 2188 throw(new ArgumentOutOfRangeException("yValue", SR.ExceptionDataPointYValuesSettingCountMismatch(base.series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture)))); 2294yDate = Convert.ToDateTime(yValue[i], CultureInfo.InvariantCulture); //This will throw an exception in case when the yValue type is not compatible with the DateTime 2315yTime = Convert.ToDateTime(yValue[i], CultureInfo.InvariantCulture); //This will throw an exception in case when the yValue type is not compatible with the DateTime 2395 valueName = valueName.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 2412 yIndex = Int32.Parse(valueName.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1; 2468 result = result.Replace(KeywordName.Index, this.series.Points.IndexOf(this).ToString(System.Globalization.CultureInfo.InvariantCulture)); 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 (11)
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)))); 1073 throw(new InvalidOperationException( SR.ExceptionDataSeriesYValueIndexNotExists(yValueIndex.ToString(CultureInfo.InvariantCulture), this.Name ) ) ); 1223 yValueIndex = int.Parse(result.Substring(keyEndIndex + 1, 1), CultureInfo.InvariantCulture); 1426if (Int32.TryParse(dp["OriginalPointIndex"], NumberStyles.Integer, CultureInfo.InvariantCulture, out index))
Common\Formulas\FormulaHelpers.cs (7)
112Debug.Fail(String.Format(CultureInfo.InvariantCulture, "{0} case is not defined", formula)); 338sb.AppendFormat(CultureInfo.InvariantCulture, "{0}", _parameters[i]); 375return Convert.ToInt32(newParamValue, CultureInfo.InvariantCulture); 379return Convert.ToBoolean(newParamValue, CultureInfo.InvariantCulture); 383return Convert.ToDouble(newParamValue, CultureInfo.InvariantCulture); 1381sb.AppendFormat(CultureInfo.InvariantCulture, "{0}:Y", info.SeriesName); //The string field descriptor is 1 based ;-( 1383sb.AppendFormat(CultureInfo.InvariantCulture, "{0}:Y{1}", info.SeriesName, dataFieldIndex + 1); //The string field descriptor is 1 based ;-(
Common\Formulas\GeneralFormulas.cs (1)
164 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
Common\Formulas\Oscillator.cs (11)
84!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out shortPeriod)) 92!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out longPeriod)) 187 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 266!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 277!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out signalPeriod)) 357!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out shortPeriod)) 365!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out longPeriod)) 465!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out periodD)) 476!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out periodK)) 576!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 645 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
Common\Formulas\PriceIndicators.cs (13)
96 parList[0] = period.ToString(System.Globalization.CultureInfo.InvariantCulture); 97 extList[0] = FromFirst.ToString(System.Globalization.CultureInfo.InvariantCulture); 142 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 274 parList[0] = period.ToString(System.Globalization.CultureInfo.InvariantCulture); 275 extList[0] = startFromFirst.ToString(System.Globalization.CultureInfo.InvariantCulture); 317 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 461 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 544 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 687 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 702 {deviation = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture );} 963 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 978 {shift = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture );} 1121 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
Common\Formulas\StatisticalAnalysis.cs (27)
79 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 186 alpha = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 453 alpha = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 591 HypothesizedMeanDifference = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 606 variance1 = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 616 variance2 = double.Parse( parameterList[2], System.Globalization.CultureInfo.InvariantCulture ); 626 alpha = double.Parse( parameterList[3], System.Globalization.CultureInfo.InvariantCulture ); 746 HypothesizedMeanDifference = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 761 alpha = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 922 HypothesizedMeanDifference = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 937 alpha = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1049 tValue = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1060 freedom = int.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1071 oneTailed = int.Parse( parameterList[2], System.Globalization.CultureInfo.InvariantCulture ); 1119 fValue = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1130 freedom1 = int.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1141 freedom2 = int.Parse( parameterList[2], System.Globalization.CultureInfo.InvariantCulture ); 1180 zValue = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1223 probability = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1234 freedom = int.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1282 probability = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1293 freedom1 = int.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1304 freedom2 = int.Parse( parameterList[2], System.Globalization.CultureInfo.InvariantCulture ); 1348 alpha = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1735 m = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture ); 1746 n = double.Parse( parameterList[1], System.Globalization.CultureInfo.InvariantCulture ); 1788 m = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );
Common\Formulas\TechGeneralIndicators.cs (11)
82 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 156!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 288!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 299!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out averagePeriod)) 427!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 483!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 567!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 645!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out shortPeriod)) 656!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out longPeriod)) 735!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out period)) 820 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture);
Common\Formulas\TimeSeriesAndForecasting.cs (4)
100 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 188!int.TryParse(parameterList[0], NumberStyles.Any, CultureInfo.InvariantCulture, out degree)) 199throw new InvalidOperationException(SR.ExceptionForecastingNotEnoughDataPoints(degree.ToString(System.Globalization.CultureInfo.InvariantCulture))); 204!int.TryParse(parameterList[1], NumberStyles.Any, CultureInfo.InvariantCulture, out period))
Common\Formulas\VolumeIndicator.cs (4)
71 name = formulaName.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 148 {period = int.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 363 {startValue = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );} 433 {startValue = double.Parse( parameterList[0], System.Globalization.CultureInfo.InvariantCulture );}
Common\General\AxisScrollZoom.cs (7)
1505 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 1523 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 1591 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 1648strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 1662strValue = DateTime.FromOADate(dtValue).ToString("g", System.Globalization.CultureInfo.CurrentCulture); 1680 public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 1753bool parseSucceed = DateTime.TryParse(crossingValue, CultureInfo.InvariantCulture, DateTimeStyles.None, out valueAsDate);
Common\General\BaseCollections.cs (1)
378result = prefix + i.ToString(CultureInfo.InvariantCulture);
Common\General\Chart.cs (4)
485dataTable.Locale = CultureInfo.CurrentCulture; 491dataTable.Locale = CultureInfo.CurrentCulture; 804 throw(new ArgumentOutOfRangeException("dataSource", SR.ExceptionDataPointYValuesCountMismatch(series.YValuesPerPoint.ToString(System.Globalization.CultureInfo.InvariantCulture) ) ) ); 1389bool parseSucceed = int.TryParse(xField, NumberStyles.Any, CultureInfo.InvariantCulture, out index);
Common\General\ChartArea3D.cs (4)
1122 if(processedChartTypes.Contains(curSeries.ChartTypeName.ToUpper(System.Globalization.CultureInfo.InvariantCulture))) 1132 if(ser.ChartTypeName.ToUpper(System.Globalization.CultureInfo.InvariantCulture) == 1133 curSeries.ChartTypeName.ToUpper(System.Globalization.CultureInfo.InvariantCulture)) 1147 processedChartTypes.Add(curSeries.ChartTypeName.ToUpper(System.Globalization.CultureInfo.InvariantCulture));
Common\General\CommonElements.cs (5)
293result = double.Parse(stringToParse, NumberStyles.Any, CultureInfo.InvariantCulture); 297bool parseSucceed = double.TryParse(stringToParse, NumberStyles.Any, CultureInfo.InvariantCulture, out result); 300double.TryParse(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result); 315bool parseSucceed = float.TryParse(stringToParse, NumberStyles.Any, CultureInfo.InvariantCulture, out result); 319float.TryParse(stringToParse, NumberStyles.Any, CultureInfo.CurrentCulture, out result);
Common\General\DataManipulator.cs (11)
433 point["_Index"] = pointIndex.ToString(System.Globalization.CultureInfo.InvariantCulture); 454 fromIndex = int.Parse(point["_Index"], System.Globalization.CultureInfo.InvariantCulture); 935dataSet.Locale = System.Globalization.CultureInfo.CurrentCulture; 967seriesTable.Locale = System.Globalization.CultureInfo.CurrentCulture; 1004 seriesTable.Columns.Add("Y" + (yIndex + 1).ToString(System.Globalization.CultureInfo.InvariantCulture), columnType); 1064 dataRow["Y" + (yIndex + 1).ToString(System.Globalization.CultureInfo.InvariantCulture)] = yValue; 1565 result[index] = Int32.Parse(rangeIndex[0], System.Globalization.CultureInfo.InvariantCulture); 1566 result[index + 1] = Int32.Parse(rangeIndex[1], System.Globalization.CultureInfo.InvariantCulture); 1590 result[index] = Int32.Parse(str, System.Globalization.CultureInfo.InvariantCulture); 3045 formulaString = formulaString.ToUpper(System.Globalization.CultureInfo.InvariantCulture); 3158 valueIndex = Int32.Parse(formulaParts[0], System.Globalization.CultureInfo.InvariantCulture);
Common\General\FormulaData.cs (4)
299_extraParameters[0] = false.ToString(System.Globalization.CultureInfo.InvariantCulture); 634valueIndex = Int32.Parse(parts[1], System.Globalization.CultureInfo.InvariantCulture); 1289_extraParameters[0] = true.ToString(System.Globalization.CultureInfo.InvariantCulture); 1291_extraParameters[0] = false.ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\General\LegendColumns.cs (1)
2696CultureInfo.InvariantCulture,
Common\General\Selection.cs (6)
414return String.Format(CultureInfo.CurrentCulture, "{0} of {1}", this.Type, objectType); 560 region.PointIndex = int.Parse(point["OriginalPointIndex"], CultureInfo.InvariantCulture); 642 region.PointIndex = int.Parse(point["OriginalPointIndex"], CultureInfo.InvariantCulture); 725 region.PointIndex = int.Parse(point["OriginalPointIndex"], CultureInfo.InvariantCulture); 791 region.PointIndex = int.Parse(point["OriginalPointIndex"], CultureInfo.InvariantCulture); 876 region.PointIndex = int.Parse(point["OriginalPointIndex"], CultureInfo.InvariantCulture);
Common\General\Statistics.cs (40)
122 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 123 parameter += "," + varianceFirstGroup.ToString(System.Globalization.CultureInfo.InvariantCulture); 124 parameter += "," + varianceSecondGroup.ToString(System.Globalization.CultureInfo.InvariantCulture); 125 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 131 string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 186 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 187 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 195string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 249 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 250 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 256 string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 312 string parameter = hypothesizedMeanDifference.ToString(System.Globalization.CultureInfo.InvariantCulture); 313 parameter += "," + probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 319 string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 389 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 392 string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 449 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 497 string parameter = zValue.ToString(System.Globalization.CultureInfo.InvariantCulture); 533 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 573 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture); 574 parameter += "," + firstDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 575 parameter += "," + secondDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 615 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 616 parameter += "," + firstDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 617 parameter += "," + secondDegreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 657 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture); 658 parameter += "," + degreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 706 string parameter = probability.ToString(System.Globalization.CultureInfo.InvariantCulture); 707 parameter += "," + degreeOfFreedom.ToString(System.Globalization.CultureInfo.InvariantCulture); 758 string inputSeriesParameter = firstInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture) + "," + secondInputSeriesName.ToString(System.Globalization.CultureInfo.InvariantCulture); 927 string parameter = sampleVariance.ToString(System.Globalization.CultureInfo.InvariantCulture); 971 string parameter = m.ToString(System.Globalization.CultureInfo.InvariantCulture); 972 parameter += "," + n.ToString(System.Globalization.CultureInfo.InvariantCulture); 1008 string parameter = value.ToString(System.Globalization.CultureInfo.InvariantCulture);
Common\General\Title.cs (2)
492throw (new ArgumentOutOfRangeException("value", SR.ExceptionValueMustBeInRange("DockingOffset", (-100).ToString(CultureInfo.CurrentCulture), (100).ToString(CultureInfo.CurrentCulture))));
Common\SR.cs (6)
25 public static CultureInfo Culture 9930 static CultureInfo _culture = null; 12517 public static CultureInfo Culture 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\CustomAttributesRegistry.cs (1)
1391String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}({1:N0})", ErrorBarType.StandardError, ErrorBarChart.DefaultErrorBarTypeValue(ErrorBarType.StandardError)),
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);
Common\Utilities\XmlSerializer.cs (11)
529 fontData += ", GdiCharSet=" + font.GdiCharSet.ToString(System.Globalization.CultureInfo.InvariantCulture); 561 gdiCharSet = (byte)Int32.Parse(val, System.Globalization.CultureInfo.InvariantCulture); 677 XmlTextWriter textWriter = new XmlTextWriter(new StringWriter(stringBuilder, CultureInfo.InvariantCulture)); 1494attrib.Value = itemIndex.ToString(CultureInfo.InvariantCulture); 1772 return colorConverter.ConvertToString(null, System.Globalization.CultureInfo.InvariantCulture, obj); 1785 return unit.Value.ToString(System.Globalization.CultureInfo.InvariantCulture); 1802return converter.ConvertToString(null, System.Globalization.CultureInfo.InvariantCulture, obj); 2060int nodeIndex = int.Parse(templateString, CultureInfo.InvariantCulture); 2168 objValue = (Color)colorConverter.ConvertFromString(null, System.Globalization.CultureInfo.InvariantCulture, attrValue); 2174 objValue = new Unit(Int32.Parse(attrValue, System.Globalization.CultureInfo.InvariantCulture)); 2192objValue = converter.ConvertFromString(null, System.Globalization.CultureInfo.InvariantCulture, attrValue);
WinForm\ChartWinControl.cs (1)
1877 buildNumber = assembly.FullName.ToUpper(CultureInfo.InvariantCulture);
System.Workflow.Activities (488)
Common\BasePropertyDescriptor.cs (3)
565retVal = component.GetType().InvokeMember("ParameterBindings", BindingFlags.GetProperty | BindingFlags.Public | BindingFlags.Instance | BindingFlags.FlattenHierarchy | BindingFlags.ExactBinding, null, component, new object[] { }, CultureInfo.InvariantCulture) as WorkflowParameterBindingCollection; 753public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object valueToConvert) 769public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
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));
Common\DelegateTypeInfo.cs (1)
86paramName = "param" + index.ToString(CultureInfo.InvariantCulture);
Common\TypeSystemHelpers.cs (9)
153CultureInfo thatCulture = thatName.CultureInfo; 154if (thatCulture != null && !thatCulture.Equals(CultureInfo.InvariantCulture)) 156CultureInfo thisCulture = thisName.CultureInfo; 167if (thisCulture.Equals(CultureInfo.InvariantCulture)) 210CultureInfo thatCulture = null; 236thatToken[i] = Byte.Parse(partValue.Substring(i * 2, 2), NumberStyles.HexNumber, CultureInfo.InvariantCulture); 248if (thatCulture != null && !thatCulture.Equals(CultureInfo.InvariantCulture)) 250CultureInfo thisCulture = thisName.CultureInfo; 261if (thisCulture.Equals(CultureInfo.InvariantCulture))
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 (4)
210public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 229public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 238parsedTimespan = TimeSpan.Parse(timeSpan, CultureInfo.InvariantCulture); 240throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.GetString(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration"));
Designers\StateDesigner.cs (3)
1966string.Format(System.Globalization.CultureInfo.InvariantCulture, 2480public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) 2488public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
Designers\StateDesignerConnector.cs (2)
312int sourceIndex = Convert.ToInt32(constructionArguments["SourceConnectionIndex"] as string, System.Globalization.CultureInfo.InvariantCulture); 323int targetIndex = Convert.ToInt32(constructionArguments["TargetConnectionIndex"] as string, System.Globalization.CultureInfo.InvariantCulture);
Executors\WorkflowWebService.cs (3)
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); 204WorkflowActivityTrace.Activity.TraceEvent(TraceEventType.Warning, 0, String.Format(System.Globalization.CultureInfo.InvariantCulture, "Workflow Web Host Encountered Workflow Instance Ownership conflict for instanceid {0}.", instance.InstanceId));
InvokeWebService.cs (1)
138result = this.ProxyClass.InvokeMember(this.MethodName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.InvokeMethod, null, proxyInstance, actualParameters, System.Globalization.CultureInfo.InvariantCulture);
LocalService\CorrelationTokenTypeConvertor.cs (2)
32public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 55public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
LocalService\DataExchangeServiceBinder.cs (3)
34System.Globalization.CultureInfo culture, 79CultureInfo culture) 104CultureInfo culture
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 (2)
50string svalue = Convert.ToString(value, CultureInfo.InvariantCulture); 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\BasicBrowserDialog.cs (1)
212if (CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft)
Rules\Design\Dialogs\ConditionBrowserDialog.cs (2)
122string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(ITypeProvider).FullName); 183string newRuleName = newRuleNameBase + index.ToString(CultureInfo.InvariantCulture);
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 (9)
49string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(ITypeProvider).FullName); 158this.priorityTextBox.Text = rule.Priority.ToString(CultureInfo.CurrentCulture); 316if (CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft) 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); 448string newRuleName = newRuleNameBase + index.ToString(CultureInfo.InvariantCulture); 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 (3)
53string message = string.Format(CultureInfo.CurrentCulture, Messages.ConditionNotFound, conditionDeclaration.ConditionName); 162returnVal = typeDescriptorContext.PropertyDescriptor.Converter.ConvertFrom(typeDescriptorContext, CultureInfo.CurrentUICulture, dlg.SelectedName); 219string message = string.Format(CultureInfo.CurrentCulture, Messages.RuleSetNotFound, ruleSetReference.RuleSetName);
Rules\Design\LogicalExpressionTypeConverter.cs (12)
28throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(IReferenceService).FullName)); 79public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 116public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object valueToConvert) 128string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(ISite).FullName); 152public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 199public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 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 (17)
982char upperFirstCharacter = char.ToUpper(firstCharacter, CultureInfo.InvariantCulture); 988if (char.ToUpper(key[0], CultureInfo.InvariantCulture) == upperFirstCharacter) 1002if (char.ToUpper(key[0], CultureInfo.InvariantCulture) == upperFirstCharacter) 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 (15)
96if (char.ToUpper(kvp.Key[0], CultureInfo.InvariantCulture) == upperFirstCharacter) 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); 598tokenValue = float.Parse(numberString, NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent, CultureInfo.InvariantCulture); 602message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidFloatingPointConstant, exception.Message); 611tokenValue = double.Parse(numberString, NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent, CultureInfo.InvariantCulture); 615message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidFloatingPointConstant, exception.Message); 624tokenValue = decimal.Parse(numberString, NumberStyles.AllowDecimalPoint | NumberStyles.AllowExponent, CultureInfo.InvariantCulture); 628message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_InvalidDecimalConstant, exception.Message); 639value = ulong.Parse(numberString, CultureInfo.InvariantCulture); 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\Parser\Symbol.cs (1)
187GenericArgCount = Int32.Parse(count, CultureInfo.InvariantCulture);
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 (3)
40string message = string.Format(CultureInfo.CurrentCulture, Messages.RuleSetExists, item.Name); 75string message = string.Format(CultureInfo.CurrentCulture, Messages.InvalidRuleSetName, "item.Name"); 114newName = nameBase + i.ToString(CultureInfo.InvariantCulture);
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 (39)
226public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) 354public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) 438public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) 468public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) 501public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) 532public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) 682public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) 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 (9)
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)); 97private static CultureInfo Culture 106internal static string GetString(CultureInfo culture, string name, params object[] args) 112System.Diagnostics.Debug.Assert(res != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", name)); 115return String.Format(CultureInfo.CurrentCulture, res, args); 128internal static string GetString(CultureInfo culture, string name) 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 (215)
AuthoringOM\Activity.cs (13)
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)); 994dottedPathBuilder.Insert(0, thisActivityIndex.ToString(CultureInfo.InvariantCulture)); //15 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 }); 2170int index = Convert.ToInt32(subPath, CultureInfo.InvariantCulture); 2206lookupPath += this.activities.IndexOf(childActivity).ToString(CultureInfo.InvariantCulture); 2296Activity childActivity = (Activity)deserializedActivities[prefix.Length == 0 ? index.ToString(CultureInfo.InvariantCulture) : prefix + "." + index.ToString(CultureInfo.InvariantCulture)];
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\SynchronizationScope.cs (2)
90public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 105public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
AuthoringOM\Behaviors\WorkflowTransactionOptions.cs (4)
71public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 90public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 99parsedTimespan = TimeSpan.Parse(timeSpan, CultureInfo.InvariantCulture); 107throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.GetString(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration"));
AuthoringOM\Bind.cs (5)
151targetObject = (eventArgs.MemberInfo as PropertyInfo).GetValue(targetObject, BindingFlags.GetProperty, null, eventArgs.IndexParameters, CultureInfo.InvariantCulture); 1117value = (eventArgs.MemberInfo as PropertyInfo).GetValue(value, BindingFlags.GetProperty, null, eventArgs.IndexParameters, CultureInfo.InvariantCulture); 1222arg = Convert.ChangeType(argName, typeof(System.Int32), CultureInfo.InvariantCulture); 1646public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) 1657public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
AuthoringOM\Compiler\CompileXomlTask.cs (6)
482normalizedVersion = string.Format(CultureInfo.InvariantCulture, "v{0}.{1}", parts[0], parts[1]); 486normalizedVersion = string.Format(CultureInfo.InvariantCulture, "v{0}.0", parts[0]); 644workflowErrorLogger.LogMessage(string.Format(CultureInfo.CurrentCulture, "\nCompile complete -- {0} errors, {1} warnings \n", new object[] { errorCount, warningCount })); 890retVal = (Convert.ToInt32(obj, CultureInfo.InvariantCulture) != 0); 1277CultureInfo[] cultureInfos = CultureInfo.GetCultures(CultureTypes.AllCultures);
AuthoringOM\Compiler\Configuration.cs (1)
134this.regex = new Regex(MakeRegex(string.Format(CultureInfo.InvariantCulture, "{0}.{1}, {2}", new object[] { this.namespaceName, this.typeName, this.assemblyName })), RegexOptions.Compiled);
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (2)
198return System.Convert.ToBoolean(this.ArgumentValues[argumentIndex], CultureInfo.InvariantCulture); 221string parsedTypeName = baseTypeName + "`" + genericParamTypeNames.Length.ToString(CultureInfo.InvariantCulture) + "[";
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (3)
562public override object InvokeMember(string name, BindingFlags bindingFlags, Binder binder, object target, object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParams) 635return this.typeProvider.GetType(String.Format(CultureInfo.InvariantCulture, "{0}[]", this.FullName)); 931typeName.Append(string.Format(CultureInfo.InvariantCulture, "`{0}", new object[] { codeTypeReference.TypeArguments.Count }));
AuthoringOM\Compiler\TypeSystem\FieldInfo.cs (1)
66public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
AuthoringOM\Compiler\TypeSystem\MethodInfo.cs (3)
38public override Object Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 83public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) 244public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (3)
50public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) 151public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) 227public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (7)
399public override object InvokeMember(string name, BindingFlags bindingFlags, Binder binder, object target, object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParams) 808public override object Invoke(BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) 831public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) 906public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) 1001public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) 1009public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) 1120public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (5)
460throw new Exception(TypeSystemSR.GetString(CultureInfo.CurrentCulture, "Error_TypeResolution", name)); 1027private static CultureInfo Culture 1035internal static string GetString(CultureInfo culture, string name, params object[] args) 1046return String.Format(CultureInfo.CurrentCulture, res, args); 1057internal static string GetString(CultureInfo culture, string name)
AuthoringOM\Compiler\Validation\ValidationError.cs (1)
86return String.Format(CultureInfo.InvariantCulture, "{0} {1}: {2}", this.isWarning ? "warning" : "error", this.errorNumber, this.errorText);
AuthoringOM\Compiler\XomlCompiler.cs (8)
228string normalizedVersionString = string.Format(CultureInfo.InvariantCulture, "v{0}.{1}", targetVersion.Major, targetVersion.Minor); 632Results.Errors.Add(new WorkflowCompilerError(this.Filename, -1, -1, ErrorNumbers.Error_TypeNotAuthorized.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_TypeNotAuthorized, SR.GetString(SR.NullConditionExpression)))); 652Results.Errors.Add(new WorkflowCompilerError(this.Filename, -1, -1, ErrorNumbers.Error_TypeNotAuthorized.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_TypeNotAuthorized, typeToAuthorize))); 772results.Errors.Add(new WorkflowCompilerError(String.Empty, -1, -1, ErrorNumbers.Error_UnknownCompilerException.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CompilationFailed, e.Message))); 1062results.Errors.Add(new WorkflowCompilerError(fileName, -1, -1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), error.ToString())); 1076results.Errors.Add(new WorkflowCompilerError(fileName, -1, -1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CompilationFailed, e.Message))); 1082results.Errors.Add(new WorkflowCompilerError(fileName, 1, 1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_RootActivityTypeInvalid))); 1089results.Errors.Add(new WorkflowCompilerError(fileName, 1, 1, ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_CannotCompile_No_XClass)));
AuthoringOM\Compiler\XomlCompilerError.cs (4)
56this.ErrorNumber = ErrorNumbers.Error_SerializationError.ToString(CultureInfo.InvariantCulture); 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 (6)
52new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_LibraryPath.ToString(CultureInfo.InvariantCulture), string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.LibraryPathIsInvalid), libraryPath)); 198WorkflowCompilerError compilerError = new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_TypeLoad.ToString(CultureInfo.InvariantCulture), entry.Value.Message); 269(string.IsNullOrEmpty(parameters.CompilerOptions) || !parameters.CompilerOptions.ToLower(CultureInfo.InvariantCulture).Contains("/delaysign"))) 483WorkflowCompilerError compilerError = new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_InvalidReferencedAssembly.ToString(CultureInfo.InvariantCulture), SR.GetString(SR.Error_ReferencedAssemblyIsInvalid, reference)); 551compilerError.ErrorNumber = "WF" + error.ErrorNumber.ToString(CultureInfo.InvariantCulture);
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\ActivityDesignerLayoutSerializers.cs (3)
227int sourceIndex = Convert.ToInt32(constructionArguments["SourceConnectionIndex"] as string, System.Globalization.CultureInfo.InvariantCulture); 238int targetIndex = Convert.ToInt32(constructionArguments["TargetConnectionIndex"] as string, System.Globalization.CultureInfo.InvariantCulture); 326stringValue = "0X" + colorValue.ToString("X08", System.Globalization.CultureInfo.InvariantCulture);
AuthoringOM\Design\ComponentSerializationService.cs (4)
300StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture); 314xomlSerializationManager.Context.Push(new StringWriter(CultureInfo.InvariantCulture)); 635public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) 676public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
942DesignerHelpers.UpdateSiteName(nestedActivity, "_activityonthemove_" + i.ToString(CultureInfo.InvariantCulture));
AuthoringOM\Design\DesignerHelpers.cs (3)
1686uniqueName = name + "_" + (++tryCount).ToString(CultureInfo.InvariantCulture); 1717string finalIdentifier = string.Format(CultureInfo.InvariantCulture, "{0}{1}", baseIdentifier, index); 1721finalIdentifier = string.Format(CultureInfo.InvariantCulture, "{0}{1}", baseIdentifier, index);
AuthoringOM\Design\DesignerResources.cs (2)
231return GetString(CultureInfo.CurrentUICulture, resID, args); 234internal static string GetString(CultureInfo culture, string resID, params object[] args)
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 (13)
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' }); 333if (string.Compare(memberInfo.Name, newMemberName, language == SupportedLanguages.VB, CultureInfo.InvariantCulture) == 0) 341if (errorMsg == null && string.Compare(customActivityType.Name, newMemberName, language == SupportedLanguages.VB, CultureInfo.InvariantCulture) == 0) 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); 753return Convert.ToBoolean(argumentValues[0], CultureInfo.InvariantCulture); 1026DesignerHelpers.ShowError(this.parent.serviceProvider, string.Format(CultureInfo.CurrentCulture, this.parent.IncorrectIndexChange, newLabel)); 1072this.TreeView.ImageList.Images.Add(string.Format(CultureInfo.InvariantCulture, MemberTypeFormat, i), image); //member type key is non-localizable 1106node.ImageIndex = node.SelectedImageIndex = this.TreeView.ImageList.Images.IndexOfKey(string.Format(CultureInfo.InvariantCulture, MemberTypeFormat, imageNumber)); //it's non-localizable
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
661Debug.Assert(false, string.Format(CultureInfo.CurrentCulture, "Could not load type '{0}'", stockTypeName)); 1087Activity.Name = Activity.GetType().Name + id.ToString(CultureInfo.InvariantCulture);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (3)
727errorMessage = string.Format(CultureInfo.CurrentCulture, errorMessage, new object[] { fileDialog.FileName }); 1442public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 1461public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
AuthoringOM\Design\IdentifierCreationService.cs (2)
169finalIdentifier = string.Format(CultureInfo.InvariantCulture, "{0}{1}", new object[] { baseIdentifier, ++index }); 175finalIdentifier = string.Format(CultureInfo.InvariantCulture, "{0}{1}", new object[] { baseIdentifier, ++index });
AuthoringOM\Design\ReferenceService.cs (2)
57CreateReferences(string.Format(CultureInfo.InvariantCulture, "{0}.{1}", new object[] { trailingName, property.Name }), property.GetValue(reference), sitedComponent); 356this.fullName = string.Format(CultureInfo.InvariantCulture, "{0}{1}", new object[] { this.sitedComponent.Site.Name, this.trailingName });
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (1)
139return DR.GetString(DR.ConnectorDesc, this.connectorHitInfo.MapToIndex().ToString(CultureInfo.InvariantCulture), Parent.Name);
AuthoringOM\Design\Themes.cs (4)
331tempThemePath = Path.Combine(path, DR.GetString(DR.MyFavoriteTheme) + i.ToString(CultureInfo.InvariantCulture) + ".wtm"); 537StringWriter stringWriter = new StringWriter(new StringBuilder(), CultureInfo.InvariantCulture); 3204public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 3258public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
AuthoringOM\Design\TypeConverters.cs (7)
61public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 82public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 189public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object valueToConvert) 219public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 231convertedValue = String.Format(CultureInfo.InvariantCulture, ("Activity={0}, Path={1}"), (activity != null) ? activity.QualifiedName : activityBind.Name, activityBind.Path); 414public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 419public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
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\WorkflowInlining.cs (1)
448Type workflowType = Activity.GetType().InvokeMember("TargetWorkflow", BindingFlags.GetProperty | BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.Instance | BindingFlags.FlattenHierarchy | BindingFlags.ExactBinding, null, Activity, new object[] { }, CultureInfo.InvariantCulture) as Type;
AuthoringOM\Design\WorkflowPrinting.cs (2)
245headerFooter = headerFooter.Replace("{#}", headerFooterPrintData.CurrentPage.ToString(CultureInfo.CurrentCulture)); 246headerFooter = headerFooter.Replace("{##}", headerFooterPrintData.TotalPages.ToString(CultureInfo.CurrentCulture));
AuthoringOM\Fault.cs (6)
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)); 176public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 210public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
AuthoringOM\ScheduleChanges.cs (3)
349throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_DynamicUpdateEvaluation, new object[] { workflowCoreRuntime.InstanceID.ToString() })); 573using (StringWriter sw = new StringWriter(CultureInfo.InvariantCulture)) 766using (StringWriter sw = new StringWriter(CultureInfo.InvariantCulture))
AuthoringOM\Serializer\ActivitySurrogate.cs (1)
93using (StringWriter changeActionsStringWriter = new StringWriter(CultureInfo.InvariantCulture))
AuthoringOM\Serializer\CodeTypeReferenceSerializer.cs (1)
70typeName = string.Format(CultureInfo.InvariantCulture, "{0}, {1}", type.FullName, assemblyFullName);
AuthoringOM\Serializer\CollectionMarkupSerializer.cs (2)
74obj.GetType().InvokeMember("Clear", BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.Instance, null, obj, new object[] { }, CultureInfo.InvariantCulture); 85parentObj.GetType().InvokeMember("Add", BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.Instance, null, parentObj, new object[] { childObj }, CultureInfo.InvariantCulture);
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (2)
120public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture) 128public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (16)
184StringWriter xomlStringWriter = new StringWriter(CultureInfo.InvariantCulture); 656stringValue = ((DateTime)obj).ToString("o", CultureInfo.InvariantCulture); 662stringValue = typeConverter.ConvertTo(null, CultureInfo.InvariantCulture, obj, typeof(string)) as string; 664stringValue = Convert.ToString(obj, CultureInfo.InvariantCulture); 1161if (defaultValueAttr.Value is IConvertible && value is IConvertible && object.Equals(Convert.ChangeType(defaultValueAttr.Value, property.PropertyType, CultureInfo.InvariantCulture), Convert.ChangeType(value, property.PropertyType, CultureInfo.InvariantCulture))) 1201return ((DateTime)value).ToString("o", CultureInfo.InvariantCulture); 1203return Convert.ToString(value, CultureInfo.InvariantCulture); 1244propVal = Convert.ChangeType(value, propertyType, CultureInfo.InvariantCulture); 1257propVal = TimeSpan.Parse(value, CultureInfo.InvariantCulture); 1261propVal = DateTime.Parse(value, CultureInfo.InvariantCulture, DateTimeStyles.RoundtripKind); 1287propVal = Convert.ChangeType(value, propertyType, CultureInfo.InvariantCulture); 1746obj = DateTime.Parse(stringValue, CultureInfo.InvariantCulture, DateTimeStyles.RoundtripKind); 1753obj = typeConverter.ConvertFrom(null, CultureInfo.InvariantCulture, stringValue); 1755obj = Convert.ChangeType(stringValue, type, CultureInfo.InvariantCulture); 2269string normalizedVersionString = string.Format(CultureInfo.InvariantCulture, "v{0}.{1}", targetVersion.Major, targetVersion.Minor);
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (2)
447prefix = basePrefix + string.Format(CultureInfo.InvariantCulture, "{0}", index++); 449prefix = basePrefix + string.Format(CultureInfo.InvariantCulture, "{0}", index++);
AuthoringOM\SR.cs (9)
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 })); 96private static CultureInfo Culture 108internal static string GetString(CultureInfo culture, string name, params object[] args) 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); 130internal static string GetString(CultureInfo culture, string name) 136System.Diagnostics.Debug.Assert(res != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", new object[] { name }));
Shared\BasePropertyDescriptor.cs (3)
564retVal = component.GetType().InvokeMember("ParameterBindings", BindingFlags.GetProperty | BindingFlags.Public | BindingFlags.Instance | BindingFlags.FlattenHierarchy | BindingFlags.ExactBinding, null, component, new object[] { }, CultureInfo.InvariantCulture) as WorkflowParameterBindingCollection; 752public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object valueToConvert) 768public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
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\DelegateTypeInfo.cs (1)
85paramName = "param" + index.ToString(CultureInfo.InvariantCulture);
Shared\TypeSystemHelpers.cs (9)
152CultureInfo thatCulture = thatName.CultureInfo; 153if (thatCulture != null && !thatCulture.Equals(CultureInfo.InvariantCulture)) 155CultureInfo thisCulture = thisName.CultureInfo; 166if (thisCulture.Equals(CultureInfo.InvariantCulture)) 209CultureInfo thatCulture = null; 235thatToken[i] = Byte.Parse(partValue.Substring(i * 2, 2), NumberStyles.HexNumber, CultureInfo.InvariantCulture); 247if (thatCulture != null && !thatCulture.Equals(CultureInfo.InvariantCulture)) 249CultureInfo thisCulture = thisName.CultureInfo; 260if (thisCulture.Equals(CultureInfo.InvariantCulture))
Shared\XomlSerializationHelpers.cs (19)
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)); 288string checksum = string.Format(CultureInfo.InvariantCulture, "{0}{1}{2}{3}{4}{5}{6}{7}{8}{9}{10}{11}{12}{13}{14}{15}", new object[] { checksumBytes[0].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[1].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[2].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[3].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[4].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[5].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[6].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[7].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[8].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[9].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[10].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[11].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[12].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[13].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[14].ToString("X2", CultureInfo.InvariantCulture), checksumBytes[15].ToString("X2", CultureInfo.InvariantCulture) });
System.Workflow.Runtime (148)
CorrelationToken.cs (1)
113throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CorrelationAlreadyInitialized, this.Name));
DebugEngine\DebugController.cs (9)
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():")); 502controllerConduitType = Type.GetType(string.Format(CultureInfo.InvariantCulture, controllerConduitTypeFormat, version)); 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():")); 1000using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
DebugEngine\DebugControllerThread.cs (6)
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():")); 121eeFrameType = Type.GetType(string.Format(CultureInfo.InvariantCulture, eeFrameTypeNameFormat, version)); 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 (5)
73if (!int.TryParse(p, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.CurrentCulture, out maxSimultaneousWorkflows)) 103throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 116throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "timerId")); 118throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "workflowInstanceId")); 133throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, ExecutionStringManager.CantBeEmptyGuid, "timerId"), "timerId");
Hosting\DefaultWorkflowTransactionService.cs (1)
114WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "DefaultWorkflowCommitWorkBatchService retrying commitWorkBatchCallback (retry attempt " + retryCounter.ToString(System.Globalization.CultureInfo.InvariantCulture) + ")");
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\SharedConnectionWorkflowTransactionService.cs (1)
226WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SharedConnectionWorkflowCommitWorkBatchService retrying commitWorkBatchCallback (retry attempt " + retryCounter.ToString(System.Globalization.CultureInfo.InvariantCulture) + ")");
Hosting\SqlWorkflowPersistenceService.cs (14)
114WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService OpenConnection start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 116WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService. OpenConnection end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 262WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveNonblockingInstanceStateIds ExecuteReader start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 264WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveNonblockingInstanceStateIds ExecuteReader end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 325WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.TryRetrieveANonblockingInstanceStateId ExecuteNonQuery start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 327WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.TryRetrieveANonblockingInstanceStateId ExecuteNonQuery end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 376WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveExpiredTimerIds ExecuteReader start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 378WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveExpiredTimerIds ExecuteReader end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 605WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveStateFromDB {0} ExecuteReader start: {1}", instanceId, DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 607WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlWorkflowPersistenceService.RetrieveStateFromDB {0} ExecuteReader end: {1}", instanceId, DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 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));
parent\Common\Shared\DigestComparer.cs (17)
37return string.Format(CultureInfo.InvariantCulture, "{0}{1}{2}{3}{4}{5}{6}{7}{8}{9}{10}{11}{12}{13}{14}{15}", md5Digest[0].ToString("X2", CultureInfo.InvariantCulture), md5Digest[1].ToString("X2", CultureInfo.InvariantCulture), md5Digest[2].ToString("X2", CultureInfo.InvariantCulture), md5Digest[3].ToString("X2", CultureInfo.InvariantCulture), md5Digest[4].ToString("X2", CultureInfo.InvariantCulture), md5Digest[5].ToString("X2", CultureInfo.InvariantCulture), md5Digest[6].ToString("X2", CultureInfo.InvariantCulture), md5Digest[7].ToString("X2", CultureInfo.InvariantCulture), md5Digest[8].ToString("X2", CultureInfo.InvariantCulture), md5Digest[9].ToString("X2", CultureInfo.InvariantCulture), md5Digest[10].ToString("X2", CultureInfo.InvariantCulture), md5Digest[11].ToString("X2", CultureInfo.InvariantCulture), md5Digest[12].ToString("X2", CultureInfo.InvariantCulture), md5Digest[13].ToString("X2", CultureInfo.InvariantCulture), md5Digest[14].ToString("X2", CultureInfo.InvariantCulture), md5Digest[15].ToString("X2", CultureInfo.InvariantCulture));
PerformanceCounterManager.cs (1)
356throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "sender", typeof(WorkflowExecutor).ToString()));
RTTrackingProfile.cs (1)
98StringWriter writer = new StringWriter(System.Globalization.CultureInfo.InvariantCulture);
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 (3)
286throw new InvalidOperationException(string.Format(System.Globalization.CultureInfo.InvariantCulture, ExecutionStringManager.ListenerNotInCache, instanceId)); 291throw new ObjectDisposedException(string.Format(System.Globalization.CultureInfo.InvariantCulture, ExecutionStringManager.ListenerNotInCacheDisposed, instanceId)); 1620throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.CurrentCulture, ExecutionStringManager.NullProfileForChannel, this._scheduleType.AssemblyQualifiedName));
Tracking\PropertyHelper.cs (1)
112System.Globalization.CultureInfo.InvariantCulture);
Tracking\SqlTrackingService.cs (22)
462WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteRetried " + executeRetried.Method.Name + " start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 464WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteRetried " + executeRetried.Method.Name + " end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 492WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteReaderRetried ExecuteReader start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 494WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteReaderRetried ExecuteReader end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 523WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteNonQueryRetried ExecuteNonQuery start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 525WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteNonQueryRetried ExecuteNonQuery end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 554WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteNonQueryWithTxRetried ExecuteNonQuery start: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 558WorkflowTrace.Host.TraceEvent(TraceEventType.Information, 0, "SqlTrackingService.ExecuteNonQueryWithTxRetried ExecuteNonQuery end: " + DateTime.UtcNow.ToString("G", System.Globalization.CultureInfo.InvariantCulture)); 1148WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, string.Format(System.Globalization.CultureInfo.InvariantCulture, "Error partitioning instance {0}: {1}", _parameters.InstanceId, e.ToString())); 1573string index = (i + 1).ToString(CultureInfo.InvariantCulture); 1620string paramIdString = parameterId.ToString(CultureInfo.InvariantCulture); 1844string index = (i++).ToString(CultureInfo.InvariantCulture); 1870string index = (i + 1).ToString(CultureInfo.InvariantCulture); 1920string index = (i++).ToString(CultureInfo.InvariantCulture); 1984string index = (i++).ToString(CultureInfo.InvariantCulture); 2190return dateTime.Year.ToString(System.Globalization.CultureInfo.InvariantCulture) + PadToDblDigit(dateTime.Month) + PadToDblDigit(dateTime.Day) + " " + dateTime.Hour.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Minute.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Second.ToString(System.Globalization.CultureInfo.InvariantCulture) + ":" + dateTime.Millisecond.ToString(System.Globalization.CultureInfo.InvariantCulture); 2196string s = num.ToString(System.Globalization.CultureInfo.InvariantCulture); 2618using (StringWriter stringWriter = new StringWriter(System.Globalization.CultureInfo.InvariantCulture))
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));
Tracking\TrackingProfileSerializer.cs (3)
1104writer.WriteElementString("MatchDerivedTypes", loc.MatchDerivedTypes.ToString().ToLower(CultureInfo.InvariantCulture)); 1136writer.WriteElementString("MatchDerivedTypes", loc.MatchDerivedActivityTypes.ToString().ToLower(CultureInfo.InvariantCulture)); 1151writer.WriteElementString("MatchDerivedTypes", loc.MatchDerivedArgumentTypes.ToString().ToLower(CultureInfo.InvariantCulture));
WorkBatch.cs (1)
239Debug.Assert(!workItems.ContainsKey(orderId), string.Format(System.Globalization.CultureInfo.InvariantCulture, "List already contains key {0}", orderId));
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 (27)
ImageResources.designer.cs (2)
29private static global::System.Globalization.CultureInfo resourceCulture; 54internal static global::System.Globalization.CultureInfo Culture {
SR.cs (3)
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 })); 93internal static string GetString(CultureInfo culture, string name, params object[] args)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (2)
24static readonly Uri baseUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/ExternalDataExchangeEndpoint/{0}/{1}", 42string endpointUri = String.Format(CultureInfo.InvariantCulture, "{0}/{1}", baseUri, Interlocked.Increment(ref uriCounter));
System\ServiceModel\Description\PersistenceProviderBehavior.cs (1)
14internal static readonly TimeSpan DefaultPersistenceOperationTimeout = TimeSpan.Parse(DefaultPersistenceOperationTimeoutString, CultureInfo.InvariantCulture);
System\ServiceModel\Description\WorkflowRuntimeBehavior.cs (1)
16internal static readonly TimeSpan DefaultCachedInstanceExpiration = TimeSpan.Parse(DefaultCachedInstanceExpirationString, CultureInfo.InvariantCulture);
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\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (2)
95this.LockTimeout = TimeSpan.Parse(parameters[key], CultureInfo.InvariantCulture); 550string lowerCaseConnectionString = this.connectionString.ToUpper(CultureInfo.InvariantCulture);
System\Workflow\Activities\ChannelTokenTypeConverter.cs (2)
35public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 60public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\Workflow\Activities\ContextTokenTypeConverter.cs (2)
35public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value) 60public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\Workflow\Activities\ContractMethodInfo.cs (1)
194CultureInfo culture)
System\Workflow\Activities\ContractType.cs (1)
395public override object InvokeMember(string name, BindingFlags bindingFlags, Binder binder, object target, object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParams)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (2)
250string generatedName = string.Format(CultureInfo.InvariantCulture, "{0}{1}", generatedNameBase, ++index); 259generatedName = string.Format(CultureInfo.InvariantCulture, "{0}{1}", generatedNameBase, ++index);
System\Workflow\Activities\SendActivity.cs (1)
547CultureInfo.InvariantCulture);
System\Workflow\Activities\ServiceOperationInfoTypeConverter.cs (2)
32public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, 46return string.Format(CultureInfo.InvariantCulture,
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (2)
119Convert.ToInt32(parameters[ChannelManagerService.MaxIdleChannelsPerEndpointSetting], System.Globalization.CultureInfo.CurrentCulture); 318return TimeSpan.Parse(value, CultureInfo.InvariantCulture);
System.Xaml.Hosting (2)
TD.Designer.cs (2)
22static System.Globalization.CultureInfo resourceCulture; 50internal static System.Globalization.CultureInfo Culture
System.Xml (178)
parent\misc\InvariantComparer.cs (1)
12m_compareInfo = CultureInfo.InvariantCulture.CompareInfo;
System\Xml\BinaryXml\SqlUtils.cs (3)
568return money.ToString("#0.00##", CultureInfo.InvariantCulture); 793return dateTime.ToString(format, CultureInfo.InvariantCulture); 813return dateTime.ToString("yyyy/MM/dd\\THH:mm:ss", CultureInfo.InvariantCulture);
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
3500return ValueAsLong().ToString( CultureInfo.InvariantCulture ); 3503return ValueAsULong().ToString( CultureInfo.InvariantCulture );
System\Xml\Core\CharEntityEncoderFallback.cs (2)
91charEntity = string.Format( CultureInfo.InvariantCulture, "&#x{0:X};", new object[] { (int)charUnknown } ); 115charEntity = string.Format( CultureInfo.InvariantCulture, "&#x{0:X};", new object[] { SurrogateCharToUtf32( charUnknownHigh, charUnknownLow ) } );
System\Xml\Core\XmlConfiguration.cs (2)
19internal static string XmlReaderSectionPath = string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", XmlConfigurationSectionName, XmlReaderSectionName); 20internal static string XsltSectionPath = string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", XmlConfigurationSectionName, XsltSectionName);
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
1610error = Res.GetString( Res.Xml_InvalidSurrogateHighChar, ((uint)chars[i]).ToString( "X", CultureInfo.InvariantCulture ) );
System\Xml\Core\XmlReader.cs (4)
1057StringWriter sw = new StringWriter(CultureInfo.InvariantCulture); 1152StringWriter sw = new StringWriter(CultureInfo.InvariantCulture); 1384lineArgs[0] = lineInfo.LineNumber.ToString(CultureInfo.InvariantCulture); 1385lineArgs[1] = lineInfo.LinePosition.ToString(CultureInfo.InvariantCulture);
System\Xml\Core\XmlReaderAsync.cs (2)
186StringWriter sw = new StringWriter(CultureInfo.InvariantCulture); 267StringWriter sw = new StringWriter(CultureInfo.InvariantCulture);
System\Xml\Core\XmlTextReaderImpl.cs (2)
4244args[1] = startTag.lineInfo.lineNo.ToString(CultureInfo.InvariantCulture); 4245args[2] = startTag.lineInfo.linePos.ToString(CultureInfo.InvariantCulture);
System\Xml\Core\XmlTextReaderImplAsync.cs (2)
2118args[1] = startTag.lineInfo.lineNo.ToString(CultureInfo.InvariantCulture); 2119args[2] = startTag.lineInfo.linePos.ToString(CultureInfo.InvariantCulture);
System\Xml\Core\XmlTextWriter.cs (2)
1282return "d" + top.ToString("d", CultureInfo.InvariantCulture) 1283+ "p" + temp.ToString("d", CultureInfo.InvariantCulture);
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
1510error = Res.GetString( Res.Xml_InvalidSurrogateHighChar, ((uint)chars[i]).ToString( "X", CultureInfo.InvariantCulture ) );
System\Xml\Core\XmlWellFormedWriter.cs (2)
1757string genPrefix = "p" + (nsTop - 2).ToString("d", CultureInfo.InvariantCulture); 1765s = string.Concat(genPrefix, i.ToString(CultureInfo.InvariantCulture));
System\Xml\Core\XmlWriter.cs (1)
657return settings.CreateWriter(new StringWriter(output, CultureInfo.InvariantCulture));
System\Xml\Dom\XmlDocument.cs (1)
848throw new InvalidOperationException( String.Format( CultureInfo.InvariantCulture, Res.GetString(Res.Xdom_Import), node.NodeType.ToString() ) );
System\Xml\Dom\XmlLoader.cs (1)
873return new InvalidOperationException( string.Format( CultureInfo.InvariantCulture, Res.GetString(Res.Xml_UnexpectedNodeType), nodetype.ToString()));
System\Xml\Dom\XmlNode.cs (3)
92set { throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, Res.GetString(Res.Xdom_Node_SetVal), NodeType.ToString()));} 824StringWriter sw = new StringWriter(CultureInfo.InvariantCulture); 839StringWriter sw = new StringWriter(CultureInfo.InvariantCulture);
System\Xml\Schema\FacetChecker.cs (1)
846return new OverflowException(Res.GetString(Res.XmlConvert_Overflow, value.ToString(CultureInfo.InvariantCulture), datatype.TypeCodeString));
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1828throw new XmlSchemaException(Res.Sch_UndeclaredEquivClass, xe.SubstitutionGroup.Name.ToString(CultureInfo.InvariantCulture), xe);
System\Xml\Schema\SchemaSetCompiler.cs (1)
2174throw new XmlSchemaException(Res.Sch_UndeclaredEquivClass, xe.SubstitutionGroup.Name.ToString(CultureInfo.InvariantCulture), xe);
System\Xml\Schema\XmlSchemaDataType.cs (4)
263bldr.Append( ((IFormattable)cur).ToString("", CultureInfo.InvariantCulture) ); 272bldr.Append( ((IFormattable)cur).ToString("", CultureInfo.InvariantCulture) ); 283stringValue = ((IFormattable)value).ToString("", CultureInfo.InvariantCulture); 321canonicalUri = nameTable.Add(uri.Substring(0, offset) + uri.Substring(offset, uri.Length - offset).ToUpper(CultureInfo.InvariantCulture));
System\Xml\Serialization\CodeGenerator.cs (1)
1064Ldc(((IConvertible)o).ToInt32(CultureInfo.InvariantCulture));
System\Xml\Serialization\CodeIdentifier.cs (7)
40return identifier.ToUpper(CultureInfo.InvariantCulture); 42return char.ToUpper(identifier[0], CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture) + identifier.Substring(1); 54return identifier.ToLower(CultureInfo.InvariantCulture); 56return char.ToLower(identifier[0], CultureInfo.InvariantCulture).ToString(CultureInfo.InvariantCulture) + identifier.Substring(1); 173int arguments = Int32.Parse(name.Substring(nameEnd+1), CultureInfo.InvariantCulture) + index;
System\Xml\Serialization\CodeIdentifiers.cs (3)
16public CaseInsensitiveKeyComparer() : base(CultureInfo.CurrentCulture) { 28return s.ToUpper(CultureInfo.CurrentCulture).GetHashCode(); 93string newIdentifier = identifier + i.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\Compilation.cs (1)
171name.CultureInfo = CultureInfo.InvariantCulture;
System\Xml\Serialization\Compiler.cs (4)
31StringWriter writer = new StringWriter(CultureInfo.InvariantCulture); 201StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture); 202stringWriter.WriteLine(Res.GetString(Res.XmlCompilerError, results.NativeCompilerReturnValue.ToString(CultureInfo.InvariantCulture))); 245string[] flags = options.ToLower(CultureInfo.InvariantCulture).Split(null);
System\Xml\Serialization\Configuration\ConfigurationStrings.cs (1)
17return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName);
System\Xml\Serialization\Configuration\SchemaImporterExtensionElement.cs (2)
110public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { 118public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
System\Xml\Serialization\SoapReflectionImporter.cs (1)
492uniqueName = itemTypeName + i.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlReflectionImporter.cs (5)
297string value1 = Convert.ToString(accessor.Default, CultureInfo.InvariantCulture); 298string value2 = Convert.ToString(existing.Default, CultureInfo.InvariantCulture); 797throw new InvalidOperationException(Res.GetString(Res.XmlSequenceUnique, member.SequenceId.ToString(CultureInfo.InvariantCulture), "Order", member.Name)); 943uniqueName = name + i.ToString(CultureInfo.InvariantCulture); 1830string ns = items[i].NestingLevel.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSchemaExporter.cs (2)
154name = "any" + i.ToString(CultureInfo.InvariantCulture); 196name = baseName + i.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
439typeName = desiredName + i.ToString(CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSchemas.cs (1)
568StringWriter sw = new StringWriter(CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSerializationReader.cs (33)
987soapArrayInfo.length = Int32.Parse(lengthString, CultureInfo.InvariantCulture); 1045soapArrayInfo.length = Int32.Parse(dimensions[i], CultureInfo.InvariantCulture); 1489throw new InvalidOperationException(Res.GetString(Res.XmlInvalidArrayRef, id, o.GetType().FullName, i.ToString(CultureInfo.InvariantCulture))); 2019this.arrayName = arrayName + "_" + i.ToString(CultureInfo.InvariantCulture); 2311choiceSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 2343Writer.Write(mappings.Length.ToString(CultureInfo.InvariantCulture)); 2364string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 2373member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 2378member.CheckSpecifiedSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 2475Writer.Write(i.ToString(CultureInfo.InvariantCulture)); 2504Writer.Write(mappings.Length.ToString(CultureInfo.InvariantCulture)); 2523string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 2530member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 2537member.CheckSpecifiedSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 2644return "Read" + (++NextMethodNumber).ToString(CultureInfo.InvariantCulture) + "_" + CodeIdentifier.MakeValidInternal(name); 2648return "id" + (++nextIdNumber).ToString(CultureInfo.InvariantCulture) + "_" + CodeIdentifier.MakeValidInternal(name); 2703uniqueName = name + i.ToString(CultureInfo.InvariantCulture); 2760Writer.Write(constants[i].Value.ToString(CultureInfo.InvariantCulture)+"L"); 3102member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 3230member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 3276string fixupIndex = member.FixupIndex.ToString(CultureInfo.InvariantCulture); 3324string createName = "create" + (++nextCreateMethodNumber).ToString(CultureInfo.InvariantCulture) + "_" + typeDesc.Name; 3623Writer.Write(fixupCount.ToString(CultureInfo.InvariantCulture)); 3723StringWriter writer = new StringWriter(CultureInfo.InvariantCulture); 3913Writer.Write(cases.ToString(CultureInfo.InvariantCulture)); 3975Writer.Write(member.FixupIndex.ToString(CultureInfo.InvariantCulture)); 4000Writer.Write(cases.ToString(CultureInfo.InvariantCulture)); 4165Writer.Write((fixupIndex).ToString(CultureInfo.InvariantCulture)); 4357Writer.Write((fixupIndex).ToString(CultureInfo.InvariantCulture)); 4555Writer.WriteLine(String.Format(CultureInfo.InvariantCulture, "int whileIterations{0} = 0;", nextWhileLoopIndex)); 4556Writer.WriteLine(String.Format(CultureInfo.InvariantCulture, "int readerCount{0} = ReaderCount;", nextWhileLoopIndex)); 4562Writer.WriteLine(String.Format(CultureInfo.InvariantCulture, "CheckReaderCount(ref whileIterations{0}, ref readerCount{1});", loopIndex, loopIndex)); 4567Writer.Write(length.ToString(CultureInfo.InvariantCulture));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (17)
88this.arrayName = arrayName + "_" + i.ToString(CultureInfo.InvariantCulture); 381choiceSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 455string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 464member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 469member.CheckSpecifiedSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 691return "Read" + (++NextMethodNumber).ToString(CultureInfo.InvariantCulture) + "_" + CodeIdentifier.MakeValidInternal(name); 695return "id" + (++nextIdNumber).ToString(CultureInfo.InvariantCulture) + "_" + CodeIdentifier.MakeValidInternal(name); 957uniqueName = name + i.ToString(CultureInfo.InvariantCulture); 1576member.ParamsReadSource = "paramsRead[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 3455ilg.Stloc(typeof(Int32), String.Format(CultureInfo.InvariantCulture, "whileIterations{0}", nextWhileLoopIndex)); 3458ilg.Stloc(typeof(Int32), String.Format(CultureInfo.InvariantCulture, "readerCount{0}", nextWhileLoopIndex)); 3472ilg.Ldloca(ilg.GetLocal(String.Format(CultureInfo.InvariantCulture, "whileIterations{0}", loopIndex))); 3473ilg.Ldloca(ilg.GetLocal(String.Format(CultureInfo.InvariantCulture, "readerCount{0}", loopIndex))); 3557ilg.LoadArrayElement(idsLoc, Int32.Parse(source.Substring(14, source.Length - 16), CultureInfo.InvariantCulture)); 3571ilg.LoadArrayElement(idsLoc, Int32.Parse(id.Substring(4, id.Length - 5), CultureInfo.InvariantCulture)); 3657ilg.LoadArrayElement(ilg.GetLocal("paramsRead"), Int32.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture)); 3666ilg.StoreArrayElement(ilg.GetLocal("paramsRead"), Int32.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture), value);
System\Xml\Serialization\XmlSerializationWriter.cs (26)
493Int64 index = Int64.Parse(name.Substring(prefixLength), CultureInfo.InvariantCulture); 787id = idBase + "id" + (++nextId).ToString(CultureInfo.InvariantCulture); 1124w.WriteAttributeString("arraySize", Soap12.Encoding, arrayLength.ToString(CultureInfo.InvariantCulture)); 1127w.WriteAttributeString("arrayType", Soap.Encoding, GetQualifiedName(typeName, typeNs) + "[" + arrayLength.ToString(CultureInfo.InvariantCulture) + "]"); 1143w.WriteAttributeString("arraySize", Soap12.Encoding, arrayLength.ToString(CultureInfo.InvariantCulture)); 1633string source = "((" + typeof(XmlSerializerNamespaces).FullName + ")p[" + xmlnsMember.ToString(CultureInfo.InvariantCulture) + "])"; 1636Writer.Write(xmlnsMember.ToString(CultureInfo.InvariantCulture)); 1648string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 1656specifiedSource = "((bool) p[" + j.ToString(CultureInfo.InvariantCulture) + "])"; 1664Writer.Write(i.ToString(CultureInfo.InvariantCulture)); 1670Writer.Write(specifiedPosition.ToString(CultureInfo.InvariantCulture)); 1704specifiedSource = "((bool) p[" + j.ToString(CultureInfo.InvariantCulture) + "])"; 1712Writer.Write(i.ToString(CultureInfo.InvariantCulture)); 1718Writer.Write(specifiedPosition.ToString(CultureInfo.InvariantCulture)); 1725string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 1731enumSource = "p[" + j.ToString(CultureInfo.InvariantCulture) + "]"; 1733enumSource = "((" + mapping.Members[j].TypeDesc.CSharpName + ")p[" + j.ToString(CultureInfo.InvariantCulture) + "]" + ")"; 1772Writer.Write(mapping.Members.Length.ToString(CultureInfo.InvariantCulture)); 1776WriteExtraMembers(mapping.Members.Length.ToString(CultureInfo.InvariantCulture), "pLength"); 1893Writer.Write(c.Value.ToString(CultureInfo.InvariantCulture)); 3115Writer.Write(((DateTime)value).Ticks.ToString(CultureInfo.InvariantCulture)); 3126Writer.Write(((TimeSpan)value).Ticks.ToString(CultureInfo.InvariantCulture)); 3198enumValue = choiceMapping.Constants[i].Value.ToString(CultureInfo.InvariantCulture); 3212enumValue = choiceMapping.Constants[i].Value.ToString(CultureInfo.InvariantCulture); 3419writer.Write(String.Format(CultureInfo.InvariantCulture, helperClassesForUseReflection, 3792writer.Write(c.Value.ToString(CultureInfo.InvariantCulture));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (9)
370string source = "((" + typeof(XmlSerializerNamespaces).FullName + ")p[" + xmlnsMember.ToString(CultureInfo.InvariantCulture) + "])"; 383SourceInfo source = new SourceInfo("p[" + i.ToString(CultureInfo.InvariantCulture) + "]", null, null, pLengthLoc.LocalType.GetElementType(), ilg); 391specifiedSource = new SourceInfo("((bool)p[" + j.ToString(CultureInfo.InvariantCulture) + "])", null, null, typeof(bool), ilg); 441specifiedSource = new SourceInfo("((bool)p[" + j.ToString(CultureInfo.InvariantCulture) + "])", null, null, typeof(bool), ilg); 466string source = "p[" + i.ToString(CultureInfo.InvariantCulture) + "]"; 471enumSource = "((" + mapping.Members[j].TypeDesc.CSharpName + ")p[" + j.ToString(CultureInfo.InvariantCulture) + "]" + ")"; 650MethodInfo CultureInfo_get_InvariantCulture = typeof(CultureInfo).GetMethod( 2064ilg.Ldc(Convert.ChangeType(value, source.Type, CultureInfo.InvariantCulture)); 2355new Type[] { typeof(Type), typeof(BindingFlags), typeof(Binder), typeof(Object[]), typeof(CultureInfo) },
System\Xml\Serialization\XmlSerializer.cs (2)
432throw new InvalidOperationException(Res.GetString(Res.XmlSerializeErrorDetails, lineInfo.LineNumber.ToString(CultureInfo.InvariantCulture), lineInfo.LinePosition.ToString(CultureInfo.InvariantCulture)), e);
System\Xml\XmlConvert.cs (7)
217bufBld.Append(u.ToString("X8", CultureInfo.InvariantCulture)); 222bufBld.Append(((Int32)name[0]).ToString("X4", CultureInfo.InvariantCulture)); 259bufBld.Append(u.ToString("X8", CultureInfo.InvariantCulture)); 264bufBld.Append(((Int32)name[position]).ToString("X4", CultureInfo.InvariantCulture)); 1639((uint)hi).ToString( "X", CultureInfo.InvariantCulture ), 1640((uint)low).ToString( "X", CultureInfo.InvariantCulture ) 1654return CreateException( Res.Xml_InvalidSurrogateHighChar, ((uint)hi).ToString( "X", CultureInfo.InvariantCulture ), exceptionType, lineNo, linePos );
System\Xml\XmlException.cs (5)
199string lineNumberStr = lineNumber.ToString(CultureInfo.InvariantCulture); 200string linePositionStr = linePosition.ToString(CultureInfo.InvariantCulture); 258aStringList[1] = string.Format(CultureInfo.InvariantCulture, "0x{0:X2}", combinedChar); 266aStringList[0] = invChar.ToString(CultureInfo.InvariantCulture); 268aStringList[1] = string.Format(CultureInfo.InvariantCulture, "0x{0:X2}", (int)invChar);
System\Xml\XPath\Internal\CompiledXPathExpr.cs (1)
129private CultureInfo cinfo;
System\Xml\XPath\Internal\OperandQuery.cs (1)
31w.WriteAttributeString("value", Convert.ToString(val, CultureInfo.InvariantCulture));
System\Xml\XPath\Internal\StringFunctions.cs (1)
117private static readonly CompareInfo compareInfo = CultureInfo.InvariantCulture.CompareInfo;
System\Xml\XPath\Internal\XPathScanner.cs (1)
124kind = (LexKind) Convert.ToInt32(this.CurerntChar, CultureInfo.InvariantCulture);
System\Xml\XPath\XPathNavigator.cs (2)
1180stringWriter = new StringWriter(CultureInfo.InvariantCulture); 1213stringWriter = new StringWriter(CultureInfo.InvariantCulture);
System\Xml\Xslt\XsltException.cs (5)
113message += " " + FormatMessage(Res.Xml_ErrorFilePosition, sourceUri, lineNumber.ToString(CultureInfo.InvariantCulture), linePosition.ToString(CultureInfo.InvariantCulture)); 125message = string.Format(CultureInfo.InvariantCulture, message, args); 150new string[] { sourceUri, lineNumber.ToString(CultureInfo.InvariantCulture), linePosition.ToString(CultureInfo.InvariantCulture) },
System.Xml.Linq (12)
System\Xml\Linq\XLinq.cs (12)
16using CultureInfo = System.Globalization.CultureInfo; 2005using (StringWriter sw = new StringWriter(CultureInfo.InvariantCulture)) { 4468return XmlConvert.ToBoolean(element.Value.ToLower(CultureInfo.InvariantCulture)); 4487return XmlConvert.ToBoolean(element.Value.ToLower(CultureInfo.InvariantCulture)); 4796return DateTime.Parse(element.Value, CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.RoundtripKind); 4815return DateTime.Parse(element.Value, CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.RoundtripKind); 6707using (StringWriter sw = new StringWriter(CultureInfo.InvariantCulture)) { 6747return XmlConvert.ToBoolean(attribute.value.ToLower(CultureInfo.InvariantCulture)); 6762return XmlConvert.ToBoolean(attribute.value.ToLower(CultureInfo.InvariantCulture)); 7011return DateTime.Parse(attribute.value, CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.RoundtripKind); 7026return DateTime.Parse(attribute.value, CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.RoundtripKind); 7383using (StringWriter sw = new StringWriter(CultureInfo.InvariantCulture)) {
UIAutomationClient (17)
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
122return id.ToString(CultureInfo.InvariantCulture);
MS\Internal\Automation\ProxyManager.cs (5)
334return System.IO.Path.GetFileName(sb.ToString().ToLower(CultureInfo.InvariantCulture)); 505string className = GetClassName (hwnd).ToLower (CultureInfo.InvariantCulture); 806return RealGetWindowClass( hwnd ).ToLower( CultureInfo.InvariantCulture ); 813return _classNames[index - QUERYCLASSNAME_BASE].ToLower( CultureInfo.InvariantCulture ); 817return RealGetWindowClass( hwnd ).ToLower( CultureInfo.InvariantCulture );
MS\Internal\Automation\Schema.cs (2)
271new AutomationPropertyInfo( convertToCultureInfo, AutomationElement.CultureProperty, typeof(CultureInfo), null ), 483new AutomationAttributeInfo( convertToCultureInfo, TextPattern.CultureAttribute, typeof(CultureInfo) ),
System\Windows\Automation\ClientSideProviderDescription.cs (3)
87_className = className.ToLower( System.Globalization.CultureInfo.InvariantCulture ); 110_className = className.ToLower( System.Globalization.CultureInfo.InvariantCulture ); 119_imageName = imageName.ToLower( System.Globalization.CultureInfo.InvariantCulture );
System\Windows\Automation\ItemContainerPattern.cs (2)
178else if (value is CultureInfo) 180value = ((CultureInfo)value).LCID;
System\Windows\Automation\PropertyCondition.cs (2)
183else if (val is CultureInfo) 185val = ((CultureInfo)val).LCID;
System\Windows\Automation\Text\TextRange.cs (2)
208if (value is CultureInfo) 210value = ((CultureInfo)value).LCID;
UIAutomationClientsideProviders (44)
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\WindowsEditBoxRange.cs (2)
231rangeText = rangeText.ToLower(System.Globalization.CultureInfo.InvariantCulture); 232text = text.ToLower(System.Globalization.CultureInfo.InvariantCulture);
MS\Internal\AutomationProxies\WindowsIPAddress.cs (4)
247ipV4 = (ipV4 << 8) + byte.Parse(strIPAddresses[iPos], CultureInfo.InvariantCulture); 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\WindowsListViewGroup.cs (1)
43_sAutomationId = "Group " + (groupID + 1).ToString(CultureInfo.InvariantCulture); // This string is a non-localizable string
MS\Internal\AutomationProxies\WindowsMenu.cs (20)
1197_sAutomationId = "Separator " + (_item + 1).ToString(CultureInfo.InvariantCulture); // This string is a non-localizable string 1347string menuText = menuRawText.ToLower(CultureInfo.InvariantCulture); 1350if ((accelerator = AccelatorKeyCtrl(keyCtrl.ToLower(CultureInfo.InvariantCulture), keyCtrl + " + ", menuText, menuRawText, out pos)) != null || 1351(accelerator = AccelatorKeyCtrl(keyControl.ToLower(CultureInfo.InvariantCulture), keyCtrl + " + ", menuText, menuRawText, out pos)) != null || 1352(accelerator = AccelatorKeyCtrl(keyAlt.ToLower(CultureInfo.InvariantCulture), keyAlt + " + ", menuText, menuRawText, out pos)) != null || 1353(accelerator = AccelatorKeyCtrl(keyShift.ToLower(CultureInfo.InvariantCulture), keyShift + " + ", menuText, menuRawText, out pos)) != null || 1354(accelerator = AccelatorKeyCtrl(keyWin.ToLower(CultureInfo.InvariantCulture), keyWin + " + ", menuText, menuRawText, out pos)) != null) 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)); 2498int iKey = int.Parse(menuText.Substring(pos + 1, cChars - (pos + 1)), CultureInfo.InvariantCulture); 2501return "F" + iKey.ToString(CultureInfo.CurrentCulture); 2527itemId = "Item " + result.ToString(CultureInfo.CurrentCulture); 2534itemId = "Item " + (_item + 1).ToString(CultureInfo.CurrentCulture); 2771string menuText = menuRawText.ToLower(CultureInfo.InvariantCulture); 2774if ((accelerator = AccelatorKeyCtrl(keyCtrl.ToLower(CultureInfo.InvariantCulture), keyCtrl + " + ", menuText, menuRawText, out pos)) != null || 2775(accelerator = AccelatorKeyCtrl(keyControl.ToLower(CultureInfo.InvariantCulture), keyCtrl + " + ", menuText, menuRawText, out pos)) != null || 2776(accelerator = AccelatorKeyCtrl(keyAlt.ToLower(CultureInfo.InvariantCulture), keyAlt + " + ", menuText, menuRawText, out pos)) != null || 2777(accelerator = AccelatorKeyCtrl(keyShift.ToLower(CultureInfo.InvariantCulture), keyShift + " + ", menuText, menuRawText, out pos)) != null || 2778(accelerator = AccelatorKeyCtrl(keyWin.ToLower(CultureInfo.InvariantCulture), keyWin + " + ", menuText, menuRawText, out pos)) != null) 2878_sAutomationId = "Item " + (item).ToString(CultureInfo.CurrentCulture);
MS\Internal\AutomationProxies\WindowsScroll.cs (1)
240if (classname.ToLower(System.Globalization.CultureInfo.InvariantCulture).Contains("richedit"))
MS\Internal\AutomationProxies\WindowsScrollBar.cs (2)
575if (classname.ToLower(System.Globalization.CultureInfo.InvariantCulture).Contains("richedit")) 681if (classname.ToLower(System.Globalization.CultureInfo.InvariantCulture).Contains("richedit"))
MS\Internal\AutomationProxies\WindowsStatic.cs (1)
80string className = Misc.GetClassName(hwnd).ToLower(System.Globalization.CultureInfo.InvariantCulture);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
440_sAutomationId = "StatusBar.Pane" + item.ToString(CultureInfo.CurrentCulture); // This string is a non-localizable string
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
386_sAutomationId = "HeaderItem " + item.ToString(CultureInfo.InvariantCulture);
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
643itemId = "Item " + tbb.idCommand.ToString(CultureInfo.CurrentCulture);
MS\Internal\AutomationProxies\WinFormsSpinner.cs (2)
63double.Parse(text, NumberStyles.Any, CultureInfo.InvariantCulture); 73int.Parse(text, NumberStyles.HexNumber, CultureInfo.InvariantCulture);
WindowsBase (93)
Base\MS\Internal\AvTrace.cs (5)
565_sb.AppendFormat( CultureInfo.InvariantCulture, message, argstrs ); 570_sb.AppendFormat( CultureInfo.InvariantCulture, message, new object[] { AvTrace.ToStringHelper(arg1) } ); 575_sb.AppendFormat( CultureInfo.InvariantCulture, message, new object[] { AvTrace.ToStringHelper(arg1), AvTrace.ToStringHelper(arg2) } ); 580_sb.AppendFormat( CultureInfo.InvariantCulture, message, new object[] { AvTrace.AntiFormat(arg1) } ); 585_sb.AppendFormat( CultureInfo.InvariantCulture, message, new object[] { AvTrace.AntiFormat(arg1), AvTrace.AntiFormat(arg2) } );
Base\MS\Internal\AvTraceFormat.cs (1)
20_message = string.Format(System.Globalization.CultureInfo.InvariantCulture, details.Labels[0], args);
Base\MS\Internal\ComponentModel\AttachedPropertyMethodSelector.cs (3)
112public override MethodBase BindToMethod(BindingFlags bindingAttr, MethodBase[] match, ref object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] names, out object state) 121public override FieldInfo BindToField(BindingFlags bindingAttr, FieldInfo[] match, object value, CultureInfo culture) 131public override object ChangeType(object value, Type type, CultureInfo culture)
Base\MS\Internal\Interop\ErrorCodes.cs (1)
336return string.Format(CultureInfo.InvariantCulture, "0x{0:X8}", _value);
Base\MS\Internal\IO\Packaging\CompoundFile\NativeCompoundFileAPIs.cs (12)
33using CultureInfo = System.Globalization.CultureInfo; 692throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "cb", cb.ToString(CultureInfo.InvariantCulture))); 704throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "cb", cb.ToString(CultureInfo.InvariantCulture))); 718throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "dwOrigin", dwOrigin.ToString(CultureInfo.InvariantCulture))); 723throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "dlibMove", dlibMove.ToString(CultureInfo.InvariantCulture))); 735throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "libNewSize", libNewSize.ToString(CultureInfo.InvariantCulture))); 749throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "cb", cb.ToString(CultureInfo.InvariantCulture))); 775throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "libOffset", libOffset.ToString(CultureInfo.InvariantCulture))); 779throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "cb", cb.ToString(CultureInfo.InvariantCulture))); 791throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "libOffset", libOffset.ToString(CultureInfo.InvariantCulture))); 795throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "cb", cb.ToString(CultureInfo.InvariantCulture))); 1265throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "celt", celt.ToString(CultureInfo.InvariantCulture)));
Base\MS\Internal\IO\Packaging\CompoundFile\PrivateUnsafeNativeCompoundFileMethods.cs (2)
40using CultureInfo = System.Globalization.CultureInfo; 219throw new ArgumentException(SR.Get(SRID.InvalidArgumentValue, "grfStatFlag", grfStatFlag.ToString(CultureInfo.InvariantCulture)));
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStreamOwner.cs (2)
413_fileVersion.FeatureIdentifier.ToUpper(CultureInfo.InvariantCulture), 414_codeVersion.FeatureIdentifier.ToUpper(CultureInfo.InvariantCulture)) != 0)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
238return Convert.ToInt64(regValue, CultureInfo.InvariantCulture);
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (1)
191return string.Format(CultureInfo.InvariantCulture, "{0}/[{1:D}]{2}.piece",
Base\MS\Internal\IO\Zip\ZipArchive.cs (4)
551int intMode = Convert.ToInt32(mode, CultureInfo.InvariantCulture); 552int intAccess = Convert.ToInt32(access, CultureInfo.InvariantCulture); 553int intShare = Convert.ToInt32(share, CultureInfo.InvariantCulture); 554int intStreaming = Convert.ToInt32(streaming, CultureInfo.InvariantCulture);
Base\MS\Internal\NamedObject.cs (1)
39_name = String.Format(CultureInfo.InvariantCulture, "{{{0}}}", _name);
Base\MS\Internal\PlatformCulture.cs (1)
30public static CultureInfo Value
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (3)
1361AuthenticationType.Windows.ToString().ToUpper(CultureInfo.InvariantCulture), 1362authenticationType.ToUpper(CultureInfo.InvariantCulture)) == 0) 1962rightName = rightName.ToString().ToUpper(CultureInfo.InvariantCulture);
Base\MS\Internal\SystemXmlExtensionMethods.cs (1)
31internal abstract IComparer PrepareXmlComparer(IEnumerable collection, SortDescriptionCollection sort, CultureInfo culture);
Base\System\ComponentModel\GroupDescription.cs (1)
164public abstract object GroupNameFromItem(object item, int level, CultureInfo culture);
Base\System\ComponentModel\ICollectionView.cs (1)
40CultureInfo Culture { get; set; }
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (4)
723string generatedName = timeSeed.ToString(CultureInfo.InvariantCulture); 729generatedName = timeSeed.ToString(CultureInfo.InvariantCulture); 995string generatedName = timeSeed.ToString(CultureInfo.InvariantCulture); 1001generatedName = timeSeed.ToString(CultureInfo.InvariantCulture);
Base\System\Windows\ExpressionConverter.cs (2)
77public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 100public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Base\System\Windows\Freezable.cs (1)
1992String.Format(System.Globalization.CultureInfo.InvariantCulture,
Base\System\Windows\Generated\Int32RectConverter.cs (2)
84public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 115public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Base\System\Windows\Generated\PointConverter.cs (2)
84public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 115public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Base\System\Windows\Generated\RectConverter.cs (2)
84public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 115public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Base\System\Windows\Generated\SizeConverter.cs (2)
84public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 115public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Base\System\Windows\Generated\VectorConverter.cs (2)
84public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 115public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Base\System\Windows\Input\KeyConverter.cs (5)
86public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 91object key = GetKey(fullName, CultureInfo.InvariantCulture); 113public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 145private object GetKey(string keyToken, CultureInfo culture) 233private static string MatchKey(Key key, CultureInfo culture)
Base\System\Windows\Input\ModifierKeysConverter.cs (4)
85public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object source) 90ModifierKeys modifiers = GetModifierKeys(modifiersToken, CultureInfo.InvariantCulture); 105public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 155private ModifierKeys GetModifierKeys(string modifiersToken, CultureInfo culture)
Base\System\Windows\Markup\DateTimeConverter2.cs (2)
54public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 61public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Base\System\Windows\Markup\InternalTypeHelper.cs (3)
42protected internal abstract object CreateInstance(Type type, CultureInfo culture); 47protected internal abstract object GetPropertyValue(PropertyInfo propertyInfo, object target, CultureInfo culture); 52protected internal abstract void SetPropertyValue(PropertyInfo propertyInfo, object target, object value, CultureInfo culture);
Base\System\Windows\Markup\TypeConverterHelper.cs (6)
36private static CultureInfo invariantEnglishUS = CultureInfo.InvariantCulture; 38internal static CultureInfo InvariantEnglishUS 241else if (typeof(CultureInfo).IsAssignableFrom(type)) 325else if (type == typeof(CultureInfo)) 425else if (typeof(CultureInfo).IsAssignableFrom(type))
Base\System\Windows\Markup\TypeTypeConverter.cs (1)
29public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
1482throw new XmlException(string.Format(CultureInfo.InvariantCulture, message, args), null, info == null ? 1 : info.LineNumber,
Base\System\Windows\Media\Generated\MatrixConverter.cs (2)
85public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) 116public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Base\System\Windows\SplashScreen.cs (2)
155UnmanagedMemoryStream stream = _resourceManager.GetStream(_resourceName, System.Globalization.CultureInfo.CurrentUICulture); 166return _resourceManager.GetStream(resourceName, System.Globalization.CultureInfo.CurrentUICulture);
Base\System\Windows\Threading\Dispatcher.cs (1)
2779list.Add(String.Format(System.Globalization.CultureInfo.InvariantCulture,
Shared\MS\Internal\ResourceIDHelper.cs (2)
67basePath = basePath.ToLower(CultureInfo.InvariantCulture); 68sourcePath = sourcePath.ToLower(CultureInfo.InvariantCulture);
Shared\MS\Internal\SafeSecurityHelper.cs (2)
187CultureInfo reqCulture = assemblyName.CultureInfo; 194CultureInfo curCulture = curAsmName.CultureInfo;
Shared\MS\Utility\TraceProvider.cs (1)
293data = Convert.ChangeType(data, Enum.GetUnderlyingType(dataType), CultureInfo.InvariantCulture);
Shared\MS\Win32\HwndWrapper.cs (1)
127string className = String.Format(CultureInfo.InvariantCulture, "HwndWrapper[{0};{1};{2}]", appName, threadName, randomName);
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 );
Shared\System\Windows\Markup\ReflectionHelper.cs (2)
350string assemblyNameLookup = assemblyName.ToUpper(CultureInfo.InvariantCulture); 382assemblyShortName = assemblyShortName.ToUpper(CultureInfo.InvariantCulture);
WsatConfig (9)
CommandLine\ConsoleEntryPoint.cs (1)
256Thread.CurrentThread.CurrentUICulture = CultureInfo.CurrentUICulture.GetConsoleFallbackUICulture();
CommandLine\OptionUsage.cs (4)
167string optionString = String.Format(CultureInfo.InvariantCulture, "-{0}:{1}", option, optionUse); 173string optionString = String.Format(CultureInfo.InvariantCulture, "-{0}", option); 180return string.Format(CultureInfo.InvariantCulture, optionHelpPattern, optionString, helpText, shortForm); 191Console.Write(string.Format(CultureInfo.InvariantCulture, optionOnlyPattern, optionUses[i]));
Configuration\WsatConfiguration.cs (3)
561defaultTimeoutString = " -" + CommandLineOption.DefaultTimeout + ":" + this.DefaultTimeout.ToString(CultureInfo.InvariantCulture); 562traceLevelString = " -" + CommandLineOption.TraceLevel + ":" + ((uint)this.TraceLevel).ToString(CultureInfo.InvariantCulture); 566maxTimeoutString = " -" + CommandLineOption.MaxTimeout + ":" + this.MaxTimeout.ToString(CultureInfo.InvariantCulture);
Configuration\WsatServiceAddress.cs (1)
22wsatServiceAddress = String.Format(CultureInfo.InvariantCulture, wsatServiceAddressFormat, this.port);
WsatUI (11)
Configuration\ETWWsatTraceSession.cs (2)
201string timeStamp = String.Format(System.Globalization.CultureInfo.InvariantCulture, 211string backupFile2 = backupFile + "-" + String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0:00}", attemptNum);
Configuration\WsatConfiguration.cs (3)
561defaultTimeoutString = " -" + CommandLineOption.DefaultTimeout + ":" + this.DefaultTimeout.ToString(CultureInfo.InvariantCulture); 562traceLevelString = " -" + CommandLineOption.TraceLevel + ":" + ((uint)this.TraceLevel).ToString(CultureInfo.InvariantCulture); 566maxTimeoutString = " -" + CommandLineOption.MaxTimeout + ":" + this.MaxTimeout.ToString(CultureInfo.InvariantCulture);
Configuration\WsatServiceAddress.cs (1)
22wsatServiceAddress = String.Format(CultureInfo.InvariantCulture, wsatServiceAddressFormat, this.port);
MMCUI\TraceOptionsForm.cs (2)
35textLogFileSize.Text = ETWWsatTraceSession.GetMaxTraceFileSizeFromReg().ToString(System.Globalization.CultureInfo.InvariantCulture); 52textLogFileSize.Text = ETWWsatTraceSession.DefaultLogFileSize.ToString(System.Globalization.CultureInfo.InvariantCulture);
MMCUI\WSATControl.cs (3)
218this.textBoxHttpsPort.Text = this.config.HttpsPort.ToString(CultureInfo.InvariantCulture); 220this.textBoxDefaultTimeout.Text = this.config.DefaultTimeout.ToString(CultureInfo.InvariantCulture); 221this.textBoxMaxTimeout.Text = this.config.MaxTimeout.ToString(CultureInfo.InvariantCulture);
XamlBuildTask (9)
Microsoft\Build\Tasks\Xaml\AttributeData.cs (2)
19static CultureInfo invariantEnglishUS = CultureInfo.ReadOnly(new CultureInfo("en-us", false));
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (1)
238string namespaceName = string.Format(CultureInfo.InvariantCulture, "{0}{1};{2}{3}", XamlBuildTaskServices.ClrNamespaceUriNamespacePart, @namespace, XamlBuildTaskServices.ClrNamespaceUriAssemblyPart, this.localAssemblyName);
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (1)
589markupItemName = originalMarkupItemName + "." + (++i).ToString(CultureInfo.InvariantCulture);
Microsoft\Build\Tasks\Xaml\XamlBuildTaskLeaseLifetimeHelper.cs (1)
53if (Int32.TryParse(remotingLeaseLifetimeInMinutesStringValue, NumberStyles.Integer, CultureInfo.InvariantCulture, out remotingLeaseLifetimeInMinutes))
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (3)
385return string.Format(CultureInfo.InvariantCulture, "{0};{1}{2}", 392return string.Format(CultureInfo.InvariantCulture, "{0}{1}", 529clrTypeName = string.Format(CultureInfo.InvariantCulture, "{0}.{1}", clrNs, name);
Microsoft\Build\Tasks\Xaml\XamlValidatingReader.cs (1)
108message : string.Format(CultureInfo.InvariantCulture, message, args);