38 references to Each
CodeGenerator (38)
src\Servers\Kestrel\shared\KnownHeaders.cs (38)
320{{{Each(values, byLength => $@" 327{{{Each(values, header => $@"{Each(header.HPackStaticTableIndexes, index => $@" 334{{{Each(values, header => $@"{Each(header.QPackStaticTableFields, fields => $@" 450return start + $@"{Each(groups, (byFirstTerm, i) => $@"{(byFirstTerm.Count() == 1 ? $@"{Each(byFirstTerm, header => $@" 844Unknown,{Each(allHeaderNames, n => @" 857{Each(loops, loop => $@" 861private static ReadOnlySpan<byte> HeaderBytes => [{Each(loop.Bytes, b => $"{b},")}];" 864{Each(loop.Headers.Where(header => header.ExistenceCheck), header => $@" 866{Each(loop.Headers.Where(header => header.FastCount), header => $@" 868{Each(loop.Headers.Where(header => Array.IndexOf(InternalHeaderAccessors, header.Name) >= 0), header => $@" 906{Each(loop.Headers.Where(header => header.Name != HeaderNames.ContentLength && !NonApiHeaders.Contains(header.Identifier)), header => $@" 937{Each(ApiHeaderNames.Where(header => header != "ContentLength" && !loop.Headers.Select(kh => kh.Identifier).Contains(header)), header => $@" 956{Each(loop.Headers.Where(header => header.EnhancedSetter), header => $@" 972{{{Each(loop.HeadersByLength, byLength => $@" 974{{{Each(byLength.OrderBy(h => !h.PrimaryHeader), header => $@" 990{Each(byLength.OrderBy(h => !h.PrimaryHeader), header => $@" 1017{{{Each(loop.HeadersByLength, byLength => $@" 1019{{{Each(byLength.OrderBy(h => !h.PrimaryHeader), header => $@" 1028{Each(byLength.OrderBy(h => !h.PrimaryHeader), header => $@" 1048{{{Each(loop.HeadersByLength, byLength => $@" 1050{{{Each(byLength.OrderBy(h => !h.PrimaryHeader), header => $@" 1068{Each(byLength.OrderBy(h => !h.PrimaryHeader), header => $@" 1096{{{Each(loop.HeadersByLength, byLength => $@" 1098{{{Each(byLength.OrderBy(h => !h.PrimaryHeader), header => $@" 1116{Each(byLength.OrderBy(h => !h.PrimaryHeader), header => $@" 1152{Each(loop.Headers.Where(header => header.Identifier != "ContentLength").OrderBy(h => !h.PrimaryHeader), header => $@" 1168{Each(loop.Headers.Where(header => header.Identifier != "ContentLength").OrderBy(h => !h.PrimaryHeader), header => $@" 1187{Each(loop.Headers.Where(header => header.Identifier != "ContentLength"), header => $@" 1240{{{Each(loop.Headers.OrderBy(h => h.Index).Where(h => h.Identifier != "ContentLength"), header => $@" 1304{Each(new string[] { "ushort", "uint", "ulong" }, type => $@" 1384{{{Each(loop.Headers.Where(header => header.Identifier != "ContentLength"), header => @" 1386{Each(loop.Headers.Where(header => header.EnhancedSetter), header => @" 1396{{{Each(loop.Headers.Where(header => header.Identifier != "ContentLength"), header => $@" 1452{{{Each(DefinedHeaderNames, (h) => @" 1465{Each(group, (h) => @$"case KnownHeaderType.{h.Header.Identifier}: 1486{{{Each(values, value => $@"