9 references to WhereNotNull
Microsoft.CodeAnalysis.Workspaces (9)
Diagnostics\HostDiagnosticAnalyzers.cs (1)
234
builder.Add(reference.Key, analyzers.
WhereNotNull
().ToImmutableArray());
Log\AggregateLogger.cs (1)
28
foreach (var logger in loggers.
WhereNotNull
())
Rename\ConflictEngine\ConflictResolver.Session.cs (1)
543
var newLocations = (await Task.WhenAll(newLocationTasks).ConfigureAwait(false)).
WhereNotNull
().Where(loc => loc.IsInSource);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeParameterSymbolExtensions.cs (1)
13
=> typeParameter.ConstraintTypes.Select(GetNamedTypeSymbol).
WhereNotNull
().FirstOrDefault();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ITypeInferenceServiceExtensions.cs (1)
50
return delegateTypes.
WhereNotNull
().FirstOrDefault();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (2)
27
this.AfterTyped = readOnlyData.GetEnumerableMetadata<string>("After").
WhereNotNull
();
28
this.BeforeTyped = readOnlyData.GetEnumerableMetadata<string>("Before").
WhereNotNull
();
Workspace\DocumentTracking\IDocumentTrackingServiceExtensions.cs (1)
30
.
WhereNotNull
()
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (1)
202
.WithStrongNameProvider(new DesktopStrongNameProvider(_commandLineArgumentsForCommandLine.KeyFileSearchPaths.
WhereNotNull
().ToImmutableArray(), Path.GetTempPath()));