19 references to WhereNotNull
Microsoft.CodeAnalysis.CodeStyle (1)
AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
63var attributeSetForMethodsToIgnore = ImmutableHashSet.CreateRange(GetAttributesForMethodsToIgnore(context.Compilation).WhereNotNull());
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
AbstractAddObsoleteAttributeCodeFixProvider.cs (1)
83.WhereNotNull()
ITypeInferenceServiceExtensions.cs (1)
50return delegateTypes.WhereNotNull().FirstOrDefault();
OrderableMetadata.cs (2)
27this.AfterTyped = readOnlyData.GetEnumerableMetadata<string>("After").WhereNotNull(); 28this.BeforeTyped = readOnlyData.GetEnumerableMetadata<string>("Before").WhereNotNull();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (11)
AttributeGenerator.cs (2)
30.WhereNotNull().ToList(); 42.WhereNotNull().ToList();
ConvertToRecordEngine.cs (1)
207.WhereNotNull()
ConvertToRecordHelpers.cs (1)
93.SelectAsArray(UnwrapPropertyToField).WhereNotNull().AsImmutable();
CSharpRemoveUnnecessaryImportsService.Rewriter.cs (1)
123finalUsings = currentUsings.WhereNotNull().ToSyntaxList();
EventGenerator.cs (1)
147return SyntaxFactory.AccessorList(accessors.WhereNotNull().ToSyntaxList());
NamespaceGenerator.cs (1)
143.WhereNotNull()
PassInCapturedVariablesAsArgumentsCodeFixProvider.cs (1)
82.WhereNotNull()
PositionalParameterInfo.cs (2)
70}).WhereNotNull()); 84.WhereNotNull()
PropertyGenerator.cs (1)
269: SyntaxFactory.AccessorList(accessors.WhereNotNull().ToSyntaxList());
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
SyntaxNodeExtensions.vb (1)
962Return field.Declarators.Where(Function(d) d.Initializer IsNot Nothing).Select(Function(d) d.Initializer.Value).WhereNotNull()
VisualBasicRemoveUnnecessaryImportsRewriter.vb (1)
124Dim newImports = SyntaxFactory.List(oldImports.WhereNotNull())
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
1053WhereNotNull().