11 references to AddIfNotNull
Microsoft.CodeAnalysis.Workspaces (11)
FindSymbols\FindReferences\DependentTypeFinder_Remote.cs (1)
90builder.AddIfNotNull(namedType);
FindSymbols\FindReferences\Finders\AbstractMethodOrPropertyOrEventSymbolReferenceFinder.cs (2)
37result.AddIfNotNull(property.SetMethod); 40result.AddIfNotNull(property.GetMethod);
FindSymbols\FindReferences\Finders\ParameterSymbolReferenceFinder.cs (1)
86symbols.AddIfNotNull(parameter.GetAssociatedSynthesizedRecordProperty(cancellationToken));
FindSymbols\FindReferences\Finders\PropertySymbolReferenceFinder.cs (4)
48result.AddIfNotNull(symbol.PartialDefinitionPart); 49result.AddIfNotNull(symbol.PartialImplementationPart); 66result.AddIfNotNull(symbol.GetMethod); 67result.AddIfNotNull(symbol.SetMethod);
Recommendations\AbstractRecommendationServiceRunner.cs (1)
322builder.AddIfNotNull(specialTypeSymbol);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\InitializeParameter\AbstractInitializerParameterService.cs (2)
198accessors.AddIfNotNull(GetAccessorBody(property.GetMethod, cancellationToken)); 201accessors.AddIfNotNull(GetAccessorBody(property.SetMethod, cancellationToken));