51 references to Aggregate
CodeGenerator (5)
dotnet-svcutil-lib (9)
CommandProcessorOptions.cs (6)
166fileOptions.AddWarning(string.Format(SR.WrnExtraParamsOnInputFileParamIgnoredFormat, disallowedSwitchesOnParamsFilesProvided.Select(s => $"'{s.Name}'").Aggregate((msg, n) => $"{msg}, '{n}'")), 0);
306this.AddWarning(string.Format(SR.WrnUnexpectedInputsFormat, this.Inputs.Select(i => $"{i}''").Aggregate((msg, i) => $"{msg}, {i}")));
354var projectItems = projects.Aggregate((projectMsg, projectItem) => $"{projectMsg}, {projectItem}").Trim(',').Trim();
515.Select(f => $"'{f}'").Aggregate((files, f) => $"{files}, {f}");
663invalidNamespaces.Select(n => $"'{n.Key},{n.Value}'").Aggregate((msg, n) => $"{msg}, {n}")));
1046.Aggregate((num, s) => num + ", " + s).ToString();
dotnet-svcutil-lib.Tests (1)
dotnet-user-jwts (1)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
Microsoft.AspNetCore.WebSockets.Tests (2)
Microsoft.Build.Tasks.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.DotNet.Build.Tasks.Packaging (3)
Microsoft.ML.OnnxConverter (7)
OnnxContextImpl.cs (7)
347_host.Check(dims.Aggregate((x, y) => x * y) == values.Count(), "Number of elements doesn't match tensor size");
358_host.Check(dims.Aggregate((x, y) => x * y) == values.Count(), "Number of elements doesn't match tensor size");
369_host.Check(dims.Aggregate((x, y) => x * y) == values.Count(), "Number of elements doesn't match tensor size");
380_host.Check(dims.Aggregate((x, y) => x * y) == values.Count(), "Number of elements doesn't match tensor size");
391_host.Check(dims.Aggregate((x, y) => x * y) == values.Count(), "Number of elements doesn't match tensor size");
402_host.Check(dims.Aggregate((x, y) => x * y) == values.Count(), "Number of elements doesn't match tensor size");
413_host.Check(dims.Aggregate((x, y) => x * y) == values.Count(), "Number of elements doesn't match tensor size");
Microsoft.ML.OnnxTransformer (3)
Microsoft.ML.TensorFlow (2)
Microsoft.ML.Tokenizers (1)
Microsoft.ML.Vision (2)
SocialSample (1)
System.ComponentModel.Annotations (1)
System.Windows.Forms.Tests (1)