85 references to LCID
Aspire.Hosting.Tests (1)
Utils\UseCultureAttributeTests.cs (1)
124var ri = new RegionInfo(Thread.CurrentThread.CurrentCulture.LCID);
datacollector (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\UILanguageOverride.cs (1)
81SetIfNotAlreadySet(VSLANG, language.LCID.ToString(CultureInfo.CurrentCulture), environmentVariableHelper); // for tools following VS guidelines to just work in CLI
datacollector.arm64 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\UILanguageOverride.cs (1)
81SetIfNotAlreadySet(VSLANG, language.LCID.ToString(CultureInfo.CurrentCulture), environmentVariableHelper); // for tools following VS guidelines to just work in CLI
Microsoft.Build.Framework (4)
BackEnd\TranslatorHelpers.cs (1)
308lcid = cultureInfo.LCID;
Utilities\AssemblyNameExtension.cs (3)
768return aCulture.LCID == bCulture.LCID; 963info.AddValue("ci", asAssemblyName.CultureInfo.LCID);
Microsoft.Build.Tasks.Core (2)
BootstrapperUtil\BuildSettings.cs (2)
61public int LCID { get; set; } = Util.DefaultCultureInfo.LCID; 66public int FallbackLCID { get; set; } = Util.DefaultCultureInfo.LCID;
Microsoft.DotNet.Cli.Utils (1)
UILanguageOverride.cs (1)
68SetIfNotAlreadySet(VSLANG, language.LCID); // for tools following VS guidelines to just work in CLI
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\UILanguageOverride.cs (1)
81SetIfNotAlreadySet(VSLANG, language.LCID.ToString(CultureInfo.CurrentCulture), environmentVariableHelper); // for tools following VS guidelines to just work in CLI
NuGet.CommandLine.XPlat (1)
UILanguageOverride.cs (1)
46SetIfNotAlreadySet(VSLANG, language.LCID, environmentVariableReader); // for tools following VS guidelines to just work in CLI
PresentationCore (9)
MS\Internal\FontCache\FontCacheUtil.cs (1)
873internal LocalizedName(XmlLanguage language, string name) : this(language, name, language.GetEquivalentCulture().LCID)
MS\Internal\TextFormatting\NumberSubstitution.cs (4)
220return (culture.LCID & 0xFF) == 0x01; 225return (culture.LCID & 0xFF) == 0x29; 236int lcid = numberCulture.LCID; 239if (_lastTraditionalCulture != null && _lastTraditionalCulture.LCID == lcid)
MS\Internal\TextFormatting\TextStore.cs (2)
2721&&( (cultureInfo.LCID & 0xFF) == 0x01 // Arabic culture 2722|| (cultureInfo.LCID & 0xFF) == 0x29 // Farsi culture
System\Windows\Input\InputLanguageSource.cs (1)
108_CurrentInputLanguage = (short)value.LCID;
System\Windows\Input\InputMethod.cs (1)
1656ipp.EnumLanguageProfiles((short)(inputLang.LCID), out enumIpp);
PresentationFramework (15)
MS\Internal\IO\Packaging\CorePropertiesFilter.cs (1)
41(uint)CultureInfo.InvariantCulture.LCID,
MS\Internal\IO\Packaging\XamlFilter.cs (3)
836return (uint)CultureInfo.InvariantCulture.LCID; 843_lcidDictionary.Add(languageString, (uint)cultureInfo.LCID); 844return (uint)cultureInfo.LCID;
MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (2)
194_languageID = checked((uint)cultureInfo.LCID); 206_languageID = checked((uint)CultureInfo.InvariantCulture.LCID);
System\Windows\Controls\TextRangeAdaptor.cs (2)
150return (val is XmlLanguage) ? ((XmlLanguage)val).GetEquivalentCulture().LCID : CultureInfo.InvariantCulture.LCID;
System\Windows\Controls\WebBrowser.cs (2)
291HRESULT hr = scriptObjectEx.GetIDsOfNames(ref guid, names, 1, Thread.CurrentThread.CurrentCulture.LCID, dispids); 319Thread.CurrentThread.CurrentCulture.LCID,
System\Windows\Documents\NaturalLanguageHyphenator.cs (1)
130((textCulture != null && textCulture != CultureInfo.InvariantCulture) ? textCulture.LCID : 0),
System\Windows\Documents\NLGSpellerInterop.cs (1)
142_textChunk.put_Locale(culture.LCID);
System\windows\Documents\TextSelection.cs (1)
2480if (UnsafeNativeMethods.GetLocaleInfoW(cultureInfo.LCID, NativeMethods.LOCALE_FONTSIGNATURE, fontSignature, FONTSIGNATURE_SIZE) != 0)
System\Windows\Documents\XamlToRtfWriter.cs (2)
3293if (ci.LCID > 0) 3296formatState.Lang = (long)(ushort)ci.LCID;
System.Data.Common (11)
System\Data\DataRelationCollection.cs (2)
201if (relation.ChildTable.Locale.LCID != relation.ParentTable.Locale.LCID ||
System\Data\DataSet.cs (5)
516info.AddValue("DataSet.LocaleLCID", Locale.LCID); 3363if (relation.ChildTable.Locale.LCID != relation.ParentTable.Locale.LCID) 3379if (constraint.Table!.Locale.LCID != constraint.RelatedTable.Locale.LCID)
System\Data\DataTable.cs (1)
356info.AddValue("DataTable.LocaleLCID", Locale.LCID);
System\Data\ForeignKeyConstraint.cs (2)
151if (Table.Locale.LCID != RelatedTable.Locale.LCID || Table.CaseSensitive != RelatedTable.CaseSensitive)
System\Data\SQLTypes\SQLString.cs (1)
191public SqlString(string? data) : this(data, System.Globalization.CultureInfo.CurrentCulture.LCID, s_iDefaultFlag)
System.Data.Odbc (2)
System\Data\Odbc\OdbcParameter.cs (2)
742int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID; 969int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID;
System.Data.OleDb (1)
OleDbError.cs (1)
19int lcid = System.Globalization.CultureInfo.CurrentCulture.LCID;
System.Diagnostics.PerformanceCounter (2)
System\Diagnostics\PerformanceCounterLib.cs (2)
979string lcidString = EnglishCulture.LCID == 9 ? culture.LCID.ToString("X3", CultureInfo.InvariantCulture) : "009";
System.Drawing.Common (1)
System\Drawing\FontFamily.cs (1)
224public string Name => GetName(CultureInfo.CurrentUICulture.LCID);
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (2)
221culture = CultureInfo.GetCultureInfo(Name).LCID; // This is the lcid of the constructing culture (still have to dereference to get target sort) 1613public int LCID => CultureInfo.GetCultureInfo(Name).LCID;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (2)
1156if (ci.LCID > 0xffff || ci.LCID == 0x040a)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (1)
70public int LCID => CultureInfo.GetCultureInfo(_textInfoName).LCID;
System.Private.Windows.Core.TestUtilities (1)
XUnit\UseCultureAttribute.cs (1)
114string lcid = uiCulture.LCID.ToString("X4");
System.Private.Xml (1)
System\Xml\Xsl\Runtime\XsltLibrary.cs (1)
254lcid = new CultureInfo(lang).LCID;
System.Resources.Extensions (2)
System\Resources\Extensions\TypeNameComparer.cs (2)
112if (an1.CultureInfo?.LCID != an2.CultureInfo?.LCID)
System.Speech (14)
Internal\ObjectToken\ObjectToken.cs (1)
201string sCultureId = string.Format(CultureInfo.InvariantCulture, "{0:x}", CultureInfo.CurrentUICulture.LCID);
Internal\ObjectToken\SAPICategories.cs (1)
102string[] sCultureId = new string[] { string.Format(CultureInfo.InvariantCulture, "{0:x}", CultureInfo.CurrentUICulture.LCID) };
Internal\SapiInterop\SapiRecoInterop.cs (1)
509spPhrase.LangID = (ushort)culture.LCID;
Internal\SrgsCompiler\BackEnd.cs (1)
1347private int _langId = CultureInfo.CurrentUICulture.LCID;
Internal\SrgsCompiler\GrammarElement.cs (1)
141_backend.LangId = value.LCID;
Internal\Synthesis\SSmlParser.cs (5)
200ssmlAttributes._fragmentState.LangId = culture.LCID; 689bool fNewCulture = culture != null && culture.LCID != ssmlAttributes._fragmentState.LangId; 693ssmlAttributes._fragmentState.LangId = culture!.LCID; 1194bool fNewCulture = culture.LCID != ssmlAttributes._fragmentState.LangId; 1196ssmlAttributes._fragmentState.LangId = culture.LCID;
Internal\Synthesis\VoiceSynthesis.cs (2)
1375engineProxy = new TtsProxySsml(ssmlEngine, _site, voiceInfo.Culture!.LCID); 1403engineProxy = new TtsProxySapi(iTtsEngine, ComEngineSite, voiceInfo.Culture!.LCID);
Recognition\SrgsGrammar\SrgsElementFactory.cs (1)
64sSubPron = PhonemeConverter.ConvertPronToId(sSubPron, _grammar.Culture.LCID);
Recognition\SrgsGrammar\SrgsToken.cs (1)
130PhonemeConverter.ConvertPronToId(subPronunciation, grammar.Culture.LCID);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (1)
294(uint)Application.CurrentCulture.LCID,
testhost (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\UILanguageOverride.cs (1)
81SetIfNotAlreadySet(VSLANG, language.LCID.ToString(CultureInfo.CurrentCulture), environmentVariableHelper); // for tools following VS guidelines to just work in CLI
testhost.arm64 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\UILanguageOverride.cs (1)
81SetIfNotAlreadySet(VSLANG, language.LCID.ToString(CultureInfo.CurrentCulture), environmentVariableHelper); // for tools following VS guidelines to just work in CLI
testhost.x86 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\UILanguageOverride.cs (1)
81SetIfNotAlreadySet(VSLANG, language.LCID.ToString(CultureInfo.CurrentCulture), environmentVariableHelper); // for tools following VS guidelines to just work in CLI
UIAutomationClient (3)
System\Windows\Automation\ItemContainerPattern.cs (1)
166value = ((CultureInfo)value).LCID;
System\Windows\Automation\PropertyCondition.cs (1)
169val = ((CultureInfo)val).LCID;
System\Windows\Automation\Text\TextRange.cs (1)
195value = ((CultureInfo)value).LCID;
vstest.console (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\UILanguageOverride.cs (1)
81SetIfNotAlreadySet(VSLANG, language.LCID.ToString(CultureInfo.CurrentCulture), environmentVariableHelper); // for tools following VS guidelines to just work in CLI
vstest.console.arm64 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\UILanguageOverride.cs (1)
81SetIfNotAlreadySet(VSLANG, language.LCID.ToString(CultureInfo.CurrentCulture), environmentVariableHelper); // for tools following VS guidelines to just work in CLI