7 references to Exists
Aspire.Hosting (1)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (1)
147if (string.IsNullOrEmpty(profile.CommandName) || Array.Exists(s_allowedCommandNames, name => string.Equals(name, profile.CommandName, StringComparison.OrdinalIgnoreCase)))
Aspire.Hosting.Azure.Functions (1)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (1)
147if (string.IsNullOrEmpty(profile.CommandName) || Array.Exists(s_allowedCommandNames, name => string.Equals(name, profile.CommandName, StringComparison.OrdinalIgnoreCase)))
AzureSearch.ApiService (1)
Hotel.cs (1)
38public bool? SmokingAllowed => (Rooms != null) ? Array.Exists(Rooms, element => element.SmokingAllowed == true) : (bool?)null;
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
1004return Array.Exists<XmlQualifiedName>(prefixDefinitions,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (1)
2163if (attributes != null && Array.Exists(attributes, PolicyHelper.IsPolicyURIs))
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
1114Debug.Assert(!Array.Exists(@params.Items, p => p is ArgumentListType)); // We should never have picked a varargs method to bind to.
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Linux\Disk\DiskStatsReader.cs (1)
43if (!Array.Exists(skipDevicePrefixes, prefix => stat.DeviceName.StartsWith(prefix, StringComparison.OrdinalIgnoreCase)))