UIntPtrGetHashCode.csproj and IntPtrGetHashCode.csproj have build problems
The build error were introduced in https://github.com/dotnet/coreclr/pull/3511/files
intptrgethashcode.cs(117,17): error CS0103: The name 'retVal' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\intptr\IntPtrGetHashCode.csproj] intptrgethashcode.cs(125,24): error CS0103: The name 'retVal' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\intptr\IntPtrGetHashCode.csproj] intptrgethashcode.cs(129,52): error CS0103: The name 'id' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\intptr\IntPtrGetHashCode.csproj] intptrgethashcode.cs(129,140): error CS0103: The name 'i' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\intptr\IntPtrGetHashCode.csproj] intptrgethashcode.cs(130,17): error CS0103: The name 'retVal' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\intptr\IntPtrGetHashCode.csproj] intptrgethashcode.cs(136,13): error CS0103: The name 'retVal' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\intptr\IntPtrGetHashCode.csproj] intptrgethashcode.cs(138,16): error CS0103: The name 'retVal' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\intptr\IntPtrGetHashCode.csproj] uintptrgethashcode.cs(169,48): error CS1503: Argument 1: cannot convert from 'long' to 'uint' [E:\git\coreclr\tests\src\CoreMangLib\cti\system\uintptr\UIntPtrGetHashCode.csproj] uintptrgethashcode.cs(170,48): error CS1503: Argument 1: cannot convert from 'long' to 'uint' [E:\git\coreclr\tests\src\CoreMangLib\cti\system\uintptr\UIntPtrGetHashCode.csproj] uintptrgethashcode.cs(174,17): error CS0103: The name 'retVal' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\uintptr\UIntPtrGetHashCode.csproj] uintptrgethashcode.cs(182,24): error CS0103: The name 'retVal' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\uintptr\UIntPtrGetHashCode.csproj] uintptrgethashcode.cs(186,52): error CS0103: The name 'id' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\uintptr\UIntPtrGetHashCode.csproj] uintptrgethashcode.cs(186,140): error CS0103: The name 'i' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\uintptr\UIntPtrGetHashCode.csproj] uintptrgethashcode.cs(187,17): error CS0103: The name 'retVal' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\uintptr\UIntPtrGetHashCode.csproj] uintptrgethashcode.cs(193,13): error CS0103: The name 'retVal' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\uintptr\UIntPtrGetHashCode.csproj] uintptrgethashcode.cs(195,16): error CS0103: The name 'retVal' does not exist in the current context [E:\git\coreclr\tests\src\CoreMangLib\cti\system\uintptr\UIntPtrGetHashCode.csproj]
@vcsjones can you take a look?
Fixed by https://github.com/dotnet/coreclr/pull/3530/files. Thanks @ramarag for taking care of it!
Actually https://github.com/dotnet/coreclr/pull/3530/ does not fix it completely, it was the first level of error. The above reported ones surfaced after the fix
I'm looking into the rest of the errors.
The test project is marked
@ramarag Thanks for the trick on editing the csproj file, that's quite handy over running a full build. I made a PR in dotnet/coreclr#3538 to correct the build errors.