119 references to new
Aspire.Dashboard (3)
Model\ResourceOutgoingPeerResolver.cs (1)
14
private readonly ConcurrentDictionary<string, ResourceViewModel> _resourceByName =
new
(StringComparers.ResourceName);
Otlp\Model\ColorGenerator.cs (1)
35
_colorIndexByKey = new
ConcurrentDictionary
<string, Lazy<int>>(StringComparer.OrdinalIgnoreCase);
Otlp\Model\OtlpApplication.cs (1)
31
private readonly ConcurrentDictionary<KeyValuePair<string, string>[], OtlpApplicationView> _applicationViews =
new
(ApplicationViewKeyComparer.Instance);
Aspire.Hosting (1)
Dashboard\DashboardLifecycleHook.cs (1)
310
var loggerCache = new
ConcurrentDictionary
<string, ILogger>(StringComparer.Ordinal);
Aspire.Microsoft.Data.SqlClient (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (1)
52
private static readonly ConcurrentDictionary<string, SqlConnectionDetails> ConnectionDetailCache =
new
(StringComparer.OrdinalIgnoreCase);
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\SqlClientTraceInstrumentationOptions.cs (1)
52
private static readonly ConcurrentDictionary<string, SqlConnectionDetails> ConnectionDetailCache =
new
(StringComparer.OrdinalIgnoreCase);
JwtClientSample (1)
Program.cs (1)
24
private readonly ConcurrentDictionary<string, Task<string>> _tokens = new
ConcurrentDictionary
<string, Task<string>>(StringComparer.Ordinal);
Microsoft.AspNetCore.Components (1)
Reflection\ComponentProperties.cs (1)
276
_referenceEqualityWritersCache = new
ConcurrentDictionary
<string, PropertySetter?>(ReferenceEqualityComparer.Instance);
Microsoft.AspNetCore.Components.Server (1)
ProtectedBrowserStorage\ProtectedBrowserStorage.cs (1)
20
= new
ConcurrentDictionary
<string, IDataProtector>(StringComparer.Ordinal);
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionManager.cs (1)
23
new
ConcurrentDictionary
<string, HttpConnectionContext>(StringComparer.Ordinal);
Microsoft.AspNetCore.Mvc.Razor (1)
Compilation\DefaultViewCompiler.cs (1)
32
_normalizedPathCache = new
ConcurrentDictionary
<string, string>(StringComparer.Ordinal);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
RuntimeViewCompiler.cs (1)
53
_normalizedPathCache = new
ConcurrentDictionary
<string, string>(StringComparer.Ordinal);
Microsoft.AspNetCore.Mvc.TagHelpers (1)
JavaScriptResources.cs (1)
18
new
ConcurrentDictionary
<string, string>(StringComparer.Ordinal);
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
CachedExpressionCompiler.cs (1)
38
new
ConcurrentDictionary
<MemberExpressionCacheKey, Func<TModel, object>>(MemberExpressionCacheKeyComparer.Instance);
ModelExpressionProvider.cs (1)
27
_expressionTextCache = new
ConcurrentDictionary
<LambdaExpression, string>(LambdaExpressionComparer.Instance);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ExpressionHelperTest.cs (1)
11
private readonly ConcurrentDictionary<LambdaExpression, string> _expressionTextCache = new
ConcurrentDictionary
<LambdaExpression, string>(LambdaExpressionComparer.Instance);
Microsoft.AspNetCore.OpenApi (1)
Services\Schemas\OpenApiSchemaStore.cs (1)
52
public readonly ConcurrentDictionary<OpenApiSchema, string?> SchemasByReference =
new
(OpenApiSchemaComparer.Instance);
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
85
private readonly ConcurrentDictionary<string, InvocationHandlerList> _handlers = new
ConcurrentDictionary
<string, InvocationHandlerList>(StringComparer.Ordinal);
Microsoft.AspNetCore.SignalR.Core (3)
HubConnectionContext.cs (1)
172
internal ConcurrentDictionary<string, CancellationTokenSource> ActiveRequestCancellationSources { get; } = new
ConcurrentDictionary
<string, CancellationTokenSource>(StringComparer.Ordinal);
HubConnectionStore.cs (1)
18
new
ConcurrentDictionary
<string, HubConnectionContext>(StringComparer.Ordinal);
Internal\HubGroupList.cs (1)
12
new
ConcurrentDictionary
<string, GroupConnectionList>(StringComparer.Ordinal);
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
Internal\RedisSubscriptionManager.cs (1)
10
private readonly ConcurrentDictionary<string, HubConnectionStore> _subscriptions = new
ConcurrentDictionary
<string, HubConnectionStore>(StringComparer.Ordinal);
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
ServerLogScope.cs (1)
27
_serverLoggers = new
ConcurrentDictionary
<string, ILogger>(StringComparer.Ordinal);
Microsoft.Build (26)
BackEnd\BuildManager\BuildManager.cs (1)
55
internal static ConcurrentDictionary<ProjectCacheDescriptor, ProjectCacheDescriptor> ProjectCacheDescriptors { get; } =
new
(ProjectCacheDescriptorEqualityComparer.Instance);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
47
private readonly ConcurrentDictionary<ProjectCacheDescriptor, Lazy<Task<ProjectCachePlugin>>> _projectCachePlugins =
new
(ProjectCacheDescriptorEqualityComparer.Instance);
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (1)
55
_ => new
ConcurrentDictionary
<string, Lazy<SdkResult>>(MSBuildNameIgnoreCaseComparer.Default));
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
32
private readonly ConcurrentDictionary<string, Lazy<SdkResult>> _responseCache = new
ConcurrentDictionary
<string, Lazy<SdkResult>>(MSBuildNameIgnoreCaseComparer.Default);
BuildCheck\Infrastructure\ConfigurationProvider.cs (3)
23
private readonly ConcurrentDictionary<string, CheckConfiguration> _checkConfiguration = new
ConcurrentDictionary
<string, CheckConfiguration>(StringComparer.InvariantCultureIgnoreCase);
28
private readonly ConcurrentDictionary<string, Dictionary<string, string>> _editorConfigData = new
ConcurrentDictionary
<string, Dictionary<string, string>>(StringComparer.InvariantCultureIgnoreCase);
33
private readonly ConcurrentDictionary<string, CustomConfigurationData> _customConfigurationData = new
ConcurrentDictionary
<string, CustomConfigurationData>(StringComparer.InvariantCultureIgnoreCase);
BuildCheck\Infrastructure\EditorConfig\EditorConfigParser.cs (1)
20
private readonly ConcurrentDictionary<string, EditorConfigFile> _editorConfigFileCache = new
ConcurrentDictionary
<string, EditorConfigFile>(StringComparer.InvariantCultureIgnoreCase);
Evaluation\ConditionEvaluator.cs (3)
245
_ => new ExpressionTreeForCurrentOptionsWithSize(new
ConcurrentDictionary
<string, ConcurrentStack<GenericExpressionNode>>(StringComparer.Ordinal)));
321
new
ConcurrentDictionary
<string, ConcurrentStack<GenericExpressionNode>>(StringComparer.Ordinal)),
328
new
ConcurrentDictionary
<string, ConcurrentStack<GenericExpressionNode>>(StringComparer.Ordinal));
Evaluation\Expander.cs (1)
2240
private static ConcurrentDictionary<string, ItemTransformFunction> s_transformFunctionDelegateCache = new
ConcurrentDictionary
<string, ItemTransformFunction>(StringComparer.OrdinalIgnoreCase);
Evaluation\ProjectRootElementCache.cs (1)
160
_fileLoadLocks = new
ConcurrentDictionary
<string, object>(StringComparer.OrdinalIgnoreCase);
Evaluation\SimpleProjectRootElementCache.cs (1)
32
_cache = new
ConcurrentDictionary
<string, ProjectRootElement>(StringComparer.OrdinalIgnoreCase);
FileMatcher.cs (3)
42
private static readonly Lazy<ConcurrentDictionary<string, IReadOnlyList<string>>> s_cachedGlobExpansions = new Lazy<ConcurrentDictionary<string, IReadOnlyList<string>>>(() => new
ConcurrentDictionary
<string, IReadOnlyList<string>>(StringComparer.OrdinalIgnoreCase));
43
private static readonly Lazy<ConcurrentDictionary<string, object>> s_cachedGlobExpansionsLock = new Lazy<ConcurrentDictionary<string, object>>(() => new
ConcurrentDictionary
<string, object>(StringComparer.OrdinalIgnoreCase));
46
private readonly Lazy<ConcurrentDictionary<string, object>> _cachedGlobExpansionsLock = new Lazy<ConcurrentDictionary<string, object>>(() => new
ConcurrentDictionary
<string, object>(StringComparer.OrdinalIgnoreCase));
FileUtilities.cs (1)
120
private static readonly ConcurrentDictionary<string, bool> FileExistenceCache = new
ConcurrentDictionary
<string, bool>(StringComparer.OrdinalIgnoreCase);
Graph\ParallelWorkSet.cs (1)
88
_inProgressOrCompletedWork = new
ConcurrentDictionary
<TKey, Lazy<TResult>>(comparer);
Instance\TaskRegistry.cs (3)
139
new
(RegisteredTaskIdentity.RegisteredTaskIdentityComparer.Exact);
147
private readonly ConcurrentDictionary<string, ConcurrentDictionary<RegisteredTaskIdentity, RegisteredTaskRecord>> _cachedTaskRecordsWithFuzzyMatch =
new
(StringComparer.OrdinalIgnoreCase);
633
_ =>
new
(RegisteredTaskIdentity.RegisteredTaskIdentityComparer.Exact));
Resources\Constants.cs (1)
288
var availableStaticMethods = new
ConcurrentDictionary
<string, Tuple<string, Type>>(StringComparer.OrdinalIgnoreCase);
TypeLoader.cs (2)
314
_typeNameToType =
new
(StringComparer.OrdinalIgnoreCase);
316
_publicTypeNameToLoadedType =
new
(StringComparer.OrdinalIgnoreCase);
Utilities\EngineFileUtilities.cs (1)
560
private static readonly Lazy<ConcurrentDictionary<string, bool>> _regexMatchCache = new Lazy<ConcurrentDictionary<string, bool>>(() => new
ConcurrentDictionary
<string, bool>(StringComparer.OrdinalIgnoreCase));
Microsoft.Build.Engine.OM.UnitTests (1)
FileUtilities.cs (1)
120
private static readonly ConcurrentDictionary<string, bool> FileExistenceCache = new
ConcurrentDictionary
<string, bool>(StringComparer.OrdinalIgnoreCase);
Microsoft.Build.Framework (1)
ImmutableFilesTimestampCache.cs (1)
17
private readonly ConcurrentDictionary<string, DateTime> _cache =
new
(StringComparer.OrdinalIgnoreCase);
Microsoft.Build.Tasks.Core (14)
Copy.cs (1)
82
private readonly ConcurrentDictionary<string, bool> _directoriesKnownToExist = new
ConcurrentDictionary
<string, bool>(StringComparer.OrdinalIgnoreCase);
FileMatcher.cs (3)
42
private static readonly Lazy<ConcurrentDictionary<string, IReadOnlyList<string>>> s_cachedGlobExpansions = new Lazy<ConcurrentDictionary<string, IReadOnlyList<string>>>(() => new
ConcurrentDictionary
<string, IReadOnlyList<string>>(StringComparer.OrdinalIgnoreCase));
43
private static readonly Lazy<ConcurrentDictionary<string, object>> s_cachedGlobExpansionsLock = new Lazy<ConcurrentDictionary<string, object>>(() => new
ConcurrentDictionary
<string, object>(StringComparer.OrdinalIgnoreCase));
46
private readonly Lazy<ConcurrentDictionary<string, object>> _cachedGlobExpansionsLock = new Lazy<ConcurrentDictionary<string, object>>(() => new
ConcurrentDictionary
<string, object>(StringComparer.OrdinalIgnoreCase));
FileUtilities.cs (1)
120
private static readonly ConcurrentDictionary<string, bool> FileExistenceCache = new
ConcurrentDictionary
<string, bool>(StringComparer.OrdinalIgnoreCase);
GetSDKReferenceFiles.cs (3)
54
private readonly ConcurrentDictionary<string, SDKInfo> _cacheFileForSDKs = new
ConcurrentDictionary
<string, SDKInfo>(StringComparer.OrdinalIgnoreCase);
995
var references = new
ConcurrentDictionary
<string, SdkReferenceInfo>(StringComparer.OrdinalIgnoreCase);
996
var directoryToFileList = new
ConcurrentDictionary
<string, List<string>>(StringComparer.OrdinalIgnoreCase);
RedistList.cs (5)
51
private readonly ConcurrentDictionary<AssemblyNameExtension, bool> _assemblyNameInRedist = new
ConcurrentDictionary
<AssemblyNameExtension, bool>(AssemblyNameComparer.GenericComparer);
56
private readonly ConcurrentDictionary<string, AssemblyEntry> _assemblyNameToUnifiedAssemblyName = new
ConcurrentDictionary
<string, AssemblyEntry>(StringComparer.OrdinalIgnoreCase);
61
private readonly ConcurrentDictionary<string, AssemblyNameExtension> _assemblyNameToAssemblyNameExtension = new
ConcurrentDictionary
<string, AssemblyNameExtension>(StringComparer.OrdinalIgnoreCase);
67
private readonly ConcurrentDictionary<AssemblyNameExtension, AssemblyNameExtension> _remappingCache = new
ConcurrentDictionary
<AssemblyNameExtension, AssemblyNameExtension>(AssemblyNameComparer.GenericComparerConsiderRetargetable);
70
private readonly ConcurrentDictionary<string, Dictionary<string, string>> _cachedDenyList = new
ConcurrentDictionary
<string, Dictionary<string, string>>(StringComparer.OrdinalIgnoreCase);
SystemState.cs (1)
73
private static ConcurrentDictionary<string, FileState> s_processWideFileStateCache = new
ConcurrentDictionary
<string, FileState>(StringComparer.OrdinalIgnoreCase);
Microsoft.Build.Utilities.Core (4)
FileMatcher.cs (3)
42
private static readonly Lazy<ConcurrentDictionary<string, IReadOnlyList<string>>> s_cachedGlobExpansions = new Lazy<ConcurrentDictionary<string, IReadOnlyList<string>>>(() => new
ConcurrentDictionary
<string, IReadOnlyList<string>>(StringComparer.OrdinalIgnoreCase));
43
private static readonly Lazy<ConcurrentDictionary<string, object>> s_cachedGlobExpansionsLock = new Lazy<ConcurrentDictionary<string, object>>(() => new
ConcurrentDictionary
<string, object>(StringComparer.OrdinalIgnoreCase));
46
private readonly Lazy<ConcurrentDictionary<string, object>> _cachedGlobExpansionsLock = new Lazy<ConcurrentDictionary<string, object>>(() => new
ConcurrentDictionary
<string, object>(StringComparer.OrdinalIgnoreCase));
FileUtilities.cs (1)
120
private static readonly ConcurrentDictionary<string, bool> FileExistenceCache = new
ConcurrentDictionary
<string, bool>(StringComparer.OrdinalIgnoreCase);
Microsoft.CodeAnalysis (13)
CodeGen\ItemTokenMap.cs (1)
22
private readonly ConcurrentDictionary<T, uint> _itemToToken = new
ConcurrentDictionary
<T, uint>(ReferenceEqualityComparer.Instance);
CodeGen\PrivateImplementationDetails.cs (3)
68
new
ConcurrentDictionary
<(ImmutableArray<byte> Data, ushort Alignment), MappedField>(DataAndUShortEqualityComparer.Instance);
72
new
ConcurrentDictionary
<(ImmutableArray<byte> Data, ushort ElementType), CachedArrayField>(DataAndUShortEqualityComparer.Instance);
76
new
ConcurrentDictionary
<(ImmutableArray<ConstantValue> Constants, ushort ElementType), CachedArrayField>(ConstantValueAndUShortEqualityComparer.Instance);
CommandLine\AnalyzerConfigSet.cs (1)
48
new
ConcurrentDictionary
<ReadOnlyMemory<char>, string>(CharMemoryEqualityComparer.Instance);
Emit\CommonPEModuleBuilder.cs (2)
66
_methodBodyMap = new
ConcurrentDictionary
<IMethodSymbolInternal, Cci.IMethodBody>(ReferenceEqualityComparer.Instance);
869
new
ConcurrentDictionary
<TNamedTypeSymbol, SynthesizedDefinitions>(ReferenceEqualityComparer.Instance);
Emit\DebugDocumentsBuilder.cs (1)
28
_debugDocuments = new
ConcurrentDictionary
<string, Cci.DebugSourceDocument>(
Emit\NoPia\EmbeddedTypesManager.cs (5)
70
public readonly ConcurrentDictionary<TNamedTypeSymbol, TEmbeddedType> EmbeddedTypesMap = new
ConcurrentDictionary
<TNamedTypeSymbol, TEmbeddedType>(ReferenceEqualityComparer.Instance);
71
public readonly ConcurrentDictionary<TFieldSymbol, TEmbeddedField> EmbeddedFieldsMap = new
ConcurrentDictionary
<TFieldSymbol, TEmbeddedField>(ReferenceEqualityComparer.Instance);
72
public readonly ConcurrentDictionary<TMethodSymbol, TEmbeddedMethod> EmbeddedMethodsMap = new
ConcurrentDictionary
<TMethodSymbol, TEmbeddedMethod>(ReferenceEqualityComparer.Instance);
73
public readonly ConcurrentDictionary<TPropertySymbol, TEmbeddedProperty> EmbeddedPropertiesMap = new
ConcurrentDictionary
<TPropertySymbol, TEmbeddedProperty>(ReferenceEqualityComparer.Instance);
74
public readonly ConcurrentDictionary<TEventSymbol, TEmbeddedEvent> EmbeddedEventsMap = new
ConcurrentDictionary
<TEventSymbol, TEmbeddedEvent>(ReferenceEqualityComparer.Instance);
Microsoft.CodeAnalysis.CSharp (10)
Compilation\CSharpCompilation.cs (1)
2458
() => new
ConcurrentDictionary
<(ImmutableArray<byte> ContentHash, int Position), OneOrMany<(Location AttributeLocation, MethodSymbol Interceptor)>>(comparer: InterceptorKeyComparer.Instance));
Compiler\ClsComplianceChecker.cs (1)
52
_declaredOrInheritedCompliance = new
ConcurrentDictionary
<Symbol, Compliance>(Symbols.SymbolEqualityComparer.ConsiderEverything);
Compiler\MethodCompiler.cs (1)
1997
identifierMap = new
ConcurrentDictionary
<IdentifierNameSyntax, int>(ReferenceEqualityComparer.Instance);
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
106
private readonly ConcurrentDictionary<Symbol, Symbol?> _matches =
new
(ReferenceEqualityComparer.Instance);
844
_matches = new
ConcurrentDictionary
<Symbol, Symbol>(ReferenceEqualityComparer.Instance);
Emitter\Model\PEModuleBuilder.cs (2)
30
private readonly ConcurrentDictionary<Symbol, object> _genericInstanceMap = new
ConcurrentDictionary
<Symbol, object>(Symbols.SymbolEqualityComparer.ConsiderEverything);
32
new
ConcurrentDictionary
<ImportChain, ImmutableArray<Cci.UsedNamespaceOrType>>(ReferenceEqualityComparer.Instance);
Emitter\NoPia\EmbeddedTypesManager.cs (2)
39
private readonly ConcurrentDictionary<AssemblySymbol, string> _assemblyGuidMap = new
ConcurrentDictionary
<AssemblySymbol, string>(ReferenceEqualityComparer.Instance);
40
private readonly ConcurrentDictionary<Symbol, bool> _reportedSymbolsMap = new
ConcurrentDictionary
<Symbol, bool>(ReferenceEqualityComparer.Instance);
Symbols\Source\SourceAssemblySymbol.cs (1)
2306
new
ConcurrentDictionary
<string, ConcurrentDictionary<ImmutableArray<byte>, Tuple<Location, String>>>(StringComparer.OrdinalIgnoreCase), null);
Microsoft.CodeAnalysis.Features (2)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
53
private readonly ConcurrentDictionary<string, MetadataAsSourceGeneratedFileInfo> _generatedFilenameToInformation =
new
(StringComparer.OrdinalIgnoreCase);
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
72
private readonly ConcurrentDictionary<string, SourceDocumentInfo> _fileToDocumentInfoMap =
new
(StringComparer.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.LanguageServer (1)
Logging\LspLogMessageLoggerProvider.cs (1)
11
private readonly ConcurrentDictionary<string, LspLogMessageLogger> _loggers =
new
(StringComparer.OrdinalIgnoreCase);
Microsoft.CodeAnalysis.Test.Utilities (1)
TargetFrameworkUtil.cs (1)
168
private static readonly ConcurrentDictionary<string, ImmutableArray<PortableExecutableReference>> s_dynamicReferenceMap = new
ConcurrentDictionary
<string, ImmutableArray<PortableExecutableReference>>(StringComparer.Ordinal);
Microsoft.CodeAnalysis.Workspaces (1)
FindSymbols\FindReferences\FindReferenceCache.cs (1)
84
_identifierCache =
new
(comparer: semanticModel.Language switch
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFilesWatcher.cs (2)
29
private readonly ConcurrentDictionary<string, ChangeTokenInfo> _filePathTokenLookup =
new
(StringComparer.OrdinalIgnoreCase);
30
private readonly ConcurrentDictionary<string, ChangeTokenInfo> _wildcardTokenLookup =
new
(StringComparer.OrdinalIgnoreCase);
Microsoft.Extensions.Http (1)
DefaultHttpClientFactory.cs (1)
79
_activeHandlers = new
ConcurrentDictionary
<string, Lazy<ActiveHandlerTrackingEntry>>(StringComparer.Ordinal);
Microsoft.Extensions.Logging (1)
LoggerFactory.cs (1)
22
private readonly ConcurrentDictionary<string, Logger> _loggers = new
ConcurrentDictionary
<string, Logger>(StringComparer.Ordinal);
Microsoft.Extensions.Logging.Console (1)
ConsoleLoggerProvider.cs (1)
102
var cd = new
ConcurrentDictionary
<string, ConsoleFormatter>(StringComparer.OrdinalIgnoreCase);
Microsoft.Extensions.Logging.TraceSource (1)
TraceSourceLoggerProvider.cs (1)
20
private readonly ConcurrentDictionary<string, DiagnosticsTraceSource> _sources = new
ConcurrentDictionary
<string, DiagnosticsTraceSource>(StringComparer.OrdinalIgnoreCase);
Microsoft.ML.Tokenizers (1)
Model\TiktokenTokenizer.cs (1)
1197
private static readonly ConcurrentDictionary<string, (Dictionary<ReadOnlyMemory<byte>, int> encoder, Dictionary<StringSpanOrdinalKey, (int Id, string Token)> vocab, Dictionary<int, ReadOnlyMemory<byte>> decoder)> _tiktokenCache =
new
(StringComparer.OrdinalIgnoreCase);
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\XamlProjectService.cs (1)
38
private readonly ConcurrentDictionary<string, DocumentId> _documentIds = new
ConcurrentDictionary
<string, DocumentId>(StringComparer.OrdinalIgnoreCase);
MSBuild (3)
FileUtilities.cs (1)
120
private static readonly ConcurrentDictionary<string, bool> FileExistenceCache = new
ConcurrentDictionary
<string, bool>(StringComparer.OrdinalIgnoreCase);
TypeLoader.cs (2)
314
_typeNameToType =
new
(StringComparer.OrdinalIgnoreCase);
316
_publicTypeNameToLoadedType =
new
(StringComparer.OrdinalIgnoreCase);
SignalRSamples (1)
ConnectionList.cs (1)
12
private readonly ConcurrentDictionary<string, ConnectionContext> _connections = new
ConcurrentDictionary
<string, ConnectionContext>(StringComparer.Ordinal);
SocialWeather (1)
ConnectionList.cs (1)
13
new
ConcurrentDictionary
<string, ConnectionContext>(StringComparer.Ordinal);
System.Security.Cryptography (3)
System\Security\Cryptography\CryptoConfig.cs (2)
36
private static readonly ConcurrentDictionary<string, Type> appNameHT = new
ConcurrentDictionary
<string, Type>(StringComparer.OrdinalIgnoreCase);
37
private static readonly ConcurrentDictionary<string, string> appOidHT = new
ConcurrentDictionary
<string, string>(StringComparer.OrdinalIgnoreCase);
System\Security\Cryptography\OidLookup.cs (1)
16
new
ConcurrentDictionary
<string, string>(StringComparer.OrdinalIgnoreCase);
System.Text.Json (1)
System\Text\Json\Serialization\Converters\Value\EnumConverter.cs (1)
66
_nameCacheForReading =
new
(StringComparer.Ordinal);
System.Windows.Forms (1)
System\Resources\AssemblyNamesTypeResolutionService.cs (1)
79
_cachedTypes ??=
new
(StringComparer.Ordinal);
XmlFileLogger (2)
ObjectModel\Build.cs (1)
26
private readonly ConcurrentDictionary<string, string> _taskToAssemblyMap = new
ConcurrentDictionary
<string, string>(StringComparer.OrdinalIgnoreCase);
ObjectModel\Project.cs (1)
29
private readonly ConcurrentDictionary<string, Target> _targetNameToTargetMap = new
ConcurrentDictionary
<string, Target>(StringComparer.OrdinalIgnoreCase);
xunit.console (2)
common\AssemblyResolution\DependencyContextAssemblyCache.cs (2)
64
managedAssemblyCache = new
ConcurrentDictionary
<string, Assembly>(StringComparer.OrdinalIgnoreCase);
79
unmanagedAssemblyCache = new
ConcurrentDictionary
<string, string>(StringComparer.OrdinalIgnoreCase);