193 implementations of TryGetValue
dotnet-svcutil-lib (1)
GenerateDocumentationAndConfigFiles (5)
InMemory.FunctionalTests (2)
Metrics (5)
Metrics.Legacy (5)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Connections.Abstractions (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Microsoft.AspNetCore.Hosting.Tests (1)
Microsoft.AspNetCore.Http (4)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Microsoft.AspNetCore.Owin (3)
Microsoft.AspNetCore.Razor.Runtime (1)
Microsoft.AspNetCore.Server.HttpSys (2)
Microsoft.AspNetCore.Server.IIS (2)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.Shared.Tests (5)
Microsoft.Build.Framework (3)
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.Analyzers (5)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
Microsoft.CodeAnalysis.CodeStyle (5)
Microsoft.CodeAnalysis.Collections.Package (5)
Microsoft.CodeAnalysis.Extensions.Package (5)
Microsoft.CodeAnalysis.InteractiveHost (5)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
Microsoft.CodeAnalysis.Threading.Package (5)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.Abstractions (3)
Microsoft.Extensions.AI.AzureAIInference (1)
Microsoft.Extensions.AI.Ollama (1)
Microsoft.Extensions.AI.OpenAI (1)
Microsoft.Extensions.Configuration (1)
Microsoft.Extensions.Http.Diagnostics (1)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
Microsoft.Gen.Metrics.Unit.Tests (1)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.Maui.Controls (3)
Microsoft.ML.Core (1)
Microsoft.ML.SearchSpace (3)
Microsoft.ML.TorchSharp (1)
PresentationCore (4)
PresentationFramework (2)
Roslyn.Diagnostics.Analyzers (5)
Shared (1)
System.Collections (3)
System.Collections.Concurrent (1)
System.Collections.Immutable (5)
System.Composition.Hosting (1)
System.Diagnostics.DiagnosticSource (1)
System.Linq.Expressions (1)
System.Net.Http (1)
System.Private.CoreLib (3)
System.Security.Cryptography.Cose (1)
System.ServiceModel.Primitives (1)
System.Speech (1)
System.Text.Json (1)
System.Xaml (2)
System.Xaml.Tests (2)
Test.Utilities (5)
Text.Analyzers (5)
802 references to TryGetValue
AnalyzerRunner (1)
Aspire.Dashboard (3)
Aspire.Hosting (8)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Tests (2)
BasicWebSite (2)
CSharpSyntaxGenerator (3)
dotnet-openapi (1)
dotnet-svcutil-lib (7)
dotnet-user-jwts (2)
GenerateDocumentationAndConfigFiles (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
GenericHostWebSite (2)
illink (3)
InMemory.FunctionalTests (7)
InProcessWebSite (3)
Interop.FunctionalTests (1)
Kestrel.SampleApp (1)
Metrics (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
Metrics.Legacy (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
Microsoft.Analyzers.Local (2)
Microsoft.AspNetCore (5)
Microsoft.AspNetCore.Antiforgery (3)
Microsoft.AspNetCore.App.Analyzers.Test (1)
Microsoft.AspNetCore.Authentication (2)
Microsoft.AspNetCore.Authentication.Abstractions (6)
Microsoft.AspNetCore.Authentication.Core (3)
Microsoft.AspNetCore.Authentication.Google (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
Microsoft.AspNetCore.Authentication.Test (3)
Microsoft.AspNetCore.Authentication.WsFederation (2)
Microsoft.AspNetCore.BrowserTesting (3)
Microsoft.AspNetCore.Components (2)
Microsoft.AspNetCore.Components.Endpoints (3)
Microsoft.AspNetCore.Components.Server (2)
Microsoft.AspNetCore.Components.Tests (2)
Microsoft.AspNetCore.Components.WebAssembly.Server.Tests (18)
ContentEncodingNegotiatorTests.cs (18)
29Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
31Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
51Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
52Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
72Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
74Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
95Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
97Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
118Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
120Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
141Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
143Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
164Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
166Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
186Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
187Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
207Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
209Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
Microsoft.AspNetCore.Components.WebView (2)
Microsoft.AspNetCore.Components.WebView.Photino (1)
Microsoft.AspNetCore.Components.WebView.Test (1)
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (2)
Microsoft.AspNetCore.Connections.Abstractions (3)
Microsoft.AspNetCore.Cors (2)
Microsoft.AspNetCore.Diagnostics (5)
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
Microsoft.AspNetCore.Diagnostics.Middleware (3)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (2)
Microsoft.AspNetCore.Grpc.Swagger.Tests (18)
Microsoft.AspNetCore.HeaderParsing (3)
Microsoft.AspNetCore.HeaderPropagation (2)
Microsoft.AspNetCore.HostFiltering.Tests (2)
Microsoft.AspNetCore.Hosting (3)
Microsoft.AspNetCore.Hosting.Tests (2)
Microsoft.AspNetCore.Http (7)
Microsoft.AspNetCore.Http.Abstractions (4)
Microsoft.AspNetCore.Http.Extensions.Tests (3)
Microsoft.AspNetCore.HttpLogging (5)
Microsoft.AspNetCore.Identity (4)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Microsoft.AspNetCore.Identity.InMemory.Test (1)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.AspNetCore.JsonPatch (3)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (3)
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (3)
Microsoft.AspNetCore.JsonPatch.Tests (8)
Microsoft.AspNetCore.MiddlewareAnalysis (1)
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
Microsoft.AspNetCore.Mvc.Core (17)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Microsoft.AspNetCore.Mvc.Cors (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (9)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
Microsoft.AspNetCore.Mvc.Razor (2)
Microsoft.AspNetCore.Mvc.RazorPages (2)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (15)
Microsoft.AspNetCore.OpenApi (6)
Microsoft.AspNetCore.OpenApi.Tests (52)
Services\OpenApiSchemaService\OpenApiSchemaService.PolymorphicSchemas.cs (25)
24Assert.True(requestBody.TryGetValue("application/json", out var mediaType));
38Assert.True(document.Components.Schemas.TryGetValue("ShapeTriangle", out var triangleSchema));
41Assert.True(document.Components.Schemas.TryGetValue("ShapeSquare", out var squareSchema));
61Assert.True(requestBody.TryGetValue("application/json", out var mediaType));
77Assert.True(document.Components.Schemas.TryGetValue("WeatherForecastBaseWeatherForecastWithCity", out var citySchema));
81Assert.True(document.Components.Schemas.TryGetValue("WeatherForecastBaseWeatherForecastWithTimeSeries", out var timeSeriesSchema));
85Assert.True(document.Components.Schemas.TryGetValue("WeatherForecastBaseWeatherForecastWithLocalNews", out var newsSchema));
106Assert.True(requestBody.TryGetValue("application/json", out var mediaType));
120Assert.True(document.Components.Schemas.TryGetValue("PersonStudent", out var citySchema));
124Assert.True(document.Components.Schemas.TryGetValue("PersonTeacher", out var timeSeriesSchema));
145Assert.True(requestBody.TryGetValue("application/json", out var mediaType));
156Assert.True(document.Components.Schemas.TryGetValue("ColorPaintColor", out var paintSchema));
160Assert.True(document.Components.Schemas.TryGetValue("ColorFabricColor", out var fabricSchema));
164Assert.True(document.Components.Schemas.TryGetValue("ColorBase", out var colorSchema));
184Assert.True(requestBody.TryGetValue("application/json", out var mediaType));
208Assert.True(document.Components.Schemas.TryGetValue("PetDog", out var dogSchema));
212Assert.True(document.Components.Schemas.TryGetValue("PetCat", out var catSchema));
216Assert.True(document.Components.Schemas.TryGetValue("PetPet", out var petSchema));
237Assert.True(requestBody.TryGetValue("application/json", out var mediaType));
248Assert.True(document.Components.Schemas.TryGetValue("OrganismAnimal", out var animalSchema));
250Assert.True(document.Components.Schemas.TryGetValue("OrganismPlant", out var plantSchema));
252Assert.True(document.Components.Schemas.TryGetValue("OrganismBase", out var baseSchema));
272Assert.True(requestBody.TryGetValue("application/json", out var mediaType));
290Assert.True(document.Components.Schemas.TryGetValue("EmployeeManager", out var managerSchema));
292Assert.True(document.Components.Schemas.TryGetValue("EmployeeEmployee", out var employeeSchema));
Services\OpenApiSchemaService\OpenApiSchemaService.ResponseSchemas.cs (12)
48Assert.True(response.Content.TryGetValue(contentType, out var mediaType));
69Assert.True(response.Content.TryGetValue("application/json", out var mediaType));
183Assert.True(response.Content.TryGetValue("application/json", out var mediaType));
249Assert.True(response.Content.TryGetValue("application/json", out var mediaType));
303Assert.True(response.Content.TryGetValue("application/json", out var mediaType));
371Assert.True(response.Content.TryGetValue("application/json", out var mediaType));
411Assert.True(response.Content.TryGetValue("application/json", out var mediaType));
473Assert.True(response.Content.TryGetValue("application/json", out var mediaType));
522Assert.True(response.Content.TryGetValue("application/json", out var mediaType));
602Assert.True(response.Content.TryGetValue("application/problem+json", out var mediaType));
660Assert.True(response.Content.TryGetValue("application/json", out var mediaType));
690Assert.True(response.Content.TryGetValue("application/json", out var mediaType));
Microsoft.AspNetCore.Owin (22)
Microsoft.AspNetCore.Owin.Microbenchmarks (4)
Microsoft.AspNetCore.Owin.Tests (6)
Microsoft.AspNetCore.Razor.Runtime (1)
Microsoft.AspNetCore.RequestDecompression (1)
Microsoft.AspNetCore.ResponseCaching (1)
Microsoft.AspNetCore.Rewrite (5)
Microsoft.AspNetCore.Routing (8)
Microsoft.AspNetCore.Routing.Tests (2)
Microsoft.AspNetCore.Server.HttpSys (6)
Microsoft.AspNetCore.Server.IIS (5)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (45)
HttpRequestHeadersTests.cs (38)
72Assert.False(headers.TryGetValue("host", out value));
73Assert.False(headers.TryGetValue("custom", out value));
74Assert.False(headers.TryGetValue("Content-Length", out value));
77Assert.True(headers.TryGetValue("host", out value));
78Assert.False(headers.TryGetValue("custom", out value));
79Assert.False(headers.TryGetValue("Content-Length", out value));
82Assert.True(headers.TryGetValue("host", out value));
83Assert.True(headers.TryGetValue("custom", out value));
84Assert.False(headers.TryGetValue("Content-Length", out value));
87Assert.True(headers.TryGetValue("host", out value));
88Assert.True(headers.TryGetValue("custom", out value));
89Assert.True(headers.TryGetValue("Content-Length", out value));
288Assert.False(headers.TryGetValue("host", out value));
289Assert.False(headers.TryGetValue("custom", out value));
290Assert.False(headers.TryGetValue("Content-Length", out value));
295Assert.True(headers.TryGetValue("host", out value));
296Assert.True(headers.TryGetValue("custom", out value));
297Assert.True(headers.TryGetValue("Content-Length", out value));
302Assert.True(headers.TryGetValue("host", out value));
303Assert.True(headers.TryGetValue("custom", out value));
304Assert.True(headers.TryGetValue("Content-Length", out value));
317Assert.True(headers.TryGetValue("host", out value));
318Assert.True(headers.TryGetValue("custom", out value));
319Assert.True(headers.TryGetValue("Content-Length", out value));
324Assert.False(headers.TryGetValue("host", out value));
325Assert.False(headers.TryGetValue("custom", out value));
326Assert.False(headers.TryGetValue("Content-Length", out value));
339Assert.True(headers.TryGetValue("host", out value));
340Assert.True(headers.TryGetValue("custom", out value));
341Assert.True(headers.TryGetValue("Content-Length", out value));
347Assert.False(headers.TryGetValue("host", out value));
348Assert.True(headers.TryGetValue("custom", out value));
354Assert.False(headers.TryGetValue("host", out value));
355Assert.False(headers.TryGetValue("custom", out value));
356Assert.True(headers.TryGetValue("Content-Length", out value));
362Assert.False(headers.TryGetValue("host", out value));
363Assert.False(headers.TryGetValue("custom", out value));
364Assert.False(headers.TryGetValue("Content-Length", out value));
Microsoft.AspNetCore.Shared.Tests (7)
Microsoft.AspNetCore.SignalR.Core (1)
Microsoft.AspNetCore.StaticFiles (1)
Microsoft.AspNetCore.Tests (1)
Microsoft.AspNetCore.WebSockets.Tests (3)
Microsoft.Build.Framework (3)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.Analyzers (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
Microsoft.CodeAnalysis.AnalyzerUtilities (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
Microsoft.CodeAnalysis.BannedApiAnalyzers (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
Microsoft.CodeAnalysis.CodeStyle (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.Extensions.Package (1)
Microsoft.CodeAnalysis.Features (11)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (15)
Microsoft.CodeAnalysis.PublicApiAnalyzers (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
Microsoft.CodeAnalysis.ResxSourceGenerator (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.UnitTests (3)
Microsoft.CodeAnalysis.Workspaces (16)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.DotNet.ArcadeLogging (2)
Microsoft.DotNet.Build.Manifest (1)
Microsoft.DotNet.Build.Tasks.Feed (2)
Microsoft.DotNet.Build.Tasks.Packaging (3)
Microsoft.DotNet.Build.Tasks.Templating (1)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Extensions.AI.Abstractions.Tests (3)
Microsoft.Extensions.AI.AzureAIInference.Tests (1)
Microsoft.Extensions.AI.Evaluation (2)
Microsoft.Extensions.AI.Evaluation.Integration.Tests (8)
Microsoft.Extensions.AI.Evaluation.Safety (1)
Microsoft.Extensions.AI.Ollama.Tests (1)
Microsoft.Extensions.AI.OpenAI.Tests (1)
Microsoft.Extensions.AI.Tests (2)
Microsoft.Extensions.Configuration (1)
Microsoft.Extensions.Configuration.FileExtensions (2)
Microsoft.Extensions.Configuration.Xml (1)
Microsoft.Extensions.Features (1)
Microsoft.Extensions.Http.Polly (2)
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Extensions.Http.Resilience.Tests (1)
Microsoft.Extensions.Logging.Console (1)
Microsoft.Extensions.Logging.EventSource (1)
Microsoft.Maui.Controls (1)
Microsoft.Maui.Controls.SourceGen (1)
Microsoft.Maui.Essentials (1)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.AutoML (1)
Microsoft.ML.SearchSpace (2)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
PresentationCore (4)
PresentationFramework (5)
ReachFramework (9)
Roslyn.Diagnostics.Analyzers (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
Shared.Tests (1)
System.ComponentModel.Composition (7)
System.Composition.Hosting (3)
System.Composition.Runtime (2)
System.Composition.TypedParts (2)
System.Diagnostics.DiagnosticSource (8)
System.Drawing.Common (4)
System.Private.CoreLib (4)
System.Private.Windows.Core (1)
System.Resources.Extensions (1)
System.ServiceModel.NetFramingBase (1)
System.Windows.Forms (1)
System.Xaml (4)
Test.Utilities (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
Text.Analyzers (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (12)
19if (!dictionary.TryGetValue(key, out var value))
31if (!dictionary.TryGetValue(key, out var value))
43if (dictionary.TryGetValue(key, out var value))
67if (!dictionary.TryGetValue(key, out var collection))
79if (!dictionary.TryGetValue(key, out var builder))
91if (!dictionary.TryGetValue(key, out var builder))
103if (dictionary.TryGetValue(key, out var set))
123if (!dictionary.TryGetValue(key, out var existingArray))
135if (!dictionary.TryGetValue(key, out var existingArray))
147if (dictionary.TryGetValue(key, out var collection))
186if (dictionary.TryGetValue(key, out var collection))
215if (dictionary.TryGetValue(key, out var collection))
WebPubSubWeb (1)
xunit.assert (1)
xunit.console (3)