3 references to GetValueOrDefault
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
163accessor.SetOutputProvider(project => _mockCompilationOutputs.GetValueOrDefault(project.Id, null) ?? new MockCompilationOutputs(Guid.Empty));
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
293fieldOffsets[fieldPart] = fieldOffsets.GetValueOrDefault(fieldPart, []).Add(fieldSpan);
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Utilities\AbstractLanguageServerClientTests.cs (1)
100var locationsForName = locations.GetValueOrDefault(name, []);