33 references to Where
EventSourceGenerator (1)
EventSourceGenerator.cs (1)
44.Where(x => x is not null);
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
XmlCommentGenerator.cs (1)
17.Where(file => file.Path.EndsWith(".xml", StringComparison.OrdinalIgnoreCase))
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (1)
109.Where(static tuple => tuple.Item2.Length > 0)
Microsoft.CodeAnalysis.Razor.Compiler (5)
SourceGenerators\IncrementalValueProviderExtensions.cs (1)
40return source.Where((pair) => pair.Item1 != null).Select((pair, ct) => pair.Item1!);
SourceGenerators\RazorSourceGenerator.cs (4)
54.Where(static (file) => FileUtilities.IsAnyRazorFilePath(file.Path, StringComparison.OrdinalIgnoreCase)) 62var importFiles = sourceItems.Where(static file => 79var componentFiles = sourceItems.Where(static file => FileUtilities.IsRazorComponentFilePath(file.FilePath, StringComparison.OrdinalIgnoreCase)); 277.Where(static item => item.InheritsValue is not null)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
AbstractResxGenerator.cs (1)
38var resourceFiles = context.AdditionalTextsProvider.Where(static file => file.Path.EndsWith(".resx", StringComparison.OrdinalIgnoreCase));
Microsoft.Extensions.Options.SourceGeneration (1)
Generator.cs (1)
25.Where(static m => m.TypeSyntax is not null);
Microsoft.Gen.BuildMetadata (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
66.Where(t => t is not null)
Microsoft.Gen.ComplianceReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
66.Where(t => t is not null)
Microsoft.Gen.ContextualOptions (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
66.Where(t => t is not null)
Microsoft.Gen.Logging (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
66.Where(t => t is not null)
Microsoft.Gen.MetadataExtractor (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
66.Where(t => t is not null)
Microsoft.Gen.Metrics (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
66.Where(t => t is not null)
Microsoft.Gen.MetricsReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
66.Where(t => t is not null)
Microsoft.Interop.ComInterfaceGenerator (5)
ComClassGenerator.cs (1)
43.Where(static info => info is not null);
VtableIndexStubGenerator.cs (4)
34.Where( 38var methodsToGenerate = attributedMethods.Where( 50.Where(data => data.VtableIndexData.Direction is MarshalDirection.ManagedToUnmanaged or MarshalDirection.Bidirectional); 86.Where(data => data.VtableIndexData.Direction is MarshalDirection.UnmanagedToManaged or MarshalDirection.Bidirectional);
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSExportGenerator.cs (1)
44.Where(static data =>
JSImportGenerator.cs (1)
45.Where(static data =>
Microsoft.Interop.LibraryImportGenerator (1)
LibraryImportGenerator.cs (1)
50.Where(
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
83.Where(
Microsoft.Interop.SourceGeneration (1)
IncrementalGeneratorInitializationContextExtensions.cs (1)
34.Where(valid => valid)
Microsoft.Maui.Controls.BindingSourceGen (1)
BindingSourceGenerator.cs (1)
33 .Where(static binding => !binding.HasDiagnostics)
Microsoft.Maui.Controls.SourceGen (2)
CodeBehindGenerator.cs (2)
48 .Where(static p => p?.Kind == "Xaml") 53 .Where(static p => p?.Kind == "Css")
System.Private.CoreLib.Generators (2)
NativeRuntimeEventSourceGenerator.cs (2)
21IncrementalValuesProvider<AdditionalText> manifestFiles = context.AdditionalTextsProvider.Where(f => f.Path.EndsWith(".man", StringComparison.OrdinalIgnoreCase)); 22IncrementalValuesProvider<AdditionalText> inclusionFiles = context.AdditionalTextsProvider.Where(f => f.Path.EndsWith(".lst", StringComparison.OrdinalIgnoreCase));
System.Text.RegularExpressions.Generator (1)
RegexGenerator.cs (1)
71.Where(static m => m is not null)