487 references to CurrentThread
Aspire.Dashboard.Components.Tests (7)
Aspire.Hosting.Tests (12)
Aspire.Microsoft.Data.SqlClient (3)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (3)
Aspire.TestUtilities (8)
Binding.Http.IntegrationTests (2)
Binding.Tcp.IntegrationTests (8)
dotnet-svcutil.xmlserializer (3)
GenerateDocumentationAndConfigFiles (1)
Metrics (1)
Metrics.Legacy (1)
Microsoft.AspNetCore.App.Analyzers.Test (1)
Microsoft.AspNetCore.Components.Tests (25)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.DataProtection.Tests (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.AspNetCore.OutputCaching.Tests (3)
Microsoft.Build (17)
Microsoft.Build.CommandLine.UnitTests (4)
Microsoft.Build.Engine.UnitTests (46)
BackEnd\TaskHostConfiguration_Tests.cs (30)
45culture: Thread.CurrentThread.CurrentCulture,
46uiCulture: Thread.CurrentThread.CurrentUICulture,
81culture: Thread.CurrentThread.CurrentCulture,
82uiCulture: Thread.CurrentThread.CurrentUICulture,
117culture: Thread.CurrentThread.CurrentCulture,
118uiCulture: Thread.CurrentThread.CurrentUICulture,
191culture: Thread.CurrentThread.CurrentCulture,
192uiCulture: Thread.CurrentThread.CurrentUICulture,
218culture: Thread.CurrentThread.CurrentCulture,
219uiCulture: Thread.CurrentThread.CurrentUICulture,
246culture: Thread.CurrentThread.CurrentCulture,
247uiCulture: Thread.CurrentThread.CurrentUICulture,
279culture: Thread.CurrentThread.CurrentCulture,
280uiCulture: Thread.CurrentThread.CurrentUICulture,
312culture: Thread.CurrentThread.CurrentCulture,
313uiCulture: Thread.CurrentThread.CurrentUICulture,
352culture: Thread.CurrentThread.CurrentCulture,
353uiCulture: Thread.CurrentThread.CurrentUICulture,
451culture: Thread.CurrentThread.CurrentCulture,
452uiCulture: Thread.CurrentThread.CurrentUICulture,
503culture: Thread.CurrentThread.CurrentCulture,
504uiCulture: Thread.CurrentThread.CurrentUICulture,
553culture: Thread.CurrentThread.CurrentCulture,
554uiCulture: Thread.CurrentThread.CurrentUICulture,
602culture: Thread.CurrentThread.CurrentCulture,
603uiCulture: Thread.CurrentThread.CurrentUICulture,
658culture: Thread.CurrentThread.CurrentCulture,
659uiCulture: Thread.CurrentThread.CurrentUICulture,
709culture: Thread.CurrentThread.CurrentCulture,
710uiCulture: Thread.CurrentThread.CurrentUICulture,
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Utilities.UnitTests (3)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Microsoft.CodeAnalysis.EditorFeatures (2)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.UnitTests (3)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (9)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (14)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (22)
SymbolDisplay\ObjectDisplayTests.vb (6)
226Dim originalCulture = CurrentThread.CurrentCulture
228CurrentThread.CurrentCulture = New CultureInfo(1031) ' de-DE
238Assert.Equal("12,5", ObjectDisplay.FormatLiteral(decimalValue, ObjectDisplayOptions.None, CurrentThread.CurrentCulture))
244Assert.Equal("12,5", ObjectDisplay.FormatLiteral(doubleValue, ObjectDisplayOptions.None, CurrentThread.CurrentCulture))
250Assert.Equal("12,5", ObjectDisplay.FormatLiteral(singleValue, ObjectDisplayOptions.None, CurrentThread.CurrentCulture))
253CurrentThread.CurrentCulture = originalCulture
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Microsoft.CodeAnalysis.Workspaces.UnitTests (12)
Microsoft.Data.Analysis.Tests (1)
Microsoft.Extensions.Diagnostics.Testing.Tests (3)
Microsoft.Extensions.Telemetry.Tests (1)
Microsoft.Gen.Logging.Generated.Tests (3)
Microsoft.Maui.Graphics (1)
Microsoft.Maui.Resizetizer (5)
Microsoft.ML.AutoML.Tests (6)
Microsoft.ML.CodeGenerator.Tests (3)
Microsoft.ML.IntegrationTests (1)
Microsoft.ML.PerformanceTests (1)
Microsoft.ML.SearchSpace.Tests (3)
Microsoft.ML.TestFramework (1)
Microsoft.ML.Tests (6)
Microsoft.VisualBasic.Core (9)
Microsoft.VisualBasic.Forms (6)
Microsoft.VisualBasic.Tests (6)
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
MSBuild (10)
MSBuildTaskHost (7)
PresentationCore (16)
PresentationFramework (24)
ReachFramework (7)
Roslyn.Diagnostics.Analyzers (1)
System.Collections.Concurrent (1)
System.Private.CoreLib (46)
System.Private.Windows.Core.TestUtilities (8)
System.Transactions.Local (5)
System.Windows.Forms (9)
System.Windows.Forms.Analyzers.CSharp.Tests (2)
System.Windows.Forms.Analyzers.Tests (1)
System.Windows.Forms.Design (1)
System.Windows.Forms.Design.Tests (7)
System.Windows.Forms.IntegrationTests.Common (2)
System.Windows.Forms.Tests (22)
System.Windows.Forms.UI.IntegrationTests (1)
Test.Utilities (1)
Text.Analyzers (1)
WindowsBase.Tests (3)
WinFormsControlsTest (4)