Ch. 16 pdf changes 2
MODIFY
src/Chapter16/Listing16.01.SimpleQueryExpression.cs
src/Chapter16/Listing16.01.SimpleQueryExpression.cs
@@ -20,13 +20,13 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16
"in","int","interface","internal","into*","is","join*",
"let*","lock","long", "nameof*", "namespace","new",
"nonnull*","null","object","on*","operator","orderby*",
- "out","override","params","partial*","private","protected",
- "public","readonly","ref","remove*","return","sbyte",
- "sealed","select*","set*","short","sizeof","stackalloc",
- "static","string","struct","switch","this","throw","true",
- "try","typeof","uint","ulong","unchecked","unsafe","ushort",
- "using","value*","var*","virtual","void","volatile"
- ,"when*","where*","while","yield*"
+ "out","override","params","partial*","private",
+ "protected","public","readonly","ref","remove*","return",
+ "sbyte","sealed","select*","set*","short","sizeof",
+ "stackalloc","static","string","struct","switch","this",
+ "throw","true","try","typeof","uint","ulong","unchecked",
+ "unsafe","ushort","using","value*","var*","virtual","void",
+ "volatile","when*","where*","while","yield*"
});
}
#region EXCLUDE

MODIFY
src/Chapter16/Listing16.11.SelectingTupleFollowingTheGroupbyClause.cs
src/Chapter16/Listing16.11.SelectingTupleFollowingTheGroupbyClause.cs
@@ -21,7 +21,8 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_11
group word by word.Contains('*');
IEnumerable<
- (bool IsContextualKeyword, IGrouping<bool, string> Items)> selection =
+ (bool IsContextualKeyword, IGrouping<bool, string> Items)>
+ selection =
from groups in keywordGroups
select
(

MODIFY
src/Chapter16/Listing16.12.SelectingWithoutTheQueryContinuation.cs
src/Chapter16/Listing16.12.SelectingWithoutTheQueryContinuation.cs
@@ -16,7 +16,8 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_12
private static void GroupKeywords1()
{
IEnumerable<
- (bool IsContextualKeyword, IGrouping<bool, string> Items)> selection =
+ (bool IsContextualKeyword, IGrouping<bool, string> Items)>
+ selection =
from word in CSharp.Keywords
#region HIGHLIGHT
group word by word.Contains('*')

Ch. 16 pdf changes 2