2 references to AddIfNotNull
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\LanguageServer\Handler\Definitions\GoToDefinitionHandler.cs (2)
97locations.AddIfNotNull(await GetSourceDefinitionLocationAsync(sourceDefinition, solution, cancellationToken).ConfigureAwait(false)); 169locations.AddIfNotNull(location);