Swapped Listings 3.5 and 3.6
RENAME
src/Chapter03.Tests/Listing03.05.ImplicitLocalVariablesWithAnonymousTypes.Tests.cs
src/Chapter03.Tests/Listing03.06.ImplicitLocalVariablesWithAnonymousTypes.Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_05.Tests
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_06.Tests
{
[TestClass]

MODIFY
src/Chapter03/Chapter03.csproj
src/Chapter03/Chapter03.csproj
<Import Project="..\Chapter.props" />
<ItemGroup>
<Compile Remove="Listing03.02.DereferencingAnUnassignedVariable.cs" />
- <Compile Remove="Listing03.06.TheCSharpEquivalentOfCompilerGeneratedCILCodeForAValueTupleReturn.cs" />
+ <Compile Remove="Listing03.05.TheCSharpEquivalentOfCompilerGeneratedCILCodeForAValueTupleReturn.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Shared\Program.cs">
<None Include="Listing03.02.DereferencingAnUnassignedVariable.cs">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
- <None Include="Listing03.06.TheCSharpEquivalentOfCompilerGeneratedCILCodeForAValueTupleReturn.cs" />
+ <None Include="Listing03.05.TheCSharpEquivalentOfCompilerGeneratedCILCodeForAValueTupleReturn.cs" />
</ItemGroup>
</Project>

ADD
src/Chapter03/Listing03.05.TheCSharpEquivalentOfCompilerGeneratedCILCodeForAValueTupleReturn.cs
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_05
+{
+ #region INCLUDE
+ [return: System.Runtime.CompilerServices.TupleElementNames(
+ new { "First", "Second" })]
+ public System.ValueTuple<string, string> ParseNames(
+ string fullName)
+ {
+ // ...
+ }
+ #endregion INCLUDE
+}

RENAME
src/Chapter03/Listing03.05.ImplicitLocalVariablesWithAnonymousTypes.cs
src/Chapter03/Listing03.06.ImplicitLocalVariablesWithAnonymousTypes.cs
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_05
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_06
{
#region INCLUDE
public class Program

DELETE
src/Chapter03/Listing03.06.TheCSharpEquivalentOfCompilerGeneratedCILCodeForAValueTupleReturn.cs
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_06
-{
- #region INCLUDE
- [return: System.Runtime.CompilerServices.TupleElementNames(new { "First", "Second" })]
- public System.ValueTuple<string, string> ParseNames(string fullName)
- {
- // ...
- }
- #endregion INCLUDE
-}

Swapped Listings 3.5 and 3.6