16 references to Where
Aspire.Dashboard (1)
Extensions\CollectionExtensions.cs (1)
15return !array.Where((t, i) => !Equals(t, other[i])).Any();
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubMethodDescriptor.cs (1)
61ParameterTypes = methodExecutor.MethodParameters.Where((p, index) =>
Microsoft.Build.Framework (1)
EncodingUtilities.cs (1)
163return bytesRead == preamble.Length && !buffer.Where((t, i) => preamble[i] != t).Any();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
Utilities\BloomFilterTests.cs (6)
212new HashSet<string>(GenerateStrings(1_000).Where((s, i) => i % 1 == 0), comparer), 213new HashSet<string>(GenerateStrings(1_000).Where((s, i) => i % 1 == 1), comparer), 215new HashSet<string>(GenerateStrings(10_000).Where((s, i) => i % 1 == 0), comparer), 216new HashSet<string>(GenerateStrings(10_000).Where((s, i) => i % 1 == 1), comparer), 218new HashSet<string>(GenerateStrings(100_000).Where((s, i) => i % 1 == 0), comparer), 219new HashSet<string>(GenerateStrings(100_000).Where((s, i) => i % 1 == 1), comparer),
Microsoft.ML.Data (1)
DataLoadSave\Text\TextLoader.cs (1)
852segsAll.AddRange(segsOther.Where((s, i) => i != isegOther));
Microsoft.ML.OnnxTransformer (1)
OnnxTransform.cs (1)
622var activeOutputColNames = _parent.Outputs.Where((x, i) => activeOutput(i)).ToArray();
Microsoft.ML.ResultProcessor (1)
ResultProcessor.cs (1)
908var foldLines = new List<string>(lines.Where((s, i1) => i1 >= startLineIdx && i1 < endLineIdx));
Microsoft.ML.TensorFlow (1)
TensorflowTransform.cs (1)
645var activeOutputColNames = _parent.Outputs.Where((x, i) => activeOutput(i)).ToArray();
Microsoft.ML.TorchSharp (1)
NasBert\Modules\EmbedTransfer.cs (1)
32var hiddenTransfer = SearchSpace.HiddenSizeChoices.Where((source, index) => index != SearchSpace.HiddenSizeChoices.Length - 1)
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
862var activeOutputColNames = _parent._outputs.Where((x, i) => activeOutput(i)).ToArray();
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\Unary\IndexedWhereQueryOperator.cs (1)
121return wrappedChild.Where(_predicate);