789 references to Values
Aspire.Dashboard (5)
Components\Controls\Chart\MetricTable.razor.cs (1)
142if (traceValuesByPercentile.Values.All(value => value is null))
Components\Layout\AspirePageContentLayout.razor.cs (1)
111foreach (var dialogCloseListener in DialogCloseListeners.Values)
Otlp\Storage\TelemetryRepository.cs (2)
1300Dimensions = instrument.Dimensions.Values.ToList(), 1312allDimensions.AddRange(instrument.Dimensions.Values);
ServiceClient\DashboardClient.cs (1)
583InitialState: _resourceByName.Values.ToImmutableArray(),
Aspire.EndToEnd.Tests (2)
IntegrationServicesFixture.cs (1)
85foreach (var project in Projects.Values)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
320foreach (var project in InfoTable.Values)
Aspire.Hosting (2)
Dashboard\DashboardLifecycleHook.cs (1)
707await Task.WhenAll(dashboardResourceTasks.Values).ConfigureAwait(ConfigureAwaitOptions.SuppressThrowing);
Publishing\ManifestPublishingContext.cs (1)
662foreach (var resource in _referencedResources.Values)
Aspire.Hosting.Azure (3)
Provisioning\ResourceDeploymentGraph.cs (3)
29foreach (var parameter in bicepResource.Parameters.Values) 65var completedTask = await Task.WhenAny(inProgress.Values).ConfigureAwait(false); 80var completedTask = await Task.WhenAny(inProgress.Values).ConfigureAwait(false);
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
320foreach (var project in InfoTable.Values)
BoundTreeGenerator (1)
BoundNodeClassWriter.cs (1)
288return !_typeMap.Values.Contains(node.Name);
BuildBoss (3)
ProjectCheckerUtil.cs (1)
150var builtByThisRepository = _solutionMap.Values.Any(projectData => GetAssemblyName(projectData) == internalsVisibleTo.TargetAssembly);
SolutionCheckerUtil.cs (2)
45allGood &= CheckProjectSystemGuid(textWriter, map.Values); 61foreach (var data in map.Values.OrderBy(x => x.ProjectEntry.Name))
BuildValidator (1)
Program.cs (1)
225return map.Values.OrderBy(x => x.FileName, FileNameEqualityComparer.StringComparer).ToArray();
ConfigurationSchemaGenerator (5)
ConfigurationBindingGenerator.ForSchemaGeneration.cs (1)
60AllTypes = _createdTypeSpecs.Values.ToImmutableEquatableArray()
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (3)
57ConfigTypes = _createdTypeSpecs.Values.OrderBy(s => s.TypeRef.FullyQualifiedName).ToImmutableEquatableArray(), 121TypeIndex typeIndex = new(_createdTypeSpecs.Values); 742properties: properties?.Values.ToImmutableEquatableArray(),
RuntimeSource\Configuration.Binder\Specs\InterceptorInfo.cs (1)
147_invocationInfoBuilderCache.Values
CSharpSyntaxGenerator (1)
Grammar\GrammarGenerator.cs (1)
75var lexicalRules = rules.Values.SelectMany(ps => ps).SelectMany(p => p.ReferencedRules)
dotnet-svcutil-lib (23)
CodeDomFixup\CodeDomVisitors\SpecialIXmlSerializableRemapper.cs (1)
113foreach (CodeTypeDeclaration typeDecl in _specialIXmlSerializableTypes.Values)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (2)
1842foreach (NamespaceDecl nsdecl in _namespaces.Values) 3214foreach (NamespaceDecl decl in _namespaces.Values)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (3)
631foreach (SchemaNotation scNot in schInfo.Notations.Values) 640foreach (SchemaEntity scEnt in schInfo.GeneralEntities.Values) 650foreach (SchemaEntity scEnt in schInfo.ParameterEntities.Values)
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (1)
428foreach (UndeclaredNotation un in _undeclaredNotations.Values)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (2)
98foreach (SchemaAttDef attDef in _attdefs.Values) 237foreach (SchemaAttDef attdef in _attdefs.Values)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaInfo.cs (4)
373foreach (SchemaAttDef attdef in sinfo.AttributeDecls.Values) 380foreach (SchemaNotation notation in sinfo.Notations.Values) 394foreach (SchemaElementDecl e in elements.Values) 441foreach (SchemaElementDecl elemDecl in _elementDecls.Values)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (2)
1021foreach (SchemaAttDef attDef in elementDecl.AttDefs.Values) 2132foreach (SchemaAttDef attdef in attributeDefs.Values)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (2)
913ICollection<DataContract> knownTypeContracts = knownTypeDictionary.Values; 999ICollection<DataContract> knownTypeContracts = knownContractDictionary.Values;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (1)
212foreach (DataContract knownDataContract in knownDataContracts.Values)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReaderSession.cs (1)
96foreach (XmlDictionaryString s in _stringDict.Values)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ConnectionPool.cs (2)
88foreach (EndpointConnectionPool pool in _endpointPools.Values) 172foreach (EndpointConnectionPool pool in _endpointPools.Values)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransactionFlowBindingElement.cs (1)
109foreach (TransactionFlowOption option in dictionary.Values)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (1)
668extension.BeforeImport(_wsdlDocuments, _xmlSchemas, _policyDocuments.Values);
GenerateDocumentationAndConfigFiles (9)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Identity.DefaultUI.WebSite (1)
src\Identity\test\InMemory.Test\InMemoryUserStore.cs (1)
30get { return _users.Values.AsQueryable(); }
IdentitySample.PasskeyConformance (3)
InMemoryUserStore.cs (3)
17public IQueryable<TUser> Users => _users.Values.AsQueryable(); 38=> Task.FromResult(_users.Values.FirstOrDefault(u => string.Equals(u.NormalizedUserName, normalizedUserName, StringComparison.Ordinal))); 41=> Task.FromResult(_users.Values.FirstOrDefault(u => u.Passkeys.Any(p => p.CredentialId.SequenceEqual(credentialId))));
IdentitySample.PasskeyUI (3)
InMemoryUserStore.cs (3)
17public IQueryable<TUser> Users => _users.Values.AsQueryable(); 38=> Task.FromResult(_users.Values.FirstOrDefault(u => string.Equals(u.NormalizedUserName, normalizedUserName, StringComparison.Ordinal))); 41=> Task.FromResult(_users.Values.FirstOrDefault(u => u.Passkeys.Any(p => p.CredentialId.SequenceEqual(credentialId))));
illink (3)
ILLink.RoslynAnalyzer (7)
TrimAnalysis\TrimAnalysisPatternStore.cs (7)
127foreach (var assignmentPattern in AssignmentPatterns.Values) 130foreach (var fieldAccessPattern in FieldAccessPatterns.Values) 133foreach (var backingFieldAccessPattern in BackingFieldAccessPatterns.Values) 136foreach (var genericInstantiationPattern in GenericInstantiationPatterns.Values) 139foreach (var methodCallPattern in MethodCallPatterns.Values) 142foreach (var reflectionAccessPattern in ReflectionAccessPatterns.Values) 145foreach (var returnValuePattern in FeatureCheckReturnValuePatterns.Values)
KeyManagementSimulator (1)
Program.cs (1)
447foreach (var missingSince in _missingSinceMap.Values)
Metrics (9)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Metrics.Legacy (9)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Microsoft.Arcade.Test.Common (1)
FakeHttpClient.cs (1)
65foreach (var e in _responseEnumerators.Values)
Microsoft.AspNetCore.Components (3)
NavigationManagerExtensions.cs (1)
595foreach (var source in parameterSources.Values)
RenderTree\Renderer.cs (1)
1246foreach (var componentState in _componentStateById.Values)
src\Http\Routing\src\Tree\TreeRouteBuilder.cs (1)
292trees.Values.OrderBy(tree => tree.Order).ToArray(),
Microsoft.AspNetCore.Components.Endpoints (2)
Discovery\ComponentCollectionBuilder.cs (1)
49foreach (var value in _components.Values)
Discovery\PageCollectionBuilder.cs (1)
48foreach (var value in _pages.Values)
Microsoft.AspNetCore.Components.QuickGrid (1)
Infrastructure\EventCallbackSubscribable.cs (1)
21foreach (var callback in _callbacks.Values)
Microsoft.AspNetCore.Components.Web (1)
Forms\Mapping\FormMappingContext.cs (1)
62return errors.Values;
Microsoft.AspNetCore.Components.WebView.Test (1)
Infrastructure\TestDocument.cs (1)
444foreach (var root in _componentsById.Values.OfType<RootComponentNode>())
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\XmlKeyManager.cs (1)
261foreach (var key in keyIdToKeyMap.Values)
Microsoft.AspNetCore.Hosting.Tests (2)
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (2)
197Assert.All(manifest.Root.Children.Values, c => Assert.Single(c.Children)); 273Assert.All(manifest.Root.Children.Values, c => Assert.Single(c.Children));
Microsoft.AspNetCore.Http (3)
HeaderDictionary.cs (1)
186return Store.Values;
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
84return ReadDictionary.Values;
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
196return _dictionaryStorage!.Values;
Microsoft.AspNetCore.Identity.InMemory.Test (6)
InMemoryStore.cs (5)
20var roleEntity = _roles.Values.SingleOrDefault(r => r.NormalizedName == role); 31var roleObject = _roles.Values.SingleOrDefault(r => r.NormalizedName == role); 52var roleObject = _roles.Values.SingleOrDefault(r => r.NormalizedName == role); 62var role = _roles.Values.Where(x => x.NormalizedName.Equals(roleName)).SingleOrDefault(); 163get { return _roles.Values.AsQueryable(); }
InMemoryUserStore.cs (1)
30get { return _users.Values.AsQueryable(); }
Microsoft.AspNetCore.Identity.Test (2)
IdentityBuilderTest.cs (1)
246var tokenProviders = provider.GetRequiredService<IOptions<IdentityOptions>>().Value.Tokens.ProviderMap.Values;
SignInManagerTest.cs (1)
1747public Task<IEnumerable<AuthenticationScheme>> GetAllSchemesAsync() => Task.FromResult<IEnumerable<AuthenticationScheme>>(_defaultCookieSchemes.Values);
Microsoft.AspNetCore.InternalTesting (1)
xunit\AspNetTestAssemblyRunner.cs (1)
31internal IEnumerable<object> Fixtures => _assemblyFixtureMappings.Values;
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
AddResponseTypeAttributeCodeFixAction.cs (1)
198return statusCodes.Values;
Microsoft.AspNetCore.Mvc.ApiExplorer (5)
ApiResponseTypeProvider.cs (2)
126foreach (var apiResponse in responseTypes.Values) 131return responseTypes.Values;
EndpointMetadataApiDescriptionProvider.cs (3)
348var responseMetadataTypes = producesResponseMetadataTypes.Values.Concat(responseProviderMetadataTypes.Values); 377apiResponseType.Description ??= GetMatchingResponseTypeDescription(responseProviderMetadataTypes.Values, apiResponseType);
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ApplicationModelFactory.cs (1)
97var message = CreateAttributeRoutingAggregateErrorMessage(attributeRoutingConfigurationErrors.Values);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
84return ReadDictionary.Values;
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
DictionaryModelBinderIntegrationTest.cs (1)
1189Assert.Equal(expectedDictionary.Values, model.Values);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
TempDataDictionary.cs (1)
70return _data.Values;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
CookieTempDataProviderTest.cs (1)
380return _cookies.Values.GetEnumerator();
Microsoft.AspNetCore.OpenApi (1)
Services\OpenApiDocumentService.cs (1)
164foreach (var pathItem in document.Paths.Values)
Microsoft.AspNetCore.OpenApi.Tests (96)
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.RequestBody.cs (38)
36var paths = Assert.Single(document.Paths.Values); 74var paths = Assert.Single(document.Paths.Values); 113var paths = Assert.Single(document.Paths.Values); 152var paths = Assert.Single(document.Paths.Values); 182var paths = Assert.Single(document.Paths.Values); 222var paths = Assert.Single(document.Paths.Values); 249var paths = Assert.Single(document.Paths.Values); 276var paths = Assert.Single(document.Paths.Values); 308var paths = Assert.Single(document.Paths.Values); 329var paths = Assert.Single(document.Paths.Values); 351var paths = Assert.Single(document.Paths.Values); 372var paths = Assert.Single(document.Paths.Values); 393var paths = Assert.Single(document.Paths.Values); 412var paths = Assert.Single(document.Paths.Values); 469var paths = Assert.Single(document.Paths.Values); 516var paths = Assert.Single(document.Paths.Values); 571var paths = Assert.Single(document.Paths.Values); 637var paths = Assert.Single(document.Paths.Values); 705var paths = Assert.Single(document.Paths.Values); 745var paths = Assert.Single(document.Paths.Values); 787var paths = Assert.Single(document.Paths.Values); 829var paths = Assert.Single(document.Paths.Values); 870var paths = Assert.Single(document.Paths.Values); 929var paths = Assert.Single(document.Paths.Values); 960var paths = Assert.Single(document.Paths.Values); 1024var paths = Assert.Single(document.Paths.Values); 1149var paths = Assert.Single(document.Paths.Values); 1183var paths = Assert.Single(document.Paths.Values); 1204var paths = Assert.Single(document.Paths.Values); 1228var paths = Assert.Single(document.Paths.Values); 1251var paths = Assert.Single(document.Paths.Values); 1274var paths = Assert.Single(document.Paths.Values); 1308var paths = Assert.Single(document.Paths.Values); 1329var paths = Assert.Single(document.Paths.Values); 1354var paths = Assert.Single(document.Paths.Values); 1377var paths = Assert.Single(document.Paths.Values); 1411var paths = Assert.Single(document.Paths.Values); 1437var paths = Assert.Single(document.Paths.Values);
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Responses.cs (14)
26var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 54var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 78var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 103var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 126var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 156var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 180var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 199var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 227var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 260var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 329var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 363var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 394var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values); 428var operation = Assert.Single(document.Paths["/api/todos"].Operations.Values);
Services\OpenApiSchemaService\OpenApiSchemaService.ParameterSchemas.cs (1)
445foreach (var path in document.Paths.Values)
Transformers\Implementations\OpenApiSchemaReferenceTransformerTests.cs (1)
293var path = Assert.Single(document.Paths.Values);
Transformers\OperationTransformerTests.cs (28)
33var operation = Assert.Single(path.Value.Operations.Values); 39var operation = Assert.Single(path.Value.Operations.Values); 59Assert.All(document.Paths.Values.SelectMany(p => p.Operations).Select(p => p.Value), o => Assert.Equal("6", o.Description)); 97var operation = Assert.Single(path.Value.Operations.Values); 103var operation = Assert.Single(path.Value.Operations.Values); 113Assert.All(document.Paths.Values.SelectMany(p => p.Operations).Select(p => p.Value), o => Assert.Equal("6", o.Description)); 149foreach (var pathItem in document.Paths.Values) 151foreach (var operation in pathItem.Operations.Values) 165var operation = Assert.Single(path.Value.Operations.Values); 171var operation = Assert.Single(path.Value.Operations.Values); 198var operation = Assert.Single(path.Value.Operations.Values); 204var operation = Assert.Single(path.Value.Operations.Values); 227var operation = Assert.Single(path.Value.Operations.Values); 233var operation = Assert.Single(path.Value.Operations.Values); 256var operation = Assert.Single(path.Value.Operations.Values); 262var operation = Assert.Single(path.Value.Operations.Values); 289var operation = Assert.Single(path.Value.Operations.Values); 296var operation = Assert.Single(path.Value.Operations.Values); 306var operation = Assert.Single(path.Value.Operations.Values); 312var operation = Assert.Single(path.Value.Operations.Values); 356var operation = Assert.Single(path.Value.Operations.Values); 362var operation = Assert.Single(path.Value.Operations.Values); 387var operation = Assert.Single(path.Value.Operations.Values); 393var operation = Assert.Single(path.Value.Operations.Values); 498var operation = Assert.Single(path.Value.Operations.Values); 529var operation = Assert.Single(path.Value.Operations.Values); 565var operation = Assert.Single(path.Value.Operations.Values); 646var operation = Assert.Single(document.Paths["/todo"].Operations.Values);
Transformers\SchemaTransformerTests.cs (14)
170var operation = Assert.Single(document.Paths.Values).Operations.Values.Single(); 197var path = Assert.Single(document.Paths.Values); 227var path = Assert.Single(document.Paths.Values); 250var path = Assert.Single(document.Paths.Values); 273var path = Assert.Single(document.Paths.Values); 300var path = Assert.Single(document.Paths.Values); 311var path = Assert.Single(document.Paths.Values); 336var path = Assert.Single(document.Paths.Values); 346var path = Assert.Single(document.Paths.Values); 373var path = Assert.Single(document.Paths.Values); 399var path = Assert.Single(document.Paths.Values); 432var path = Assert.Single(document.Paths.Values); 931var operation = Assert.Single(document.Paths["/todo"].Operations.Values);
Microsoft.AspNetCore.Razor.Runtime (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
84return ReadDictionary.Values;
Microsoft.AspNetCore.Rewrite (2)
IISUrlRewrite\IISRewriteMapCollection.cs (2)
32return _rewriteMaps.Values.GetEnumerator(); 37return _rewriteMaps.Values.GetEnumerator();
Microsoft.AspNetCore.Routing (4)
Matching\DfaMatcherBuilder.cs (3)
273nextParents.AddRange(parent.Literals.Values); 335nextParents.AddRange(parent.Literals.Values); 463foreach (var literal in parent.Literals.Values)
Tree\TreeRouteBuilder.cs (1)
283trees.Values.OrderBy(tree => tree.Order).ToArray(),
Microsoft.AspNetCore.Server.IntegrationTesting (1)
CachingApplicationPublisher.cs (1)
77foreach (var publishedApp in _publishCache.Values)
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Internal\CertificatePathWatcher.cs (2)
278foreach (var dirMetadata in _metadataForDirectory.Values) 283foreach (var fileMetadata in _metadataForFile.Values)
Internal\Http2\Http2Connection.cs (2)
455foreach (var stream in _streams.Values) 1030foreach (var stream in _streams.Values)
Internal\Http3\Http3Connection.cs (5)
264foreach (var stream in _unidentifiedStreams.Values) 282foreach (var stream in _streams.Values) 516foreach (var stream in _streams.Values) 524foreach (var stream in _unidentifiedStreams.Values) 532foreach (var session in _webtransportSessions.Values)
KestrelConfigurationLoader.cs (2)
471foreach (var sniConfig in endpointConfig.Sni.Values) 495foreach (var sniConfig in endpointConfig.Sni.Values)
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
84return ReadDictionary.Values;
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
196return _dictionaryStorage!.Values;
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
2228foreach (var outstandingCall in _pendingCalls.Values)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (2)
HubClientProxyGenerator.Parser.cs (1)
275foreach (var (providerSymbol, memberAccess) in providerSymbols.Values)
HubServerProxyGenerator.Parser.cs (1)
252foreach (var (hubSymbol, memberAccess) in hubSymbols.Values)
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubProtocolResolver.cs (1)
29_hubProtocols = _availableProtocols.Values.ToList();
Microsoft.Build.Framework (2)
BuildCheck\BuildCheckEventArgs.cs (1)
52foreach (BuildCheckRuleTelemetryData data in TracingData.TelemetryData.Values)
Telemetry\BuildCheckTelemetry.cs (1)
62foreach (BuildCheckRuleTelemetryData buildCheckRuleTelemetryData in data.TelemetryData.Values)
Microsoft.Cci.Extensions (13)
Mappings\AssemblyMapping.cs (2)
22public IEnumerable<NamespaceMapping> Namespaces { get { return _namespaces.Values; } } 49return _properties.Values;
Mappings\AssemblySetMapping.cs (2)
21public IEnumerable<AssemblyMapping> Assemblies { get { return _assemblies.Values; } } 23public IEnumerable<NamespaceMapping> Namespaces { get { return _namespaces.Values; } }
Mappings\AttributesMapping.cs (1)
36return _attributes.Values;
Mappings\NamespaceMapping.cs (1)
22public IEnumerable<TypeMapping> Types { get { return _types.Values; } }
Mappings\TypeMapping.cs (6)
40public IEnumerable<MemberMapping> Members { get { return _members.Values; } } 42public IEnumerable<MemberMapping> Fields { get { return _members.Values.Where(m => m.Representative is IFieldDefinition); } } 43public IEnumerable<MemberMapping> Properties { get { return _members.Values.Where(m => m.Representative is IPropertyDefinition); } } 44public IEnumerable<MemberMapping> Events { get { return _members.Values.Where(m => m.Representative is IEventDefinition); } } 45public IEnumerable<MemberMapping> Methods { get { return _members.Values.Where(m => m.Representative is IMethodDefinition); } } 47public IEnumerable<TypeMapping> NestedTypes { get { return _nestedTypes.Values; } }
SRMetadataPEReaderCache.cs (1)
48foreach ((FileStream stream, PEReader reader) in _cache.Values)
Microsoft.CodeAnalysis (7)
Collections\IdentifierCollection.Collection.cs (2)
45_count = this.IdentifierCollection._map.Values.Sum(o => o is string ? 1 : ((ISet<string>)o).Count); 56foreach (var obj in this.IdentifierCollection._map.Values)
DiagnosticAnalyzer\AnalysisResultBuilder.cs (1)
450foreach (var localDiagsByTree in lazyLocalDiagnostics.Values)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
162return _loadContextByDirectory.Values.OrderBy(v => v.Directory).ToArray();
DiagnosticAnalyzer\AnalyzerManager.cs (1)
496foreach (var analyzerExecutionContext in _analyzerExecutionContextMap.Values)
InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
Operations\ControlFlowGraphBuilder.cs (1)
1194foreach (BasicBlockBuilder labeled in labeledBlocks.Values)
Microsoft.CodeAnalysis.Analyzers (10)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (1)
461foreach (var (_, releaseTrackingLine) in lastEntriesByRuleMap.Values)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Microsoft.CodeAnalysis.AnalyzerUtilities (19)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertySetAnalysis.PropertySetDataFlowOperationVisitor.cs (1)
446foreach (TrackedAssignmentData trackedAssignmentData in this.TrackedFieldPropertyAssignments.Values)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertySetAnalysis.PropertySetDataFlowOperationVisitor.TrackedAssignmentData.cs (1)
40foreach (PooledHashSet<IAssignmentOperation> hashSet in this.AbstractLocationsToAssignments.Values)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntityDataFlowOperationVisitor.cs (3)
704AnalysisDataForUnhandledThrowOperations.Values.Any(HasAnyAbstractValue)) 708foreach (var dataAtException in AnalysisDataForUnhandledThrowOperations.Values) 717foreach (var dataAtException in AnalysisDataForUnhandledThrowOperations.Values)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowAnalysis.cs (2)
176catchBlockInputDataMap.Values.Dispose(); 178inputDataFromInfeasibleBranchesMap.Values.Dispose();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowAnalysisResultBuilder.cs (1)
91_info.Values.Dispose();
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (1)
1031foreach (TAnalysisData data in AnalysisDataForUnhandledThrowOperations.Values)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
65_coreAnalysisData.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Microsoft.CodeAnalysis.BannedApiAnalyzers (9)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Microsoft.CodeAnalysis.CodeStyle (11)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (1)
33return enumMembers.Values;
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (1)
77return enumMembers.Values;
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder.QueryTranslationState.cs (2)
104foreach (var b in allRangeVariables.Values) 133foreach (var b in allRangeVariables.Values) b.Free();
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (3)
343Debug.Assert(ordinals is null || ordinals.Values.Count() == ordinals.Values.Distinct().Count()); 2368var result = dictionary.Count != interfaces.Length ? dictionary.Values.ToImmutableArray() : interfaces;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
922foreach (ArrayBuilder<TMember> builder in containingTypeMapOpt.Values)
BoundTree\LengthBasedStringSwitchData.cs (2)
246var singleEntryCount = countPerChar.Values.Count(c => c == 1); 247var largestBucket = countPerChar.Values.Max();
CodeGen\Optimizer.cs (1)
82foreach (var info in locals.Values)
Declarations\MergedTypeDeclaration.cs (1)
229foreach (var typeGroup in typesGrouped.Values)
FlowAnalysis\AbstractFlowPass.PendingBranchesCollection.cs (2)
41foreach (var branches in _labeledBranches.Values) 142foreach (var branches in _labeledBranches.Values)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (1)
515foreach (var set in closuresCapturingScopeVariables.Values)
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
401foreach (var scopes in _scopesAfterLabel.Values)
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
901oldDispatches.Add(dispatchLabel, new List<StateMachineState>(from kv in _dispatches.Values from n in kv orderby n select n));
Lowering\SynthesizedSubmissionFields.cs (1)
52return _previousSubmissionFieldMap == null ? Array.Empty<FieldSymbol>() : (IEnumerable<FieldSymbol>)_previousSubmissionFieldMap.Values;
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
485foreach (var types in typesDict.Values)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
1635foreach (var typeArray in _lazyNestedTypes.Values) 1799foreach (var typeArray in _lazyNestedTypes.Values)
Symbols\ReferenceManager.cs (1)
611foreach (var missingAssembly in missingAssemblies.Values)
Symbols\Source\ConstantEvaluationHelpers.cs (2)
365Debug.Assert(graph.Values.Sum(n => n.DependedOnBy.Count) == graph.Values.Sum(n => n.Dependencies.Count));
Symbols\Source\ExtensionGroupingInfo.cs (1)
355return counts.Values.All(c => c == 0);
Symbols\Source\SourceMemberContainerSymbol.cs (5)
1735RoslynDebug.AssertOrFailFast(Volatile.Read(ref _lazyTypeMembers)?.Values.Any(types => types.Contains(t => t == (object)type)) == true); 2275foreach (var members in membersByName.Values) 2636foreach (var valuesByName in GetMembersByName().Values) 2693foreach (var valuesByName in GetMembersByName().Values) 4029foreach (var symbol in membersBySignature.Values)
Symbols\Source\SourceNamespaceSymbol.cs (1)
439foreach (var array in _nameToMembersMap.Values)
Utilities\FirstAmongEqualsSet.cs (1)
112return _dictionary.Values.GetEnumerator();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (3)
179await Task.WhenAll(expandUsingDirectiveTasks.Values).ConfigureAwait(false); 231var usingsToAdd = namespaceDeclarationMap.Values.SelectMany(result => result.usingsFromNamespace) 262var usingsFromNamespaces = namespaceDeclarationMap.Values.SelectMany(result => result.usingsFromNamespace);
Microsoft.CodeAnalysis.CSharp.Features (3)
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (3)
179await Task.WhenAll(expandUsingDirectiveTasks.Values).ConfigureAwait(false); 231var usingsToAdd = namespaceDeclarationMap.Values.SelectMany(result => result.usingsFromNamespace) 262var usingsFromNamespaces = namespaceDeclarationMap.Values.SelectMany(result => result.usingsFromNamespace);
Microsoft.CodeAnalysis.EditorFeatures (6)
CommentSelection\ToggleLineCommentCommandHandler.cs (1)
92if (linesInSelections.Values.Any(lines => SelectionHasUncommentedLines(lines, commentInfo)))
InlineRename\InlineRenameSession.cs (1)
465foreach (var openBuffer in _openTextBuffers.Values)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (4)
164=> _referenceSpanToLinkedRenameSpanMap.Values.Where(r => r.Type != RenameSpanKind.None).Concat(_conflictResolutionRenameTrackingSpans); 167=> _referenceSpanToLinkedRenameSpanMap.Values.Where(r => r.Type != RenameSpanKind.None).Select(r => r.TrackingSpan.GetSpan(snapshot)); 264_referenceSpanToLinkedRenameSpanMap.Values 284_referenceSpanToLinkedRenameSpanMap.Values.Where(r => r.Type != RenameSpanKind.None).Select(r => r.TrackingSpan));
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (1)
63foreach (var browsableStateValue in browsableState.Values)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (1)
63foreach (var browsableStateValue in browsableState.Values)
Microsoft.CodeAnalysis.Features (17)
CodeFixes\Service\CodeFixService.cs (1)
581foreach (var pooledSet in uniqueDiagosticToEquivalenceKeysMap.Values)
Completion\CompletionService_GetCompletions.cs (1)
427foreach (var value in _displayNameToItemsMap.Values)
Completion\PatternMatchHelper.cs (1)
251foreach (var matcher in _patternMatcherMap.Values)
EditAndContinue\DebuggingSession.cs (1)
962return [.. instance._initialBaselineModuleReaders.Values.SelectMany(entry => new IDisposable[] { entry.metadata, entry.pdb })];
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingAsyncDocumentWorkItemQueue.cs (2)
133foreach (var map in _documentWorkQueue.Values) 135foreach (var workItem in map.Values)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingAsyncProjectWorkItemQueue.cs (1)
87foreach (var workItem in _projectWorkQueue.Values)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingAsyncWorkItemQueue.cs (1)
172var cancellations = _cancellationMap.Values.ToList();
ExtractMethod\MethodExtractor.Analyzer.cs (1)
149var allVariableInfos = symbolMap.Values.Order().ToImmutableArray();
InlineMethod\AbstractInlineMethodRefactoringProvider.InlineContext.cs (1)
364var usedNames = renameTable.Values;
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (1)
166var containsObjectCreationReferences = methodCallSites.Values.Flatten().OfType<TObjectCreationExpressionSyntax>().Any();
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (1)
229var validParameters = _methodSymbol.Parameters.Intersect(expressionParameterMap.Values).ToImmutableArray();
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AnonymousTypes.cs (1)
22from parts in _groupMap.Values
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
402foreach (var projectId in _assemblyToProjectMap.Values)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (1)
33return enumMembers.Values;
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (1)
77return enumMembers.Values;
UnusedReferences\ProjectAssets\ProjectAssetsReader.cs (1)
48var autoReferences = projectAssets.Project?.Frameworks?.Values
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (9)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Microsoft.CodeAnalysis.PublicApiAnalyzers (9)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
Host\RemoteWorkspace.SolutionCreator.cs (3)
212newChecksumsToSync.AddRange(newProjectIdToChecksum.Values); 458newChecksumsToSync.AddRange(newDocumentIdToChecksums.Values.Select(v => v.attributeChecksum)); 464newChecksumsToSync.AddRange(newDocumentIdToChecksums.Values.Select(v => v.textChecksum));
Microsoft.CodeAnalysis.ResxSourceGenerator (9)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\MetadataShadowCopyProvider.cs (1)
175foreach (var entry in _shadowCopies.Values)
Microsoft.CodeAnalysis.VisualBasic (6)
Binding\ImplicitVariableBinder.vb (2)
140builder.AddRange(_implicitLocals.Values) 235For Each localSymbol In _implicitLocals.Values
Lowering\SynthesizedSubmissionFields.vb (1)
46DirectCast(_previousSubmissionFieldMap.Values, IEnumerable(Of FieldSymbol)))
Symbols\Metadata\PE\PENamespaceSymbol.vb (1)
211For Each typeSymbols As ImmutableArray(Of PENamedTypeSymbol) In m_lazyTypes.Values
Symbols\Source\SourceFieldSymbol.vb (2)
427Debug.Assert(graph.Values.Sum(Function(n) n.DependedOnBy.Count) = graph.Values.Sum(Function(n) n.Dependencies.Count))
Microsoft.CodeAnalysis.Workspaces (20)
Editing\SolutionEditor.cs (1)
46foreach (var docEd in _documentEditors.Values)
FindSymbols\SymbolFinder.FindReferencesServerCallback.cs (1)
55var symbolGroup = new SymbolGroup([.. map.Values]);
Shared\Utilities\ExtensionOrderer.Graph.cs (2)
28foreach (var node in this.Nodes.Values) 37foreach (var node in this.Nodes.Values)
Shared\Utilities\SemanticMap.cs (2)
35return _expressionToInfoMap.Values.Concat(_tokenToInfoMap.Values).Select(info => info.Symbol).Distinct();
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
162return _loadContextByDirectory.Values.OrderBy(v => v.Directory).ToArray();
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Workspace\Host\Metadata\MetadataReferenceCache.cs (1)
53foreach (var wr in _references.Values)
Workspace\Solution\SolutionCompilationState.cs (2)
1450var documentStatesByProjectId = documentStates.Values.ToMultiDictionary(static state => state.Id.ProjectId); 1482frozenSourceGeneratedDocumentStates: new TextDocumentStates<SourceGeneratedDocumentState>(documentStates.Values));
Workspace\Workspace_Editor.cs (1)
57docIds = [.. _projectToOpenDocumentsMap.Values.SelectMany(x => x)];
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
214processesToDispose = [.. _processes.Values];
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Workspaces\TestWorkspace`1.cs (3)
637foreach (var project in projectNameToTestHostProject.Values) 655var solution = CreateSolution([.. projectNameToTestHostProject.Values]); 693foreach (var project in projectNameToTestHostProject.Values)
Microsoft.DotNet.Build.Tasks.Packaging (16)
GeneratePackageReport.cs (1)
226var fileFrameworks = _targetPathToPackageItem.Values.Select(f => f.TargetFramework).Distinct(NuGetFramework.Comparer).Where(f => f != null);
GetSupportedPackagesFromPackageReports.cs (1)
31var supportedTargets = report.Targets.Values.Where(target => report.SupportedFrameworks.ContainsKey(target.Framework));
HarvestPackage.cs (2)
153return _packageFolders.Values.All(f => f != null); 293var liveDesktopDlls = livePackageFiles.Values.Where(pi => pi.IsDll && pi.TargetFramework?.Framework == FrameworkConstants.FrameworkIdentifiers.Net);
NuGetPack.cs (1)
282if (!pathHasMatches.Values.Any(i => i))
SplitReferences.cs (2)
83FrameworkReferences = assemblyReferences.Values.ToArray(); 93PackageReferences = packageReferences.Values.ToArray();
ValidatePackage.cs (9)
143var allRuntimeGenerations = _report.Targets.Values.SelectMany(t => t.RuntimeAssets.NullAsEmpty()) 150var allSupportedGenerations = _frameworks.Values.Where(vf => vf.SupportedVersion != null && FrameworkUtilities.IsGenerationMoniker(vf.Framework) && vf.Framework.Version != null) 159foreach (var compileAsset in _report.Targets.Values.SelectMany(t => t.CompileAssets) 174foreach (var validateFramework in _frameworks.Values) 363AllSupportedFrameworks = _frameworks.Values.Where(fx => fx.SupportedVersion != null).Select(fx => fx.ToItem()).OrderBy(i => i.ItemSpec).ToArray(); 387var allDlls = _report.Targets.Values.SelectMany(t => t.CompileAssets.NullAsEmpty().Concat(t.RuntimeAssets.NullAsEmpty())); 561IEnumerable<ValidationFramework> higherFrameworks = _frameworks.Values.Where(vf => vf.Framework.Framework == fx.Framework && vf.Framework.Version > fx.Version).OrderBy(vf => vf.Framework.Version); 566var uapFrameworks = _frameworks.Values.Where(vf => vf.Framework.Framework == FrameworkConstants.FrameworkIdentifiers.UAP).OrderBy(vf => vf.Framework.Version); 602foreach (var validationFramework in _frameworks.Values)
Microsoft.DotNet.Build.Tasks.Workloads (5)
CreateVisualStudioWorkload.wix.cs (4)
200foreach (WorkloadDefinition workload in manifest.Workloads.Values) 304foreach (var manifestMsi in manifestMsisByPlatform.Values) 335_ = Parallel.ForEach(buildData.Values, data => 382PossiblyParallelForEach(!DisableParallelPackageGroupProcessing, packGroupPackages.Values, packGroup =>
Msi\WorkloadPackGroupMsi.wix.cs (1)
188foreach (var subdir in Subdirectories.Values)
Microsoft.DotNet.NuGetRepack.Tasks (3)
src\NuGetVersionUpdater.cs (3)
87foreach (var package in packages.Values) 287foreach (var package in packages.Values) 363foreach (var package in packages.Values)
Microsoft.DotNet.PackageTesting (4)
VerifyClosure.cs (3)
56foreach(var assembly in assemblies.Values) 61foreach(var assembly in assemblies.Values) 68WriteDependencyGraph(DependencyGraphFilePath, assemblies.Values);
VerifyTypes.cs (1)
49foreach(var assembly in assemblies.Values)
Microsoft.DotNet.SharedFramework.Sdk (4)
src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (3)
56foreach(var assembly in assemblies.Values) 61foreach(var assembly in assemblies.Values) 68WriteDependencyGraph(DependencyGraphFilePath, assemblies.Values);
src\Microsoft.DotNet.PackageTesting\VerifyTypes.cs (1)
49foreach(var assembly in assemblies.Values)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
Modeler\ServiceClientModelFactory.cs (2)
133_types.Values?.Concat(_enumTypeModels.Values).OrderBy(m => m.Name),
Microsoft.Extensions.AI.Abstractions (3)
AdditionalPropertiesDictionary{TValue}.cs (2)
74public ICollection<TValue> Values => _dictionary.Values; 86IEnumerable<TValue> IReadOnlyDictionary<string, TValue>.Values => _dictionary.Values;
Functions\AIFunctionArguments.cs (1)
114public ICollection<object?> Values => _arguments.Values;
Microsoft.Extensions.AI.Evaluation.NLP (2)
Common\BLEUAlgorithm.cs (1)
107int numerator = clippedCounts.Values.Sum();
Common\MatchCounter.cs (1)
19public readonly int Sum() => _counts.Values.Sum();
Microsoft.Extensions.AI.Evaluation.Safety (1)
ContentSafetyServicePayloadUtilities.cs (1)
482foreach (var message in turn.Values)
Microsoft.Extensions.Configuration (1)
ConfigurationManager.cs (1)
285public ICollection<object> Values => _properties.Values;
Microsoft.Extensions.Diagnostics (1)
Metrics\DefaultMeterFactory.cs (1)
74foreach (List<FactoryMeter> meterList in _cachedMeters.Values)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (2)
Linux\Disk\FakeDiskStatsReader.cs (2)
16if (_index >= stats.Values.First().Count) 21DiskStats[] result = stats.Values.Select(x => x[_index]).ToArray();
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
ManifestEmbeddedFileProviderTests.cs (1)
417Assert.Equal(rootExpected, root.Values, FileInfoComparer.Instance);
Microsoft.Extensions.Options (1)
ValidateOnStart.cs (1)
24foreach (Action validator in _validatorOptions._validators.Values)
Microsoft.Extensions.Options.SourceGeneration (3)
Emitter.cs (2)
70GenStaticClassWithStaticReadonlyFields(staticValidationAttributesDict.Values, StaticFieldHolderClassesNamespace, _staticValidationAttributeHolderClassName); 71GenStaticClassWithStaticReadonlyFields(staticValidatorsDict.Values, StaticFieldHolderClassesNamespace, _staticValidatorHolderClassName);
Parser.cs (1)
148results.AddRange(_synthesizedValidators.Values);
Microsoft.Gen.ComplianceReports (1)
Parser.cs (1)
81Members = classifiedMembers?.Values.ToList(),
Microsoft.Gen.MetadataExtractor (1)
src\Generators\Microsoft.Gen.ComplianceReports\Parser.cs (1)
81Members = classifiedMembers?.Values.ToList(),
Microsoft.Maui (1)
Layouts\GridLayoutManager.cs (1)
521 foreach (var span in _spans.Values)
Microsoft.Maui.Controls (9)
BindableObject.cs (2)
422 foreach (var context in _properties.Values) 682 var prop = _properties.Values.ToArray();
DragAndDrop\DataPackagePropertySet.cs (1)
31 public IEnumerable<object> Values => _propertyBag.Values;
ListProxy.cs (1)
81 return _items.Values.Contains(item);
OrderedDictionary.cs (1)
432 return _odict._dict.Values.IndexOf(item);
ResourceDictionary.cs (2)
266 return _innerDictionary.Values; 269 return new ReadOnlyCollection<object>(_innerDictionary.Values.Concat(_mergedInstance.Values).ToList());
Shell\ShellNavigationQueryParameters.cs (1)
53 public ICollection<object> Values => _internal.Values;
Visuals\VisualTypeConverter.cs (1)
188 return _visualTypeMappings.Keys.Skip(_visualTypeMappings.Values.IndexOf(visual)).First();
Microsoft.Maui.Controls.Build.Tasks (5)
CreateObjectVisitor.cs (2)
57 var children = node.Properties.Values.ToList(); 63 foreach (var n in en.Properties.Values.ToList())
SetPropertiesVisitor.cs (3)
883 foreach (var loc in locs.Values) 973 foreach (var loc in locs.Values) 1098 foreach (var loc in locs.Values)
Microsoft.Maui.Controls.SourceGen (2)
src\Controls\src\Xaml\XamlNode.cs (2)
182 foreach (var node in Properties.Values.ToArray()) 239 foreach (var node in Properties.Values.ToList())
Microsoft.Maui.Controls.Xaml (3)
CreateValuesVisitor.cs (1)
132 foreach (var cnode in node.Properties.Values.ToList())
XamlNode.cs (2)
182 foreach (var node in Properties.Values.ToArray()) 239 foreach (var node in Properties.Values.ToList())
Microsoft.Maui.Resizetizer (1)
ResizetizeImages.cs (1)
161 return imagesPairs.Values;
Microsoft.ML.AutoML (2)
Sweepers\ISweeper.cs (2)
108return _parameterValues.Values.GetEnumerator(); 137return other._parameterValues.Values.All(pv => ContainsParamValue(pv));
Microsoft.ML.Core (2)
Utilities\Tree.cs (2)
74public ICollection<Tree<TKey, TValue>> Values { get { return _children.Values; } } 198foreach (var child in _children.Values)
Microsoft.ML.Data (15)
EntryPoints\EntryPointNode.cs (1)
343return _vars.Values.Where(x => x.HasInputs && !x.HasOutputs && !x.IsValueSet)
Prediction\CalibratorCatalog.cs (1)
130return new SchemaShape(outColumns.Values);
Training\TrainerEstimatorBase.cs (1)
89return new SchemaShape(outColumns.Values);
Transforms\ColumnConcatenatingEstimator.cs (1)
150return new SchemaShape(result.Values);
Transforms\ColumnCopying.cs (1)
84return new SchemaShape(resultDic.Values);
Transforms\FeatureContributionCalculationTransformer.cs (1)
358return new SchemaShape(result.Values);
Transforms\Hashing.cs (1)
1971return new SchemaShape(result.Values);
Transforms\KeyToValue.cs (1)
655return new SchemaShape(result.Values);
Transforms\KeyToVector.cs (1)
843return new SchemaShape(result.Values);
Transforms\Normalizer.cs (1)
368return new SchemaShape(result.Values);
Transforms\TypeConverting.cs (1)
648return new SchemaShape(result.Values);
Transforms\ValueMapping.cs (3)
131return new SchemaShape(resultDic.Values); 949_mapping.Values, 975return _mapping.Values.Cast<T>().ToArray();
Transforms\ValueToKeyMappingEstimator.cs (1)
207return new SchemaShape(result.Values);
Microsoft.ML.FastTree (2)
FastTree.cs (1)
3246double max = gainMap.Values.Max();
TreeEnsembleFeaturizationEstimator.cs (1)
148return new SchemaShape(result.Values);
Microsoft.ML.ImageAnalytics (5)
ImageGrayscale.cs (1)
260return new SchemaShape(result.Values);
ImageLoader.cs (1)
454return new SchemaShape(result.Values);
ImagePixelExtractor.cs (1)
824return new SchemaShape(result.Values);
ImageResizer.cs (1)
523return new SchemaShape(result.Values);
VectorToImageTransform.cs (1)
758return new SchemaShape(result.Values);
Microsoft.ML.IntegrationTests (1)
Common.cs (1)
55foreach (var value in counts.Values)
Microsoft.ML.Mkl.Components (1)
VectorWhitening.cs (1)
903return new SchemaShape(result.Values);
Microsoft.ML.OnnxTransformer (1)
OnnxTransform.cs (1)
1090return new SchemaShape(resultDic.Values);
Microsoft.ML.PCA (1)
PcaTransformer.cs (1)
831return new SchemaShape(result.Values);
Microsoft.ML.Recommender (1)
MatrixFactorizationTrainer.cs (1)
585return new SchemaShape(outColumns.Values);
Microsoft.ML.SearchSpace (2)
Option\NestOption.cs (1)
24public override int FeatureSpaceDim => _options.Values.Select(x => x.FeatureSpaceDim).Sum();
SearchSpace.cs (1)
78return _options.Values.Select(x => x.FeatureSpaceDim).Sum();
Microsoft.ML.StandardTrainers (3)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
651return new SchemaShape(outColumns.Values);
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (1)
158return new SchemaShape(outColumns.Values);
Standard\Simple\SimpleTrainers.cs (1)
325return new SchemaShape(outColumns.Values);
Microsoft.ML.Sweeper (2)
ISweeper.cs (2)
137return _parameterValues.Values.GetEnumerator(); 166return other._parameterValues.Values.All(pv => ContainsParamValue(pv));
Microsoft.ML.TensorFlow (2)
TensorflowTransform.cs (2)
692foreach (var tensor in Outputs.Values) 1050return new SchemaShape(resultDic.Values);
Microsoft.ML.Tests (3)
TextLoaderTests.cs (3)
741var irisFirstRowValues = irisFirstRow.Values.GetEnumerator(); 779irisFirstRowValues = irisFirstRow.Values.GetEnumerator(); 801irisFirstRowValues = irisFirstRow.Values.GetEnumerator();
Microsoft.ML.TimeSeries (7)
IidChangePointDetector.cs (1)
278return new SchemaShape(resultDic.Values);
IidSpikeDetector.cs (1)
253return new SchemaShape(resultDic.Values);
RootCauseAnalyzer.cs (1)
699foreach (int num in distribution.Values)
SRCNNAnomalyDetector.cs (1)
285return new SchemaShape(resultDic.Values);
SsaChangePointDetector.cs (1)
313return new SchemaShape(resultDic.Values);
SSaForecasting.cs (1)
354return new SchemaShape(resultDic.Values);
SsaSpikeDetector.cs (1)
292return new SchemaShape(resultDic.Values);
Microsoft.ML.TorchSharp (8)
AutoFormerV2\ObjectDetectionMetrics.cs (1)
241foreach (var detectionList in iouDic.Values)
AutoFormerV2\ObjectDetectionTrainer.cs (2)
474return new SchemaShape(outColumns.Values); 571return new SchemaShape(outColumns.Values);
NasBert\NasBertTrainer.cs (2)
359return new SchemaShape(outColumns.Values); 452return new SchemaShape(outColumns.Values);
Roberta\QATrainer.cs (2)
525return new SchemaShape(outColumns.Values); 612return new SchemaShape(outColumns.Values);
Utils\DefaultDictionary.cs (1)
106public ICollection<TValue> Values => _dictionary.Values;
Microsoft.ML.Transforms (22)
CountFeatureSelection.cs (1)
185return new SchemaShape(result.Values);
CustomMappingTransformer.cs (1)
279return new SchemaShape(result.Values);
Dracula\CountTableTransformer.cs (1)
348return new SchemaShape(result.Values);
ExpressionTransformer.cs (1)
208return new SchemaShape(columnDictionary.Values);
GcnTransform.cs (1)
926return new SchemaShape(result.Values);
KeyToVectorMapping.cs (1)
489return new SchemaShape(result.Values);
MissingValueDroppingTransformer.cs (1)
54return new SchemaShape(resultDic.Values);
MissingValueIndicatorTransformer.cs (1)
551return new SchemaShape(result.Values);
MissingValueReplacing.cs (1)
1055return new SchemaShape(result.Values);
MutualInformationFeatureSelection.cs (1)
252return new SchemaShape(result.Values);
RandomFourierFeaturizing.cs (1)
736return new SchemaShape(result.Values);
StatefulCustomMappingTransformer.cs (1)
412return new SchemaShape(result.Values);
Text\LdaTransform.cs (1)
1334return new SchemaShape(result.Values);
Text\NgramHashingTransformer.cs (1)
1231return new SchemaShape(result.Values);
Text\NgramTransform.cs (1)
1092return new SchemaShape(result.Values);
Text\StopWordsRemovingTransformer.cs (2)
681return new SchemaShape(result.Values); 1249return new SchemaShape(result.Values);
Text\TextFeaturizingEstimator.cs (1)
665return new SchemaShape(result.Values);
Text\TextNormalizing.cs (1)
590return new SchemaShape(result.Values);
Text\TokenizingByCharacters.cs (1)
699return new SchemaShape(result.Values);
Text\WordEmbeddingsExtractor.cs (1)
944return new SchemaShape(result.Values);
Text\WordTokenizing.cs (1)
543return new SchemaShape(result.Values);
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
1274return new SchemaShape(resultDic.Values);
Microsoft.VisualStudio.LanguageServices (3)
ExternalAccess\UnitTesting\SolutionEventMonitor.cs (1)
47foreach (var globalOperation in _operations.Values)
ProjectSystem\MiscellaneousFilesWorkspace.cs (1)
327foreach (var (projectId, textContainer) in _monikersToProjectIdAndContainer.Values)
ProjectSystem\RuleSets\RuleSetEventHandler.cs (1)
99foreach (var path in ruleSetRenames.Values)
Microsoft.VisualStudio.LanguageServices.Implementation (2)
CodeModel\CodeModelProjectCache.cs (1)
161foreach (var cacheEntry in _cache.Values)
SolutionExplorer\SourceGeneratedFileItems\SourceGeneratedFileItemSource.cs (1)
111foreach (var document in sourceGeneratedDocumentsForGeneratorById.Values)
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\XamlProjectService.cs (1)
207var project = _xamlProjects.Values.SingleOrDefault(p => p.Id == document.Project.Id);
PrepareTests (1)
MinimizeUtil.cs (1)
166var noDuplicatesGrouping = idToFilePathMap.Values
PresentationCore (12)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
676return CMap.Values;
MS\Internal\Ink\Renderer.cs (2)
234foreach (StrokeVisual visual in _visuals.Values) 513foreach ( StrokeVisual strokeVisual in _visuals.Values )
System\Windows\Ink\StrokeCollection2.cs (1)
377foreach (List<Stroke> strokes in highLighters.Values)
System\Windows\Input\ManipulationLogic.cs (1)
676get { return (_currentManipulators.Count > 0) ? _currentManipulators.Values : null; }
System\Windows\Input\Stylus\Pointer\PointerTabletDeviceCollection.cs (2)
56foreach (var tablet in _tabletDeviceMap.Values) 138foreach (var oldTablet in oldTablets.Values)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (5)
3115foreach (PenContexts contexts in __penContextsMap.Values) 3348foreach (PenContexts contexts in __penContextsMap.Values) 3444foreach (PenContexts contexts in __penContextsMap.Values) 3469foreach (PenContexts contexts in __penContextsMap.Values) 3476foreach (PenContexts contexts in __penContextsMap.Values)
PresentationFramework (9)
MS\Internal\Annotations\ObservableDictionary.cs (1)
293return _nameValues.Values;
MS\Internal\Annotations\Storage\StoreAnnotationsMap.cs (1)
113Dictionary<Guid, CachedAnnotation>.ValueCollection.Enumerator annotationsEnumerator = _currentAnnotations.Values.GetEnumerator();
MS\Internal\Data\LiveShapingList.cs (2)
401foreach (DependencyProperty dp in ObservedProperties.Values) 714ICollection<DependencyProperty> usedDPs = this.Values;
System\Windows\Annotations\Storage\XmlStreamStore.cs (1)
648List<Annotation> annotations = new List<Annotation>((IEnumerable<Annotation>)mapAnnotations.Values);
System\Windows\Documents\WinRTSpellerInterop.cs (1)
680foreach (Tuple<WordsSegmenter, SpellChecker> item in _spellCheckers.Values)
System\Windows\ResourceDictionary.cs (2)
1844foreach (var weakDeferredResourceReferences in _weakDeferredResourceReferencesMap.Values) 2553foreach (var weakDeferredResourceReferences in _weakDeferredResourceReferencesMap.Values)
System\Windows\SystemResources.cs (1)
1190foreach (ResourceDictionaries dictionaries in _dictionaries.Values)
ReachFramework (5)
Packaging\XpsFixedPageReaderWriter.cs (5)
637return _fontCache.Values; 650return _colorContextCache.Values; 664return _resourceDictionaryCache.Values; 678return _imageCache.Values; 1386foreach (XpsResourceDictionary resourceDictionary in _resourceDictionaryCache.Values)
Roslyn.Diagnostics.Analyzers (9)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Roslyn.Test.PdbUtilities (2)
Reader\Token2SourceLineExporter.cs (2)
1146List<PdbTokenLine> list = [.. LoadTokenToSourceMapping(read).Values]; 1358foreach (var tokenLine in tokenToSourceMapping.Values)
RunTests (1)
TestHistoryManager.cs (1)
123var totalTestRuntime = TimeSpan.FromMilliseconds(testInfos.Values.Sum(t => t.TotalMilliseconds));
System.Collections.Immutable (4)
System\Collections\Frozen\FrozenDictionary.cs (1)
211TValue[] values = source.Values.ToArray();
System\Collections\Frozen\SmallFrozenDictionary.cs (1)
29_values = source.Values.ToArray();
System\Collections\Frozen\SmallValueTypeComparableFrozenDictionary.cs (1)
34_values = source.Values.ToArray();
System\Collections\Frozen\SmallValueTypeDefaultComparerFrozenDictionary.cs (1)
27_values = source.Values.ToArray();
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\Hosting\DirectoryCatalog.DirectoryCatalogDebuggerProxy.cs (1)
30return _catalog._assemblyCatalogs.Values.Select(catalog => catalog.Assembly)
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (1)
183IEnumerable<IDisposable> dependencies = _importedDisposableExports.Values
System.ComponentModel.TypeConverter (5)
src\libraries\Common\src\System\Drawing\ColorConverterCommon.cs (1)
79foreach (Color c in ColorTable.Colors.Values)
System\ComponentModel\Design\ServiceContainer.cs (1)
154foreach (object? o in serviceCollection.Values)
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (2)
460eventList.Values.CopyTo(eventArray, 0); 495propertyList.Values.CopyTo(propertyArray, 0);
System\Drawing\ColorConverter.cs (1)
20var set = new HashSet<Color>(ColorTable.Colors.Values);
System.Diagnostics.Process (2)
System\Collections\Specialized\DictionaryWrapper.cs (2)
30public ICollection<string?> Values => _contents.Values; 33ICollection IDictionary.Values => _contents.Values;
System.Drawing.Primitives (1)
src\libraries\Common\src\System\Drawing\ColorConverterCommon.cs (1)
79foreach (Color c in ColorTable.Colors.Values)
System.Formats.Nrbf (1)
System\Formats\Nrbf\RecordMap.cs (1)
18public IEnumerable<SerializationRecord> Values => _map.Values;
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\CompilerScope.cs (1)
152foreach (Storage storage in _locals.Values)
System\Linq\Expressions\Compiler\LambdaCompiler.Lambda.cs (1)
247foreach (LabelInfo label in _labelInfo.Values)
System.Linq.Parallel (1)
System\Linq\Parallel\Utils\Lookup.cs (1)
132foreach (IGrouping<TKey, TElement> grouping in _dict.Values)
System.Net.Http (2)
System\Net\Http\HttpRequestOptions.cs (2)
21IEnumerable<object?> IReadOnlyDictionary<string, object?>.Values => Options.Values; 34ICollection<object?> IDictionary<string, object?>.Values => Options.Values;
System.Net.Primitives (2)
System\Net\CredentialCache.cs (2)
255_enumerator = table.Values.GetEnumerator(); 280_enumerator = cache._cacheForHosts.Values.GetEnumerator();
System.Net.Security (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.SslCtx.cs (1)
140foreach (IntPtr session in _sslSessions.Values)
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
224ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 226IEnumerable<TValue> IReadOnlyDictionary<TKey, TValue>.Values => Values; 1642ICollection IDictionary.Values => Values;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventDispatcher.cs (1)
83foreach (EventListenerSubscription subscription in m_subscriptions.Values)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (3)
2865foreach (EventMetadata eventMeta in m_eventData.Values) 4422foreach (bool value in eventDispatcher.m_EventEnabled.Values) 5711foreach (Type enumType in mapsTab.Values)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (1)
911cachedData._systemTimeZones.Values.CopyTo(array, 0);
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (1)
522foreach (Type builder in _typeBuilderDict.Values)
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\ClassDataContract.cs (1)
1448if (!IsEveryDataMemberOptional(membersDictionary.Values))
System\Runtime\Serialization\DataContractSet.cs (1)
206foreach (DataContract knownDataContract in knownDataContracts.Values)
System\Xml\XmlBinaryReaderSession.cs (1)
91foreach (XmlDictionaryString s in _stringDict.Values)
System.Private.Xml (21)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
1831foreach (NamespaceDecl nsdecl in _namespaces.Values) 3191foreach (NamespaceDecl decl in _namespaces.Values)
System\Xml\Dom\XmlLoader.cs (3)
629foreach (SchemaNotation scNot in schInfo.Notations.Values) 638foreach (SchemaEntity scEnt in schInfo.GeneralEntities.Values) 648foreach (SchemaEntity scEnt in schInfo.ParameterEntities.Values)
System\Xml\Schema\DtdParser.cs (1)
416foreach (UndeclaredNotation un in _undeclaredNotations.Values)
System\Xml\Schema\DtdParserAsync.cs (1)
58foreach (UndeclaredNotation un in _undeclaredNotations.Values)
System\Xml\Schema\SchemaElementDecl.cs (2)
97foreach (SchemaAttDef attDef in _attdefs.Values) 234foreach (SchemaAttDef attdef in _attdefs.Values)
System\Xml\Schema\SchemaInfo.cs (4)
319foreach (SchemaAttDef attdef in sinfo.AttributeDecls.Values) 323foreach (SchemaNotation notation in sinfo.Notations.Values) 334foreach (SchemaElementDecl e in elements.Values) 381foreach (SchemaElementDecl elemDecl in _elementDecls.Values)
System\Xml\Schema\XmlSchemaValidator.cs (2)
982foreach (SchemaAttDef attDef in elementDecl.AttDefs.Values) 2100foreach (SchemaAttDef attdef in attributeDefs.Values)
System\Xml\Serialization\NameTable.cs (2)
94get { return _table.Values; } 101((ICollection)_table.Values).CopyTo(a, 0);
System\Xml\Serialization\XmlSerializerNamespaces.cs (3)
89_namespaces.Values.CopyTo(array, 0); 101internal Dictionary<string, XmlQualifiedName>.ValueCollection Namespaces => NamespacesInternal.Values; 112return new ArrayList(_namespaces.Values);
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
105foreach (AttributeSet attSet in compiler.AttributeSets.Values)
System.Reflection.Emit (1)
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
216foreach (List<(MethodInfo ifaceMethod, MethodInfo targetMethod)> mapList in typeBuilder._methodOverrides.Values)
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\CodeExporter.cs (2)
902DataContractDictionary.ValueCollection? knownTypeContracts = knownTypeDictionary.Values; 991ICollection<DataContract> knownTypeContracts = knownContractDictionary.Values;
System.Security.Cryptography.Cose (2)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (2)
49public ICollection<CoseHeaderValue> Values => _headerParameters.Values; 61IEnumerable<CoseHeaderValue> IReadOnlyDictionary<CoseHeaderLabel, CoseHeaderValue>.Values => _headerParameters.Values;
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\ConnectionPool.cs (2)
85foreach (EndpointConnectionPool pool in _endpointPools.Values) 173foreach (EndpointConnectionPool pool in _endpointPools.Values)
System.ServiceModel.Primitives (2)
Internals\System\Runtime\MruCache.cs (1)
133foreach (CacheEntry cacheEntry in _items.Values)
Internals\System\Xml\XmlMtomReader.cs (1)
2323foreach (MimeHeader header in headers.Values)
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
96foreach (DerivedJsonTypeInfo derivedTypeInfo in _discriminatorIdtoType.Values)
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Parser.cs (1)
156GeneratedTypes = _generatedTypes.Values.OrderBy(t => t.TypeRef.FullyQualifiedName).ToImmutableEquatableArray(),
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Dgml.cs (3)
31foreach (MatchingState<TSet> state in _stateCache.Values) 76foreach (MatchingState<TSet> state in _stateCache.Values) 147foreach (MatchingState<TSet> source in matcher._stateCache.Values)
System.Windows.Forms (27)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (1)
739foreach (var extender in cache.Values)
System\Windows\Forms\Application.ComponentManager.cs (4)
164foreach (ComponentHashtableEntry entry in OleComponents.Values) 184foreach (ComponentHashtableEntry entry in OleComponents.Values) 276foreach (ComponentHashtableEntry idleEntry in OleComponents.Values) 378foreach (ComponentHashtableEntry entry in OleComponents.Values)
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
442foreach (PropertyInfo info in propertyInfo.Values)
System\Windows\Forms\Control.cs (1)
1987foreach (Font font in _dpiFonts.Values)
System\Windows\Forms\Controls\ComboBox\ComboBox.ACNativeWindow.cs (1)
47foreach (ACNativeWindow? window in s_acWindows.Values)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (1)
157foreach (ComboBoxItemAccessibleObject itemAccessibleObject in ItemAccessibleObjects.Values)
System\Windows\Forms\Controls\ListBoxes\ListBox.AccessibleObject.cs (1)
132foreach (ListBoxItemAccessibleObject itemAccessibleObject in _itemAccessibleObjects.Values)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemDetailsAccessibleObject.cs (1)
189foreach (AccessibleObject accessibleObject in _listViewSubItemAccessibleObjects.Values)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
1860foreach (GridEntry gridEntry in _viewTabProperties.Values)
System\Windows\Forms\Controls\WebBrowser\HtmlShimManager.cs (5)
174_htmlDocumentShims.Values.CopyTo(shims, 0); 192_htmlElementShims.Values.CopyTo(shims, 0); 226foreach (HtmlElement.HtmlElementShim shim in _htmlElementShims.Values) 234foreach (HtmlDocument.HtmlDocumentShim shim in _htmlDocumentShims.Values) 242foreach (HtmlWindow.HtmlWindowShim shim in _htmlWindowShims.Values)
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogPage.cs (1)
879foreach (TaskDialogButton standardButton in _boundStandardButtonsByID.Values)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (7)
137foreach (ErrorWindow w in _windows.Values) 146foreach (ErrorWindow w in _windows.Values) 467foreach (ControlItem ctl in _items.Values) 574ErrorWindow[] array = [.. _windows.Values]; 662ErrorWindow[] w = [.. _windows.Values]; 669foreach (ControlItem item in _items.Values) 773foreach (ErrorWindow w in _windows.Values)
System\Windows\Forms\Input\KeysConverter.cs (1)
362var keys = CultureToKeyName[CultureInfo.InvariantCulture]!.Values.ToList();
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1783Control[] controls = [.. _owners.Values];
System.Windows.Forms.Design (19)
System\ComponentModel\Design\DesignerActionPanel.cs (2)
827foreach (Dictionary<DesignerActionList, List<LineInfo>> category in categories.Values) 830foreach (List<LineInfo> categoryList in category.Values)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
503foreach (ObjectData data in objectData.Values)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (2)
149foreach (ObjectData data in _objects.Values) 184assemblies.Values.CopyTo(AssemblyNames, 0);
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (2)
177_statementTable.Values.CopyTo(statementArray, 0); 535foreach (CodeMethodMap map in methodMap.Values)
System\Drawing\Design\ToolboxItem.cs (1)
574parents.Values.CopyTo(parentAssemblies, 0);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1290hash.Values.CopyTo(propArray, 0);
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1970foreach (var imageList in _imageListCacheByDPI.Values)
System\Windows\Forms\Design\SelectionUIService.cs (9)
163foreach (SelectionUIItem s in _selectionItems.Values) 209foreach (SelectionUIItem item in _selectionItems.Values) 767foreach (SelectionUIItem item in _selectionItems.Values) 777foreach (SelectionUIItem item in _selectionItems.Values) 793foreach (SelectionUIItem item in _selectionItems.Values) 808foreach (SelectionUIItem item in _selectionItems.Values) 831foreach (SelectionUIItem item in _selectionItems.Values) 1328foreach (SelectionUIItem item in _selectionItems.Values) 1358foreach (SelectionUIItem item in _selectionItems.Values)
System.Windows.Forms.Tests (2)
System\Windows\Forms\ApplicationTests.cs (2)
419Assert.Equal(mainMDIFormCount + mainMDIFormCount * childFormCount, formClosingProcessed.Values.Sum()); 420Assert.Equal(mainMDIFormCount + mainMDIFormCount * childFormCount, formClosedProcessed.Values.Sum());
System.Xaml (7)
System\Xaml\Context\NameFixupGraph.cs (2)
351foreach (NameFixupToken curToken in _dependenciesByChildObject.Values) 397foreach (FrugalObjectList<NameFixupToken> list in _dependenciesByParentObject.Values)
System\Xaml\MS\Impl\XmlNsInfo.cs (1)
463foreach (string newNs in nsInfo.OldToNewNs.Values)
System\Xaml\Schema\TypeReflector.cs (2)
537foreach (PropertyInfo property in result.Values) 591foreach (EventInfo evt in result.Values)
System\Xaml\XamlType.cs (2)
379return _reflector.Members.Values; 428return _reflector.AttachableMembers.Values;
Test.Utilities (9)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
Text.Analyzers (9)
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
216public Dictionary<K, ValueSet>.ValueCollection Values => _dictionary.Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
469nodes: nodesToReplace.Values, 482tokens: tokensToReplace.Values, 495trivia: triviaToReplace.Values,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
43foreach (var value in _reachingWrites.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (3)
629foreach (var creations in _reachingDelegateCreationTargets.Values) 650foreach (var captures in _lValueFlowCapturesMap.Values) 657foreach (var operations in _symbolWritesInsideBlockRangeMap.Values)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
80foreach (var pendingWrites in _pendingWritesMap.Values)
WindowsFormsIntegration (1)
System\Windows\Integration\PropertyMap.cs (1)
114return _wrappedDictionary.Values;
xunit.console (1)
Utility\TransformFactory.cs (1)
57=> instance.availableTransforms.Values.ToList();
Xunit.NetCore.Extensions (3)
AssemblyFixtureSupport\XunitTestAssemblyRunnerWithAssemblyFixture.cs (1)
55foreach (var disposable in assemblyFixtureMappings.Values.OfType<IDisposable>())
AssemblyFixtureSupport\XunitTestClassRunnerWithAssemblyFixture.cs (1)
47foreach (var disposable in assemblyFixtureMappings.Values.OfType<IDisposable>())
AssemblyFixtureSupport\XunitTestMethodRunnerWithAssemblyFixture.cs (1)
52foreach (var disposable in assemblyFixtureMappings.Values.OfType<IDisposable>())