120 references to LCID
mscorlib (17)
microsoft\win32\oavariantlib.cs (1)
88culture.LCID,
system\globalization\compareinfo.cs (2)
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\cultureinfo.cs (5)
1854if ((retval.LCID == LCID_ZH_CHS_HANS && newName == "zh-hans") 1855|| (retval.LCID == LCID_ZH_CHT_HANT && newName == "zh-hant")) 1862tempLcidHT[retval.LCID] = retval; 1979if (ci.LCID > 0xffff || ci.LCID == 0x040a)
system\globalization\sortkey.cs (1)
73win32LCID = CultureInfo.GetCultureInfo(localeName).LCID;
system\globalization\textinfo.cs (2)
216this.m_win32LangID = (CultureInfo.GetCultureInfo(m_cultureName)).LCID; 420return CultureInfo.GetCultureInfo(this.m_textInfoName).LCID;
system\reflection\assemblyname.cs (1)
330info.AddValue("_CultureInfo", (_CultureInfo == null) ? -1 :_CultureInfo.LCID);
system\reflection\emit\assemblybuilderdata.cs (2)
140m_nativeVersion.m_lcid = locale.LCID; 253m_nativeVersion.m_lcid = culture.LCID;
system\resources\resourcemanager.cs (2)
964(an1.CultureInfo.LCID != asmName2.CultureInfo.LCID)
system\rttype.cs (1)
4587int lcid = (culture == null ? 0x0409 : culture.LCID);
PresentationCore (9)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
1119internal LocalizedName(XmlLanguage language, string name) : this(language, name, language.GetEquivalentCulture().LCID)
Core\CSharp\MS\Internal\TextFormatting\NumberSubstitution.cs (4)
223return (culture.LCID & 0xFF) == 0x01; 228return (culture.LCID & 0xFF) == 0x29; 239int lcid = numberCulture.LCID; 242if (_lastTraditionalCulture != null && _lastTraditionalCulture.LCID == lcid)
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (2)
2748&&( (cultureInfo.LCID & 0xFF) == 0x01 // Arabic culture 2749|| (cultureInfo.LCID & 0xFF) == 0x29 // ---- culture
Core\CSharp\System\Windows\Input\InputLanguageSource.cs (1)
122_CurrentInputLanguage = (short)value.LCID;
Core\CSharp\System\Windows\Input\InputMethod.cs (1)
1831ipp.EnumLanguageProfiles((short)(inputLang.LCID), out enumIpp);
PresentationFramework (18)
src\Framework\MS\Internal\IO\Packaging\CorePropertiesFilter.cs (1)
47(uint)CultureInfo.InvariantCulture.LCID,
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (3)
869return (uint)CultureInfo.InvariantCulture.LCID; 876_lcidDictionary.Add(languageString, (uint)cultureInfo.LCID); 877return (uint)cultureInfo.LCID;
src\Framework\MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (2)
203_languageID = checked((uint)cultureInfo.LCID); 215_languageID = checked((uint)CultureInfo.InvariantCulture.LCID);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (2)
161return (val is XmlLanguage) ? ((XmlLanguage)val).GetEquivalentCulture().LCID : CultureInfo.InvariantCulture.LCID;
src\Framework\System\Windows\Controls\WebBrowser.cs (2)
452HRESULT hr = scriptObjectEx.GetIDsOfNames(ref guid, names, 1, Thread.CurrentThread.CurrentCulture.LCID, dispids); 481Thread.CurrentThread.CurrentCulture.LCID,
src\Framework\System\Windows\Documents\NaturalLanguageHyphenator.cs (1)
158((textCulture != null && textCulture != CultureInfo.InvariantCulture) ? textCulture.LCID : 0),
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (1)
162_textChunk.put_Locale(culture.LCID);
src\Framework\System\windows\Documents\TextSelection.cs (1)
2510if (UnsafeNativeMethods.GetLocaleInfoW(cultureInfo.LCID, NativeMethods.LOCALE_FONTSIGNATURE, fontSignature, FONTSIGNATURE_SIZE) != 0)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (2)
3301if (ci.LCID > 0) 3304formatState.Lang = (long)(ushort)ci.LCID;
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (3)
615HRESULT hr = _scriptObject.GetIDsOfNames(ref guid, names, dispids.Length, Thread.CurrentThread.CurrentCulture.LCID, dispids); 667return _scriptObjectEx.InvokeEx(dispid, Thread.CurrentThread.CurrentCulture.LCID, flags, dp, out result, exInfo, BrowserInteropHelper.HostHtmlDocumentServiceProvider); 672return _scriptObject.Invoke(dispid, ref guid, Thread.CurrentThread.CurrentCulture.LCID, flags, dp, out result, exInfo, null);
System (9)
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (9)
258if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 312if (!categoryExists && CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 710if(CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 744if (sample == null && CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 779if (!categoryExists && CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 833if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 918string lcidString = culture.LCID.ToString("X3", CultureInfo.InvariantCulture); 1051if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) { 1083if (CultureInfo.CurrentCulture.Parent.LCID != EnglishLCID) {
System.Core (4)
System\Diagnostics\Eventing\Reader\EventLogSession.cs (1)
280NativeWrapper.EvtArchiveExportedLog(this.Handle, targetFilePath, targetCultureInfo.LCID, 0);
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (3)
88handle = NativeWrapper.EvtOpenProviderMetadata(this.session.Handle, this.providerName, this.logFilePath, this.cultureInfo.LCID, 0); 215this.defaultProviderHandle = NativeWrapper.EvtOpenProviderMetadata(this.session.Handle, null, null, this.cultureInfo.LCID, 0); 364this.defaultProviderHandle = NativeWrapper.EvtOpenProviderMetadata(this.session.Handle, null, null, this.cultureInfo.LCID, 0);
System.Data (30)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (2)
722column.Locale.LCID, 935System.Globalization.CultureInfo.CurrentCulture.LCID,
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (6)
139System.Globalization.CultureInfo.CurrentCulture.LCID, 153System.Globalization.CultureInfo.CurrentCulture.LCID, 167System.Globalization.CultureInfo.CurrentCulture.LCID, 181System.Globalization.CultureInfo.CurrentCulture.LCID, 195System.Globalization.CultureInfo.CurrentCulture.LCID, 209System.Globalization.CultureInfo.CurrentCulture.LCID,
fx\src\data\System\Data\DataRelationCollection.cs (2)
197if (relation.ChildTable.Locale.LCID != relation.ParentTable.Locale.LCID ||
fx\src\data\System\Data\DataSet.cs (5)
417info.AddValue("DataSet.LocaleLCID", Locale.LCID); 3066if (relation.ChildTable.Locale.LCID != relation.ParentTable.Locale.LCID) 3077if (constraint.Table.Locale.LCID != constraint.RelatedTable.Locale.LCID)
fx\src\data\System\Data\DataTable.cs (1)
324info.AddValue("DataTable.LocaleLCID", Locale.LCID);
fx\src\data\System\Data\ForeignKeyConstraint.cs (2)
177if (Table.Locale.LCID != RelatedTable.Locale.LCID || Table.CaseSensitive != RelatedTable.CaseSensitive)
fx\src\data\System\Data\Odbc\OdbcParameter.cs (2)
646int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID; 849int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID;
fx\src\data\System\Data\OleDb\OleDbError.cs (1)
26int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID;
fx\src\data\System\Data\Sql\SqlMetaData.cs (6)
446m_lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 468lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 473lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 478lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 483lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID; 489lLocale = System.Globalization.CultureInfo.CurrentCulture.LCID;
fx\src\data\System\Data\SqlClient\LocalDBAPI.cs (1)
196int hResult=LocalDBFormatMessage(hrLocalDB: hrCode, dwFlags: const_LOCALDB_TRUNCATE_ERR_MESSAGE, dwLanguageId: (UInt32)CultureInfo.CurrentCulture.LCID,
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
421localeId = System.Globalization.CultureInfo.CurrentCulture.LCID;
fx\src\data\System\Data\SQLTypes\SQLString.cs (1)
237public SqlString(String data) : this(data, System.Globalization.CultureInfo.CurrentCulture.LCID, x_iDefaultFlag) {
System.Data.SqlXml (7)
System\Xml\Xsl\Runtime\XmlCollation.cs (5)
244int lgid = GetLangID(cultInfo.LCID); 253cultInfo = new CultureInfo(MakeLCID(cultInfo.LCID, /*Stroke*/ 0x02)); 258cultInfo = new CultureInfo(MakeLCID(cultInfo.LCID, /*Unicode*/ 0x01)); 326Debug.Assert(this.cultInfo == null || this.cultInfo.Equals(new CultureInfo(this.cultInfo.LCID)), 328writer.Write(this.cultInfo != null ? this.cultInfo.LCID : LOCALE_CURRENT);
System\Xml\Xsl\Runtime\XsltFunctions.cs (1)
342int locale = GetCultureInfo(lang).LCID;
System\Xml\Xsl\Runtime\XsltLibrary.cs (1)
236lcid = new CultureInfo(lang).LCID;
System.Drawing (1)
commonui\System\Drawing\Advanced\FontFamily.cs (1)
258return System.Globalization.CultureInfo.CurrentUICulture.LCID;
System.ServiceModel (3)
System\ServiceModel\Channels\PipeConnection.cs (1)
2890IntPtr.Zero, error, CultureInfo.CurrentCulture.LCID, stringBuilder, stringBuilder.Capacity, IntPtr.Zero) != 0)
System\ServiceModel\MsmqException.cs (2)
175CultureInfo.CurrentCulture.LCID, 190CultureInfo.CurrentCulture.LCID,
System.Web (2)
State\SessionStateContainer.cs (1)
175get { return Thread.CurrentThread.CurrentCulture.LCID; }
UI\Page.cs (1)
3895get { return Thread.CurrentThread.CurrentCulture.LCID; }
System.Windows.Forms (17)
winforms\Managed\System\WinForms\Application.cs (3)
3105if (culture == null || culture.LCID != SafeNativeMethods.GetThreadLocale()) 3750if (culture != null && culture.LCID != SafeNativeMethods.GetThreadLocale()) { 3751SafeNativeMethods.SetThreadLocale(culture.LCID);
winforms\Managed\System\WinForms\AxHost.cs (4)
2444return Thread.CurrentThread.CurrentCulture.LCID; 2643int hr = icp.GetCategoryName(cat, CultureInfo.CurrentCulture.LCID, out name); 3381SafeNativeMethods.OleCreatePropertyFrame(new HandleRef(this, handle), 0, 0, name, 1, ref o, uuids.cElems, new HandleRef(null, uuids.pElems), Application.CurrentCulture.LCID, 0, IntPtr.Zero); 4445qaContainer.lcid = Application.CurrentCulture.LCID;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (2)
69SafeNativeMethods.OleCreatePropertyFrame(new HandleRef(parent, handle), 0, 0, "PropertyPages", 1, ref o, 1, new Guid[]{guid}, Application.CurrentCulture.LCID, 0, IntPtr.Zero); 92SafeNativeMethods.OleCreatePropertyFrame(new HandleRef(parent, handle), 0, 0, "PropertyPages", 1, ref o, uuids.cElems, new HandleRef(uuids, uuids.pElems), Application.CurrentCulture.LCID, 0, IntPtr.Zero);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ICategorizePropertiesHandler.cs (1)
63if (NativeMethods.S_OK == catObj.GetCategoryName(categoryID, CultureInfo.CurrentCulture.LCID, out categoryName)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IVsPerPropertyBrowsingHandler.cs (2)
83int hr = vsObj.GetLocalizedPropertyInfo(sender.DISPID, CultureInfo.CurrentCulture.LCID, null, pHelpString); 151int hr = vsObj.GetLocalizedPropertyInfo(sender.DISPID, CultureInfo.CurrentCulture.LCID, pNameString, null);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
1299CultureInfo.CurrentCulture.LCID,
winforms\Managed\System\WinForms\ListBox.cs (1)
1765SendMessage(NativeMethods.LB_SETLOCALE, CultureInfo.CurrentCulture.LCID, 0);
winforms\Managed\System\WinForms\NativeMethods.cs (1)
5752public int lcid = Application.CurrentCulture.LCID;
winforms\Managed\System\WinForms\StringSorter.cs (2)
119this.lcid = culture == null? SafeNativeMethods.GetThreadLocale(): culture.LCID; 169return Compare(culture.LCID, s1, s2, options);
UIAutomationClient (3)
System\Windows\Automation\ItemContainerPattern.cs (1)
180value = ((CultureInfo)value).LCID;
System\Windows\Automation\PropertyCondition.cs (1)
185val = ((CultureInfo)val).LCID;
System\Windows\Automation\Text\TextRange.cs (1)
210value = ((CultureInfo)value).LCID;